Skip to content

senolcolak/ultimate-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Ultimate Project System

Beastmode Γ— Spec-Kit Synthesis: The definitive project creation and management system combining disciplined engineering workflow with specification-driven development.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                                                                             β”‚
β”‚   SPECIFY β†’ PLAN β†’ TASKS β†’ IMPLEMENT β†’ VALIDATE β†’ RELEASE                   β”‚
β”‚      β”‚        β”‚       β”‚         β”‚          β”‚         β”‚                      β”‚
β”‚      β–Ό        β–Ό       β–Ό         β–Ό          β–Ό         β–Ό                      β”‚
β”‚   β”Œβ”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”                  β”‚
β”‚   β”‚ Spec β”‚ β”‚ Plan β”‚ β”‚Tasks β”‚ β”‚ Code β”‚  β”‚ Test β”‚  β”‚ Ship β”‚                  β”‚
β”‚   β”‚  .md β”‚ β”‚  .md β”‚ β”‚ .md  β”‚ β”‚      β”‚  β”‚      β”‚  β”‚      β”‚                  β”‚
β”‚   β””β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”˜                  β”‚
β”‚                                                                             β”‚
β”‚   With: Constitution β€’ Knowledge Hierarchy β€’ Swarm Mode β€’ Retro Loop        β”‚
β”‚                                                                             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

🎯 What Is This?

The Ultimate Project System unifies two powerful methodologies:

Beastmode Spec-Kit Ultimate System
Disciplined 5-phase workflow Spec-Driven Development Executable specs with workflow discipline
L0-L3 knowledge hierarchy Feature specifications Persistent specs that compound knowledge
Retro learning loop Constitutional governance Self-improving system with immutable principles
Swarm mode (parallel agents) Research agents Parallel execution with research context
Progressive autonomy gates Phase gates Progressive autonomy with constitutional enforcement

The Result

A system where:

  • βœ… Specifications are executable - they generate implementation
  • βœ… Knowledge persists - across sessions, features, and team members
  • βœ… Architecture is governed - by immutable constitutional principles
  • βœ… Workflow is disciplined - no skipping phases, retro after each
  • βœ… Execution is efficient - parallel swarm mode where safe
  • βœ… Projects self-improve - retro loop captures and promotes learnings

πŸš€ Quick Start

For New Projects

# 1. Clone this repository
# This is a synthesis of two existing projects:
# - Beastmode: https://github.com/BugRoger/beastmode
# - Spec-Kit: https://github.com/github/spec-kit
#
# To use this system, you can either:
# 1. Copy the files directly from this repository
# 2. Create your own synthesis based on the upstream projects
#
# For the original projects, visit:
git clone https://github.com/github/spec-kit.git
# or
git clone https://github.com/BugRoger/beastmode.git
cd ultimate-project

# 2. Run the setup script for your AI agent
./scripts/init.sh --agent kimi --project ../my-new-project

# 3. Follow the guided setup
cd ../my-new-project
# Then tell your AI: /constitution establish

For Existing Projects

# 1. Clone this repository
git clone https://github.com/yourusername/ultimate-project.git
cd ultimate-project

# 2. Run the migration script
./scripts/init.sh --agent kimi --project ../my-existing-project --existing

# 3. Review and commit the changes
cd ../my-existing-project
git add .
git commit -m "chore: Add Ultimate Project System"

Manual Setup

See docs/INSTALLATION.md for detailed manual setup instructions.


πŸ“ Project Structure

