project-structure
3
总安装量
3
周安装量
#57537
全站排名
安装命令
npx skills add https://github.com/martinffx/claude-code-atelier --skill project-structure
Agent 安装分布
gemini-cli
2
command-code
2
kilo
2
zencoder
2
crush
2
Skill 文档
Project Structure
Directory layout implementing the AgentOS 3-layer context model.
3-Layer Directory Structure
project/
âââ docs/
â âââ standards/ # Layer 1: How you build
â âââ product/ # Layer 2: What and why
â âââ spec/ # Layer 3: What to build next
âââ .beads/ # Beads task tracking
âââ CLAUDE.md # Project overview
AgentOS 3-Layer Model:
- Layer 1 (standards/): Technical patterns, coding principles, architecture decisions
- Layer 2 (product/): Product vision, roadmap, business context
- Layer 3 (spec/): Feature specs and change proposals
Layer 1: Standards (docs/standards/)
Technical standards adapted for the project’s technology stack:
- coding.md – TDD patterns (Stub â Test â Implement â Refactor), coding principles
- architecture.md – Layered architecture (Router â Service â Repository â Entity â Database)
Layer 2: Product (docs/product/)
Product-level documentation:
- product.md – Product definition, target users, core features, success metrics
- roadmap.md – Next 3 features in priority order, implementation strategy, current status
Layer 3: Specs (docs/spec/)
Greenfield Features (New Code)
docs/spec/<feature>/
âââ spec.md # Unified requirements + technical design
spec.md contains:
- Requirements (user stories, acceptance criteria, business rules)
- Technical Design (data models, API design, component structure)
Brownfield Changes (Existing Code)
docs/changes/<feature>/<change>/
âââ proposal.md # Change proposal
âââ delta.md # ADDED/MODIFIED/REMOVED changes
âââ tasks.md # Implementation tasks
Workflow:
/spec:proposecreates proposal.md and delta.md/spec:workexecutes implementation/spec:completemerges delta into spec.md, deletes change folder
Beads Task Tracking
.beads/
âââ beads.jsonl # Git-tracked task data
âââ beads.db # Local cache (gitignored)
âââ bd.sock # Socket (gitignored)
.gitignore entries:
.beads/beads.db
.beads/bd.sock
Beads provides dependency-aware task management. Commands like /spec:create and /spec:propose automatically create epics with tasks ordered by technical dependencies (Entity â Repository â Service â Router).