scan
Skill4 starsChanged 7 months agoMITView on GitHub
Fingerprint a codebase's design DNA and write dragoon.json. Use when the user wants to set up dragoon in a project, or asks to "scan", "fingerprint", or "analyze" the design system. Always run this first before /critique, /slop, or /review on a project that hasn't been scanned yet. Outputs detected stack, palette, type scale, spacing grid, motion curves, and accessibility metrics. Run as `node ~/.claude/skills/dragoon/skills/scan/scripts/scan.js [root]`.
18 other projects use a version of this.
Adopted by
Most recently taken up by
- cfgaudit/cfgaudittheir own version, first seen Oct 5, 2026
- AsiaOstrich/universal-dev-standardstheir own version, first seen Sep 30, 2026
- buildomator/buildomatortheir own version, first seen Sep 20, 2026
- kiruxich/legitAgenttheir own version, first seen Sep 8, 2026
- fivetaku/tikeytakatheir own version, first seen Aug 23, 2026
- Leostruka/devin-bundletheir own version, first seen Aug 15, 2026
Used with
Projects with it also use verify.
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.
AnthropicSkillverify
Drive the contracts engine's runtime surface (the stdio MCP server) to verify changes end-to-end. Scoped to public-plugins/plugins/healthcare/skills/contracts/ and ../../servers/documents/.
Also in 3 projects that use this
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- andrew-shwetzer/career-ops-plugin-do-not-fork-currently-updating-v2-★ 500same name
- cwinvestments/memstack★ 422same name
- buildomator/buildomator★ 90same name
- AsiaOstrich/universal-dev-standards★ 76same name
- mbwsims/claude-universe★ 72same name
- chopratejas/vitals★ 43same name
- fivetaku/tikeytaka★ 40same name
- thatmike1/claude-skills★ 10same name
- cfgaudit/cfgaudit★ 8same name
- roeibh/morning-briefing-claude-plugin★ 3same name
8 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 repository37 other files it gives its agents.
- useforgekitSkill
- accessibilitySkill
- autoplanSkill
- benchmarkSkill
- briefSkill
- canarySkill
- carefulSkill
- colorSkill
- componentSkill
- critiqueSkill
- diffSkill
- docsSkill
- forgeSkill
- freezeSkill
- handoffSkill
- installSkill
- inventorySkill
- investigateSkill
- landSkill
- mapSkill
- memorySkill
- motionSkill
- perfSkill
- plan-designSkill
- plan-engSkill
- qaSkill
- researchSkill
- retroSkill
- reviewSkill
- second-opinionSkill
- shipSkill
- slopSkill
- spacingSkill
- storybookSkill
- syncSkill
- tailwindSkill
- typographySkill
The file
Files
/scan
Generates dragoon.json, the canonical fingerprint of a codebase's design DNA. Every other dragoon skill reads or writes against this file.
When to use
Run /scan when:
- The user is setting up dragoon in a new project for the first time
- The user asks to "scan", "fingerprint", "audit the design system", "analyze the codebase"
- Another dragoon command (/critique, /slop, /review) needs a manifest and one doesn't exist
- The codebase has changed significantly and the existing manifest is stale
What it produces
A dragoon.json file at the project root with:
- stack: framework (react/next/vue/svelte/etc), styling layer (tailwind/css/styled-components/etc), language, package manager
- tokens.color: top distinct colors with usage counts and inferred roles
- tokens.spacing: distinct spacing values, inferred grid (4/6/8/12/16px), confidence score
- tokens.type: font families, font sizes, inferred scale ratio (golden, perfect-fourth, etc), confidence
- tokens.radius / shadow / motion / breakpoints: top values with counts
- metrics: file counts, component count estimate, accessibility signals (alt rate, button label rate, semantic tag use)
- rules: derived defaults (grid size, type ratio, max variants per token, allowed colors). Edit by hand if needed.
Run it
node ~/.claude/skills/dragoon/skills/scan/scripts/scan.js [root]Flags:
--out <path>write to a custom path--jsonprint manifest to stdout--dry-runcompute but don't write--quietno terminal output beyond errors--helpfull usage
Notes
- Pure regex scanning. No AST parser dependency. No network calls.
- Skips node_modules, dist, build, .git automatically (gitignore-aware).
- Caps at 5,000 files per scan and 2MB per file. Larger codebases get a representative sample.
- Re-run /scan after major design changes to keep rules current.
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.