ultimate-project/                 # This repository
β”œβ”€β”€ README.md                     # This file
β”œβ”€β”€ docs/                         # Comprehensive documentation
β”‚   β”œβ”€β”€ ARCHITECTURE.md           # System architecture deep dive
β”‚   β”œβ”€β”€ COMMANDS.md               # Command reference
β”‚   β”œβ”€β”€ INSTALLATION.md           # Setup for new/existing projects
β”‚   β”œβ”€β”€ CONSTITUTION.md           # The Nine Articles explained
β”‚   β”œβ”€β”€ SWARM_MODE.md             # Parallel execution guide
β”‚   └── VISUAL_GUIDE.md           # Diagrams and flowcharts
β”œβ”€β”€ templates/                    # Specification templates
β”‚   β”œβ”€β”€ spec-template.md          # Feature specification
β”‚   β”œβ”€β”€ plan-template.md          # Implementation plan
β”‚   └── tasks-template.md         # Task list
β”œβ”€β”€ scripts/                      # Setup and utility scripts
β”‚   β”œβ”€β”€ init.sh                   # Project initialization
β”‚   β”œβ”€β”€ install-kimi.sh           # Kimi-specific setup
β”‚   └── verify.sh                 # Verify installation
β”œβ”€β”€ examples/                     # Example projects
β”‚   β”œβ”€β”€ new-project/              # Greenfield example
β”‚   └── existing-project/         # Brownfield example
└── src/                          # System source (if needed)

When you initialize a project, it gets this structure:

your-project/
β”œβ”€β”€ .beastmode/                   # Beastmode: Knowledge & workflow
β”‚   β”œβ”€β”€ BEASTMODE.md              # L0: System manual
β”‚   β”œβ”€β”€ config.yaml               # Configuration
β”‚   β”œβ”€β”€ context/                  # L1-L2: Published knowledge
β”‚   β”œβ”€β”€ meta/                     # L1-L2: Learnings & SOPs
β”‚   β”œβ”€β”€ state/                    # L3: Checkpoint artifacts
β”‚   └── worktrees/                # Git worktrees
β”œβ”€β”€ memory/                       # Spec-Kit: Project memory
β”‚   β”œβ”€β”€ constitution.md           # The Nine Articles
β”‚   └── guidance.md               # Runtime guidance
β”œβ”€β”€ .beastmode/specs/             # Spec-Kit: Feature specs
β”‚   └── NNN-feature/              # Numbered features
β”‚       β”œβ”€β”€ spec.md
β”‚       β”œβ”€β”€ plan.md
β”‚       β”œβ”€β”€ tasks.md
β”‚       └── ...
└── src/                          # Implementation

πŸŽ“ Core Concepts

The Nine Articles (Constitution)

Immutable architectural principles:

  1. Library-First - Every feature begins as a standalone library
  2. CLI Interface - All libraries expose functionality via CLI
  3. Test-First - TDD mandatory - tests before implementation
  4. Integration Testing - Real dependencies over mocks
  5. Observability - Everything inspectable through text I/O
  6. Versioning - Semantic versioning
  7. Simplicity - ≀3 projects, YAGNI principles
  8. Anti-Abstraction - Use frameworks directly
  9. Integration-First - Contract tests before implementation

Knowledge Hierarchy (L0-L3)

Level Path Content When Loaded
L0 .beastmode/BEASTMODE.md System manual, constitution Autoload every session
L1 .beastmode/context/{PHASE}.md Phase summaries At phase start
L2 .beastmode/context/{phase}/{domain}.md Detail docs On-demand
L3 .beastmode/specs/NNN-*/, .beastmode/state/ Specs, artifacts Checkpoint

The Workflow

specify β†’ plan β†’ tasks β†’ implement β†’ validate β†’ release
   β”‚        β”‚       β”‚         β”‚          β”‚         β”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                         β”‚
                    [RETRO after each]
                         β”‚
                         β–Ό
              Knowledge promotion (L3β†’L2β†’L1β†’L0)

Each phase: prime β†’ execute β†’ validate β†’ checkpoint β†’ retro


🐝 Swarm Mode

Parallel execution using AI agent Task spawning:

# Research multiple topics in parallel
research_tasks = [
    Task(agent="researcher", topic="JWT auth"),
    Task(agent="researcher", topic="Session cookies"),
    Task(agent="researcher", topic="OAuth2")
]
findings = [t.result() for t in research_tasks]

