/dev-harness:dicht-loop <hoe de app lokaal draait en de belangrijkste flows>from dev-harness
Security-gaten dichten in bestaande code zonder dat normaal gedrag verandert, door bestaande harness-skills op volgorde te draaien: e2e legt het huidige gedrag vast, speur-loop vindt en bewijst de kwetsbaarheden, fix-loop dicht ze een voor een met een aanvalstest, find-bugs keurt de diff. Fixes die gewone gebruikers merken (CSRF-tokens, escaping, wachtwoord-hashing, sessie-cookies, autorisatie) gaan naar een beslislijst, nooit automatisch. Gebruik bij "haal de kwetsbaarheden eruit", "maak deze legacy-code veilig", "security fixen zonder functionaliteit te veranderen", "/dicht-loop", of na een versie-migratie. Alleen vinden: speur-loop. Alleen een branch-diff reviewen: find-bugs.
Ships in dev-harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Jij bent de orchestrator. Deze skill voegt geen eigen methode toe: hij rijgt bestaande skills aan elkaar en bewaakt één regel. Doel: $ARGUMENTS
Bestaat .loops/dicht/state.md met Status: IN_PROGRESS? Lees hem en hervat bij de eerste onafgemaakte stap. Baseline en speurtocht niet opnieuw draaien. Anders: verse run, stap 1.
Een security-fix verandert altijd iets: een aanval moet daarna mislukken. Daarom twee toetsen, allebei machinaal:
Een fix die de baseline rood maakt, is geen fix maar een beslissing voor een mens.
Baseline met e2e. Leg het huidige gedrag van de belangrijkste flows vast in tests met exacte expects, op testdata, nooit productiedata. Geen web-app: characterization-tests in het testframework van het project. Draai ze: ze moeten nu groen zijn. Leg het commando vast als baseline-commando. Geen groene baseline: stop en meld het.
Vinden met speur-loop. Lenzen: injection, auth en sessies, secrets, input-validatie. Staat er een taint-scanner in het project (Psalm voor PHP, Semgrep), laat een finder die draaien. Alleen vinden en bewijzen; elke bevestigde vondst heeft een pad van invoer naar sink.
Sorteren. Per bevestigde vondst een klasse:
escapeshellarg, pad-checks bij includes en downloads, unserialize met allowed_classes => false.Twijfel tussen A en B is B. B en C fix je niet.
Fixen met fix-loop, per A-vondst een run. Laat eerst een test schrijven die de aanval uitvoert en eist dat hij geblokkeerd wordt; die is nu rood. Doelcommand van fix-loop: die aanvalstest plus het baseline-commando. Wordt de baseline rood en lukt groen niet zonder hem te veranderen: wijziging terugdraaien, vondst naar B met de diff als bewijs.
Eindcheck. Draai zelf het baseline-commando en alle aanvalstests. Daarna find-bugs op de totale diff; een nieuwe vondst gaat terug naar stap 3. Stel met commit-discipline een commit per vondst voor; niet zelf committen.
Status: IN_PROGRESS
Doel: <...>
Stap: <1-5>
Baseline-commando: <...>
## Vondsten
- [sev][A|B|C] <wat> @ <file:line> | aanvalstest: <pad of -> | status: open|gefixt|naar-B|weerlegd
Zet Status: DONE bij de afronding.
Sluit af met VERIFIED: en het baseline-commando plus de aanvalstests die jij zelf draaide, met hun uitkomst.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub robinbril/claude-code-harness --plugin dev-harness51 skills in this plugin
/animateBuild an animation from scratch, making the decisions in the order that determines whether it feels right — should it animate at all, what purpose, which tool, which properties, which curve and duration, how it interrupts, how it exits. Writes the implementation. Use when asked to animate something, add motion, make a component feel alive, or build a transition. For critiquing existing motion use review-animations; for auditing a whole codebase use improve-animations./animate-expoBuild animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and expo-haptics. Use when animating anything in an Expo app, adding gestures, sheets, screen transitions, press feedback or haptics, or fixing motion that stutters on device. For web animation use `animate`./animation-vocabularyReverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" → Rubber-banding). Use when the user asks "what's it called when…", or describes a motion effect without knowing its name and wants the right word to prompt an AI or designer with. For naming an effect, not designing or building one.