agentleFS
T4LELT4LEL/Claude-Arsenal/skills/harden/SKILL.md

harden

Skill1 starsChanged 4 months agoMITView on GitHub

Use when doing a security pass on a product - before real users, payments, or sensitive data - or when the user says security check, is this secure, audit, lock it down.

46 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use layout, shape and 7 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.
  • owshq-mecSkill

    layout

    Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy. Use when the user mentions layout feeling off, spacing issues, visual hierarchy, crowded UI, alignment problems, or wanting better composition.

    Also in 5 projects that use this

  • HAR5HA-7663Skill

    shape

    Plan the UX and UI for a feature before writing code. Runs a structured discovery interview, then produces a design brief that guides implementation. Use during the planning phase to establish design direction, constraints, and strategy before any code is written.

    Also in 8 projects that use this

  • AnthropicSkill

    start

    Set up your bio-research environment and explore available tools. Use when first getting oriented with the plugin, checking which literature, drug-discovery, or visualization MCP servers are connected, or surveying available analysis skills before starting a new project.

    Also in 3 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 4 projects that use this

  • CloudflareSkill

    security-audit

    Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.

    Also in 3 projects that use this

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 44 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
  1. Very specific:

    Findings by severity: every Critical/High/Medium/Low finding with its exploit scenario.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 44 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Harden

A defensive security pass, deeper than the /ship-it deploy gate. Run before real users, payments, or sensitive data.

Copy this checklist and check off items as you complete them:

Harden Progress:
- [ ] Step 1: Audit
- [ ] Step 2: Triage
- [ ] Step 3: Fix
- [ ] Step 4: Verify (mandatory)
- [ ] Step 5: Record
- [ ] Report

Step 1 — Audit

Delegate to the security-auditor agent with a full pass over: auth flows, RLS/access control, input validation, secret handling, security headers, rate limiting, dependency audit. On Supabase, also run the supabase MCP get_advisors tool and fold its output into the same findings list. If any current-library security guidance is needed (auth library config, header middleware, CSP syntax), fetch it via the context7 MCP tools rather than relying on memory. Secrets encountered during the audit stay in env vars and are never printed into chat, code, logs, or commits.

Step 2 — Triage

Every finding gets a severity — Critical / High / Medium / Low — and a concrete exploit scenario: who, what request, what they get. A finding without an exploit scenario is not triaged yet; send it back to the security-auditor agent for specifics rather than guessing at a severity. Any severity or count you can't verify from real output is an unverified assumption — label it, don't state it as fact.

Step 3 — Fix

Criticals and Highs get fixed now. Route each to the right builder agent as one bounded task per fix: schema/RLS/policy issues to the db-designer agent, application-level issues (auth checks, input validation, headers, rate limiting) to the backend-builder agent, and dependency vulnerabilities to the backend-builder agent for patch/minor bumps or the refactor-engineer agent when the fix requires a major upgrade. Don't batch unrelated fixes into one task — each fix needs its own verification in Step 4. Never commit, push, deploy, or publish fixes without the user's explicit ask.

Step 4 — Verify (mandatory)

Re-audit the changed surface, then attempt the original exploit for real where safe — for example, an unauthenticated request against RLS-protected data must now fail; a bypassed rate limit must now trip. Paste the real output (request, response, status code). A fix without a repeated-exploit-attempt is not verified — report it as unverified rather than claiming it's fixed.

Step 5 — Record

Any Medium or Low deliberately left unfixed is an accepted risk, not a forgotten one: write down what it is, why it's acceptable for now, and the concrete trigger that means revisit it (a launch milestone, a user count, a new data type touching that surface).

Report

  • Findings by severity: every Critical/High/Medium/Low finding with its exploit scenario.
  • Fixed & verified: what changed, which agent did it, and the real re-exploit-attempt evidence.
  • Accepted risks: Medium/Low items deliberately deferred, with reason.
  • Next audit trigger: the concrete event that should bring this skill back (new payment flow, new PII field, next real-user milestone).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.