# Execute parallel-safe waves
if wave.parallel_safe and no_file_overlap(tasks):
    agents = [Task(agent="implementer", task=t) for t in tasks]
    results = [a.result() for a in agents]

# Run retro agents simultaneously
context_task = Task(agent="retro-context", ...)
meta_task = Task(agent="retro-meta", ...)
results = [context_task.result(), meta_task.result()]

πŸ“– Documentation

Document Description
docs/ARCHITECTURE.md Deep dive into unified architecture
docs/INSTALLATION.md Setup for new and existing projects
docs/COMMANDS.md Complete command reference
docs/CONSTITUTION.md The Nine Articles explained
docs/SWARM_MODE.md Parallel execution patterns
docs/VISUAL_GUIDE.md Diagrams and flowcharts

πŸ› οΈ Commands

Specification Commands

Command Description
/constitution [principles] Establish project constitution
/specify [description] Create feature specification
/research [topics] Research technical unknowns

Planning Commands

Command Description
/plan [tech-stack] Create implementation plan
/tasks Generate task list

Execution Commands

Command Description
/implement [--parallel] Execute implementation
/validate Run validation
/release Release feature
/status Show project status

🌟 Why This System?

Compared to Traditional Development

Aspect Traditional Ultimate System
Spec to Code Manual translation Executable generation
Knowledge Lost between sessions Persistent L0-L3 hierarchy
Architecture Ad-hoc decisions Constitution-governed
Parallel Work Risky, uncoordinated Safe swarm mode
Learning Individual, lost Captured in retro, promoted
Time to MVP Days Hours

Real-World Example

Building a User Authentication System:

Traditional Approach:
β”œβ”€ Write PRD (4 hours)
β”œβ”€ Technical design (4 hours)
β”œβ”€ Implementation (16 hours)
β”œβ”€ Testing (8 hours)
└─ Total: 4 days

Ultimate System:
β”œβ”€ /specify (5 min)
β”œβ”€ /plan (10 min)
β”œβ”€ /tasks (2 min)
β”œβ”€ /implement --parallel (45 min)
β”œβ”€ /validate (5 min)
└─ Total: 72 minutes

With better quality (constitution-enforced, test-first, documented).


🀝 Supported AI Agents

Agent Support Notes
Kimi Code CLI βœ… Full Native Task tool support
Claude Code βœ… Full Via beastmode-claude bridge
GitHub Copilot βœ… Full Via VS Code extension
Cursor βœ… Full Via cursor rules
Windsurf βœ… Full Via workflows
Generic ⚑ Partial Bring your own adapter

πŸ“¦ Installation

Prerequisites

  • Git 2.30+
  • Python 3.11+ (for utilities)
  • An AI agent (Kimi, Claude, Copilot, etc.)

Quick Install

git clone https://github.com/yourusername/ultimate-project.git
cd ultimate-project
./scripts/init.sh --agent kimi --project ../my-project

See docs/INSTALLATION.md for detailed options.


πŸŽ“ Learning Path

Beginner

  1. Read docs/CONSTITUTION.md - Understand the Nine Articles
  2. Try the examples/new-project/ example
  3. Run through a simple feature end-to-end

Intermediate

  1. Read docs/ARCHITECTURE.md - Understand the synthesis
  2. Customize templates in templates/
  3. Configure gates in .beastmode/config.yaml
  4. Experiment with swarm mode

Advanced

  1. Read docs/SWARM_MODE.md - Master parallel execution
  2. Implement custom retro agents
  3. Extend the constitution for your domain
  4. Contribute back to the project

πŸ“ License

Apache 2.0 - See LICENSE


πŸ™ Credits


πŸ’¬ Support


Version: 1.0.0
Last Updated: 2026-03-08
Status: Production Ready

"The ultimate project creation system: disciplined yet flexible, prescriptive yet learning, structured yet efficient."

About

beastmode + spec-kit , combining the structured engineering with spec driven development for the ultimate project development with AI agents.

Resources

License

Stars

3 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages