Project Structure — Design skill for Claude Code
Claude Code skill that scaffolds the canonical CLAUDE.md / .claude/loop.md / STATE.md / scripts/verify.sh project layout.
How to install Project Structure
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open haideralsaadi83-design/project-structure and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Project Structure does
Claude Code skill that scaffolds the canonical CLAUDE.md / .claude/loop.md / STATE.md / scripts/verify.sh project layout.
Alternatives in Design
- Site — Crawl a whole site and synthesize ONE canonical design system across all pages — unified tokens, coverage map 3.6k ★
- Scaffold Project — Scaffold a new design-product project that matches the recommended Claude Code layout (the reference structure 781 ★
- Delight — Delight pass — adds one or two memorable micro-interactions (copy specificity, hover choreography, state trans 418 ★
README
project-structure
A Claude Code skill that scaffolds and enforces a canonical Claude Code project layout — a durable "loop-spine" architecture that separates global rules, loop behaviour, named skills, ephemeral state, and mechanical verification into distinct, well-scoped files.
What it does
Claude reads `SKILL.md` and, when a task matches its triggers, scaffolds (or explains) this layout:
project/
├── CLAUDE.md ← Global rules: conventions, anti-patterns, "never touch X"
├── .claude/
│ ├── loop.md ← Overrides the default bare /loop behaviour
│ └── skills/
│ └── daily-triage/
│ └── SKILL.md ← Named skill: loaded when task description matches
├── STATE.md ← Durable loop spine: what ran, what's pending, what needs human
└── scripts/
└── verify.sh ← Mechanical verifier called by the loop
Each file has a distinct job:
| File / Dir | Purpose | Loaded when |
|---|---|---|
CLAUDE.md |
Global conventions, forbidden patterns, repo facts | Every session |
.claude/loop.md |
Custom /loop behaviour & task routing |
/loop is invoked |
.claude/skills//SKILL.md |
Named skill loaded on task-description match | Task matches description |
STATE.md |
Persisted loop spine — completed, pending, blocked | Every loop iteration |
scripts/verify.sh |
Exit-0/1 mechanical verifier called by loop | After every agent action |
`SKILL.md` includes copy-paste templates for all five files plus the scaffolding commands to create them, and points to the bundled reference docs for deeper detail:
- `references/loop-protocol.md` — the
/loopiteration semantics andSTATE.mdlifecycle - `references/skill-frontmatter.md` — the YAML frontmatter spec for named skills
- `assets/structure-diagram.txt` — plain-text version of the layout
Related Skills
Figma Use
Foundational Figma canvas skill — structure, Auto Layout, variables, MCP tools, self-healing loop
Classic UI Design Principles
Agent skill for Claude Code that turns vague UI requests into measurable design rules (WCAG contrast, 8pt grid
Jevaluate
Jevaluate: evaluate before you trust. Field notes, runnable scripts and an agent skill for TypeSafe Jev: gated
Stack Verify
Health check for way-stack install. Verifies vault structure, orchestrator presence, hooks, plugins, and desig
Loop Builder
Claude Code skill: design file-based agent loops (vision/specs/plan/prompts + bash engine) so you verify the o
Mem Install
First-time install wizard for ~/.gowth-mem/. Scaffolds shared + workspace v3 layout (topic-folder + dated aspe
Related Agents
Script Adversary
Fresh-context, refute-framed SAFETY review of operator-facing scripts — health checks, probes, deploy/verify s
Shep Web Route Creator
Scaffolds ONE new Next.js API route under src/presentation/web/app/api/, wires it to an existing use case via
Local Coder
Use for local code generation: implementing a function against a spec or failing test, refactor snippets, boil