scan
/scan
Odczytuje design DNA bazy kodu i zapisuje dragoon.json: stack, paletę, skalę typografii, siatkę odstępów, krzywe animacji i metryki dostępności; uruchamiany przed critique, slop i review.
- Autor
- Dragoon0x ↗
- Repozytorium
- dragoon-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 01.05.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 01.05.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/scan.js
Co robi i kiedy
Odczytuje design DNA bazy kodu i zapisuje dragoon.json: stack, paletę, skalę typografii, siatkę odstępów, krzywe animacji i metryki dostępności; uruchamiany przed critique, slop i review.
Wyzwalacze z opisu
Oryginalny opis (EN)
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]`.
Jak działa
- When to use
- What it produces
- Run it
- Notes
Podgląd SKILL.md
--- name: scan description: 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]`. version: 1.0.0 --- # /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 - `--json` print manifest to stdout - `--dry-run` compute but don't write - `--quiet` no terminal output beyond errors - `--help` full 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.
Pliki w paczce (2)
- SKILL.md 2 KB
- scripts/scan.js 4 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · Dragoon0x/dragoon-skills | 100 | MIT |
| tony/skills | 100 | MIT |
| zealynxsecurity/krait | 100 | MIT |
| koda-ai-studio/agent-bom | 100 | Apache-2.0 |
| cwinvestments/memstack | 100 | MIT |
| x-cmd/x-cmd | 100 | Apache-2.0 |
| duc01226/EasyPlatform | 100 | MIT |
| duc01226/EasyPlatform | 100 | MIT |
| wshobson/agents | 100 | MIT |
Migawka bazy z 28.10.2026 · wersja paczki 37cdd595b964 (skrót SHA-256 całej paczki)
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100critique
Ocenia jakość projektu kodu w skali 0-100 w sześciu kategoriach (typografia, kolor, odstępy, ruch, dostępność, spójność) z metryk w dragoon.json, bez LLM i z przejrzystym rachunkiem. - 100component
Generuje szkielet komponentu UI w rzeczywistym stylu bazy kodu: czyta dragoon.json, by dopasować framework, warstwę stylów, język i tokeny projektowe, domyślnie jako podgląd bez zapisu, a z --apply zapisuje pliki. - 90grid-layout
Projektuje system układu: skalę odstępów, kolumny siatki i prymitywy layoutu, przy pytaniach o system spacingu lub siatkę. - 95wicked-garden-product-visual-review
Audytuje spójność wizualną: zgodność z systemem projektowym, tokeny odstępów, skalę typografii, paletę i responsywność. - 95hallmark
Działa w czterech trybach: buduje strony, ocenia interfejs wg 57 bramek, przebudowuje z nowym charakterem przy zachowaniu treści oraz wyciąga DNA projektu do pliku design.md. - 95reimagine-it-lock
Przechwytuje DNA projektu z gotowego pliku HTML: paletę, krój pisma, motywy, ruch i sygnatury 3D, i zapisuje je jako paczkę referencyjną do wielokrotnego użytku.