Skip to content

Project Structure

A map of every directory and file in the template and what it does.

Top-Level Overview

text
project-root/
├── .agent/                   # 🤖 The Brain — Canonical AI configuration
│   ├── rules/                # 📏 80+ unified AI behavioral rules (SSoT)
│   └── workflows/            # 🛠️ SpecKit workflow definitions

├── .github/                  # 🐙 GitHub integration
│   ├── workflows/            # ⚙️  CI/CD pipelines
│   ├── ISSUE_TEMPLATE/       # 📋 Bug report, feature request templates
│   ├── DISCUSSION_TEMPLATE/  # 💬 Community discussion templates
│   ├── instructions/         # 🧠 GitHub Copilot custom instructions
│   ├── prompts/              # ✍️  GitHub Copilot reusable prompts
│   └── agents/               # 🧩 GitHub Copilot agent definitions

├── .devcontainer/            # 🐳 DevContainer configuration
│   ├── Dockerfile            # Container image definition
│   ├── devcontainer.json     # VS Code DevContainer settings
│   └── docker-compose.yaml  # Multi-service configuration

├── .vscode/                  # 💻 VS Code workspace settings
│   ├── tasks.json            # Make command shortcuts
│   └── launch.json           # Debug configurations (Go, Python, Node, Vue, React)

├── .cursor/                  # AI IDE directories (50+ total)
├── .cline/                   # Each mirrors .agent/rules/ and .agent/workflows/
├── .windsurf/
├── .aide/
├── ... (50+ more)

├── scripts/
│   └── init-project.sh       # 💧 Project hydration / instantiation script

├── docs/                     # 📖 VitePress documentation site (this site)

├── AGENTS.md                 # AI agent entry point (OpenAI Codex / AGENTS-spec)
├── CLAUDE.md                 # Claude Code entry point
├── CONVENTIONS.md            # Human-readable project conventions
├── CHANGELOG.md              # Version history
├── CONTRIBUTING.md           # Contributor guide
├── CODE_OF_CONDUCT.md        # Community standards
├── SECURITY.md               # Security policy and disclosure
├── SUPPORT.md                # Support channels
├── ROADMAP.md                # Future plans
├── LICENSE                   # MIT License

├── Makefile                  # 🔧 Unified task runner
├── .editorconfig             # Editor-agnostic formatting rules
├── .pre-commit-config.yaml   # Pre-commit hook definitions (40+ hooks)
├── commitlint.config.js      # Conventional Commits enforcement
├── eslint.config.mjs         # JavaScript/TypeScript linting
├── .stylelintrc.json         # CSS/SCSS linting
├── .yamllint.yml             # YAML linting
├── ruff.toml                 # Python linting and formatting
└── sweep.yaml                # Automated code maintenance

The .agent/ Directory

This is the heart of the template, the Single Source of Truth for all AI behavior:

.agent/rules/

Contains 80+ Markdown rule files that govern how AI assistants should behave in this project. Structured in two tiers:

Core Rules (apply to all projects):

FileCoverage
01-general.mdLanguage, communication, idempotency, cross-platform
02-coding-style.mdCommit messages, code quality, naming conventions
03-architecture.mdProject structure, AI IDE integration
04-security.mdCredentials, access control, scanning
05-dependencies.mdLocking, auditing, release process
06-ci-testing.mdTest types, CI pipeline, quality gates
07-git.mdCommits, branching, pull requests
08-dev-env.mdDevContainer, scripts, pre-commit hooks
09-ai-interaction.mdSafety, code generation, communication
10-ui-ux.mdFrontend: styling, accessibility, i18n
11-deployment.mdContainerization, secrets, IaC

Language/Framework Rules (loaded dynamically based on project stack): go.md, python.md, typescript.md, react.md, vue.md, docker.md, kubernetes.md, and 70+ more.

.agent/workflows/

Contains SpecKit workflow definitions — step-by-step AI agent instructions for managing the feature development lifecycle.

The AI IDE Directories

Every supported AI IDE has its own directory that contains:

  • rules/ — Redirect/mirror of .agent/rules/
  • commands/ or workflows/ — Shortcuts to .agent/workflows/

This follows each IDE's own naming convention while maintaining a unified source.

Released under the MIT License.