One-line description of what this project does.
Brief paragraph explaining the project's purpose, who it's for, and what problem it solves.
- Git
- Claude Code (recommended for AI-assisted development)
- Your language runtime (Node.js, Python, Ruby, Go, Rust, Java, etc.)
# Using Homebrew (macOS/Linux)
brew install claude-code
# Or using npm (if Node.js is available)
npm install -g @anthropic-ai/claude-code# Clone the repository
git clone https://github.com/username/sample-02.git
cd sample-02
# Start Claude Code
claudeOn first run, Claude will read CLAUDE.md and the workflow docs automatically.
After cloning, complete the setup tasks in docs/how-to-work/roadmap.md:
- Define your tech stack in
docs/how-to-work/stack.md - Document your architecture in
docs/how-to-work/architecture.md - Set up your local environment (see Local Development)
- Configure your deployment pipeline (see Deployment)
This template is language and framework agnostic. It works with any stack:
- Languages: TypeScript, JavaScript, Python, Ruby, Go, Rust, Java, C#, etc.
- Frameworks: React, Rails, Django, Spring, Gin, Actix, Express, etc.
- Platforms: Web, API, CLI, mobile, desktop, embedded
The workflow documentation (docs/how-to-work/) defines how you work, not what you build with. Code examples in templates are placeholders—replace them with your stack's equivalents.
Document how to run the project locally.
# Install dependencies
# [Add your command here]
# Run the development server
# [Add your command here]
# The app will be available at http://localhost:[PORT]See docs/local-development.md for detailed setup instructions.
Document how to run the test suite.
# Run all tests
# [Add your command here]
# Run tests in watch mode
# [Add your command here]
# Run tests with coverage
# [Add your command here]See docs/testing.md for testing conventions and guidelines.
Document how to deploy to production.
| Environment | URL | Branch |
|---|---|---|
| Production | https://... | main |
| Staging | https://... | develop |
# [Add your deployment commands here]See docs/deployment.md for detailed deployment instructions.
| Document | Description |
|---|---|
| Use Cases | How product features are defined |
| Use Case Validation | Quality checklist for use cases |
| Architecture Diagrams | Mermaid diagrams guide and examples |
| Decisions Log | Quick decisions (non-ADR) |
| Local Development | How to set up and run locally |
| Testing | Testing strategy and commands |
| Deployment | Deployment process and environments |
| Add more as needed |
This project uses a documentation-driven workflow in /docs/how-to-work. These docs define how humans and AI agents collaborate to build software, following Agile principles.
Before contributing, read:
- agent.md — The workflow philosophy and process
- stack.md — Technology choices
- architecture.md — System design
- conventions.md — Coding standards
Start every session by reading the docs in this order:
docs/how-to-work/agent.md → docs/product/use-cases/README.md → stack.md → architecture.md → conventions.md → roadmap.md
Important: When implementing features:
- Always read the use case(s) referenced in roadmap tasks
- Validate the use case using the checklist in
docs/product/use-cases/VALIDATION.md - Use cases are the source of truth for what features should do
| Document | Type | Purpose |
|---|---|---|
architecture.md |
State | Current system design |
stack.md |
State | Current tech choices |
conventions.md |
State | Coding standards |
roadmap.md |
State | Tasks and priorities |
glossary.md |
State | Domain terminology |
decisions.md |
Incremental | Architectural decisions (append-only) |
changelog.md |
Incremental | Release history (append-only) |
retrospectives.md |
Incremental | Lessons learned (append-only) |
State docs reflect current truth—update them to stay accurate.
Incremental docs are append-only—never modify past entries.
- Check
docs/how-to-work/roadmap.mdfor available tasks - Read the use case(s) referenced in the task—they define what the feature should do
- Create a branch:
feature/issue-{number}-{description} - Make small, atomic commits (each must pass tests)
- Submit a PR solving exactly one issue
- Wait for review before merging
See CONTRIBUTING.md for detailed guidelines for humans and AI assistants.
sample-02/
├── docs/
│ ├── architecture/
│ │ └── diagrams/ # Mermaid diagrams (see README inside)
│ ├── how-to-work/ # Workflow documentation
│ │ ├── agent.md # AI collaboration guide
│ │ ├── architecture.md # System design
│ │ ├── changelog.md # Release history
│ │ ├── conventions.md # Coding standards
│ │ ├── decisions.md # Architectural Decision Records (ADRs)
│ │ ├── glossary.md # Domain terms and definitions
│ │ ├── rationale.md # Rationale for the project
│ │ ├── retrospectives.md # Post-milestone reflections
│ │ ├── roadmap.md # Tasks & priorities
│ │ └── stack.md # Tech choices
│ ├── product/ # Product documentation
│ │ └── use-cases/ # Use case definitions
│ ├── project/
│ │ └── decisions-log.md # Quick decisions (non-ADR)
│ ├── local-development.md # How to set up and run locally
│ ├── testing.md # Testing strategy and commands
│ └── deployment.md # Deployment process and environments
├── src/ # Source code (structure depends on stack)
├── tests/ # Test files
├── AGENTS.md # AI agent instructions
├── CLAUDE.md # Redirects to AGENTS.md
├── CONTRIBUTING.md # Contribution guidelines
├── LICENSE # License for the project
└── README.md # This file
[Choose a license] - See LICENSE for details.
- Credit contributors, libraries, or inspirations