harden
Skill16 starsChanged 7 months agoMITView on GitHub
Harden code where untrusted input enters the system. Use when implementing auth, handling user input, storing sensitive data, integrating external APIs, adding file uploads, or crossing any trust boundary. Don't use for secret scanning (/safe-repo) or dependency CVEs (/deps-audit).
24 other projects use a version of this.
Adopted by
Most recently taken up by
- gwonvibe/gwonvibe-agent-skillstheir own version, first seen Oct 3, 2026
- saleh-alhaddad/itqan-engineeringtheir own version, first seen Sep 29, 2026
- gonimar/claude-web-studiotheir own version, first seen Sep 27, 2026
- udaysharmadev/Skillstheir own version, first seen Sep 17, 2026
- excatt/superclaude-plusplustheir own version, first seen Sep 7, 2026
- AkaraChen/aghubtheir own version, first seen Aug 30, 2026
Used with
Projects with it also use arrange, teach-impeccable and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
nikafastovets-langSkillarrange
Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy to create intentional compositions.
Also in 6 projects that use this
mtctSkillteach-impeccable
One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.
Also in 10 projects that use this
mtctSkillquieter
Tone down overly bold or visually aggressive designs. Reduces intensity while maintaining design quality and impact.
Also in 14 projects that use this
nikafastovets-langSkilloverdrive
Push interfaces past conventional limits with technically ambitious implementations. Whether that's a shader, a 60fps virtual table, spring physics on a dialog, or scroll-driven reveals — make users ask "how did they do that?
Also in 9 projects that use this
zwy123zwySkillnormalize
将用户随意输入的提示词规范化为结构清晰、便于大模型执行的标准化提示词。适用于需要整理、统一提示词格式时调用。
Also in 10 projects that use this
jovijoviSkillextract
Extract content from specific URLs using Tavily's extraction API. Returns clean markdown/text from web pages. Use when you have specific URLs and need their content without writing code.
Also in 11 projects that use this
- +5 more from mtct
- +1 more from nikafastovets-lang
Other versions24 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 24
- educlopez/ui-craft★ 367same name
- AkaraChen/aghub★ 271same name
- rwliebs/Dossier★ 89same name
- StyleSwift/StyleSwift★ 62same name
- FavioVazquez/learnship★ 61same name
- heyhank-app/heyhank★ 34same name
- iankiku/forwward-teams★ 18same name
- wpgaurav/WordPress-skills★ 17same name
- excatt/superclaude-plusplus★ 14same name
- saleh-alhaddad/itqan-engineering★ 10same name
14 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- a11y-auditSkill
- architecture-auditSkill
- buildSkill
- codebase-designSkill
- code-reviewSkill
- commitSkill
- create-adrSkill
- create-pull-requestSkill
- create-skillSkill
- deps-auditSkill
- diagnoseSkill
- domain-modelingSkill
- e2eSkill
- explain-codeSkill
- fortifySkill
- frontend-ui-engineeringSkill
- grill-meSkill
- handoffSkill
- i18nSkill
- perf-auditSkill
- planSkill
- prose-fixSkill
- prototypeSkill
- researchSkill
- reviewSkill
- reviseSkill
- safe-repoSkill
- shipSkill
- source-drivenSkill
- specSkill
- tddSkill
- teachSkill
- testSkill
- triage-reviewSkill
- validate-codeSkill
- visual-reviewSkill
- visual-validateSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 22 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 42
After security-relevant code: deps-audit shows no critical/high CVEs (or each documented with review date).
“Common” is measured: kept by at least 6 in 10 of the 22 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Harden
Security as a constraint on every line that touches user data, auth, or external systems. Proactive: applied during implementation, not after. Reactive scans belong to safe-repo (sensitive data) and deps-audit (CVEs).
Ask first — human approval required
- New authentication flow or auth logic changes
- Storing new categories of sensitive data (PII, payment)
- New external service integrations
- CORS configuration changes
- File upload handlers
- Rate-limit / throttling changes
- Granting elevated permissions or roles
Validate at the boundary
Validate at the system boundary (route handler, message consumer), not in business logic: a schema validator (Zod, Joi, pydantic, …) defines the contract; reject with 422 + structured error before business logic touches the data. Trust internal code; validate only at the edges.
Defaults that are easy to forget
- Authorization per resource (ownership), not just authentication
- Session cookies
httpOnly+secure+sameSite; auth tokens never inlocalStorage - Strip sensitive fields from API responses by default
- Security headers (CSP, HSTS, X-Frame-Options, X-Content-Type-Options)
- Rate limit on auth endpoints
- Logs and error responses free of secrets, tokens, PII, stack traces
- File uploads: allowlist MIME types, enforce max size before processing, check magic bytes when the type matters, store outside the webroot
- Outbound requests: allowlist destinations; never fetch a user-provided URL unvalidated (SSRF)
- CORS: explicit origin allowlist from config; no wildcard on authenticated endpoints
- External integrations: verify webhook signatures, time out every external call, validate third-party response shapes before use; never deserialize untrusted input with unsafe loaders
- Log security events (auth failures, access denials, input rejections) — without the payloads
- Raw HTML from users only through a sanitizer (DOMPurify or equivalent)
Verification
After security-relevant code: deps-audit shows no critical/high CVEs (or each documented with review date); safe-repo --diff clean; headers present (curl -I); authz checked on every protected endpoint.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

