Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

bigpowers — Best-in-Class Agentic Skills

License: MIT npm version Skills

Agent skills synthesizing 17 years of software engineering discipline — from Clean Code to AI-native architecture — into a single, prescriptive methodology for solo developers.

bigpowers provides a prescriptive, vertical-slice methodology for building software with AI agents (Claude Code, Gemini CLI, Cursor, pi). It bridges the gap between raw LLM capabilities and professional engineering standards.

It is not a random collection of best practices. It is a chronological layer cake of ideas — each wave of thinking (Uncle Bob → Ousterhout → Karpathy → Wasowski → Akita) builds on and resolves tensions from the last, culminating in a 6-phase lifecycle with hard gates, a 94% quality threshold, and a YAML cockpit (specs/state.yaml) that keeps both human and agent aligned across sessions.

Published on npm: bigpowers. The skill count in the badge above is stamped automatically by sync-skills.sh; the canonical catalog is SKILL-INDEX.md.

Docs: bigpowers docs site — searchable, Google-discoverable reference for all skills, guides, and ADRs.

This methodology publishes its own evidence — see the live receipts page.

See it working: bigpowers-showcase — a real URL shortener (CLI + SQLite) built from scratch with the full spec trail committed from day one.


🗺 How to Read This README

This README is a guided path, not a wall of reference. Start where you are:

You want to…Go to
Try it in 30 secondsQuick Start
Understand what it actually doesFeatures and The v2.0.0 Lifecycle
Learn the ideas behind itPhilosophical Stack
Look something upHierarchy of Truth and Project Structure
Wire it into pi or MCPpi Support and MCP Server
Contribute or hack on itDevelopment and Contributing

After installing, ask your agent to run the using-bigpowers skill — it is the one-time bootstrap that explains the lifecycle and tells you which skill to call first for your situation.


🚀 Quick Start

npm (recommended)

# Global install (no lifecycle scripts — npm v10+ safe)
npm install -g bigpowers@latest
bigpowers setup     # runs sync + install, links skills to your tools

# Or one-shot with npx (always fetches the newest release)
npx bigpowers@latest setup

Both commands sync skill artifacts and link them to Claude Code, Gemini CLI, and Cursor (see Prerequisites).

Always pin @latest. With bigpowers already installed globally, a bare npx bigpowers setup reuses the stale global binary and npm update -g bigpowers doesn't reliably cross to the newest release. npm install -g bigpowers@latest and npx bigpowers@latest setup force a registry fetch every time.

Interactive Installer

The npx bigpowers setup command launches an interactive menu where you can:

  1. Choose install mode: Setup/Update or Uninstall
  2. Select location: Global (available everywhere) or Local (current project only)
  3. Pick tools: Select which AI tools to install skills for (Claude Code, Cursor, Gemini, pi, etc.)
  4. Confirm: Review and confirm the installation

Use arrow keys to navigate, space to select, and Enter to confirm.

Interactive Installer

From source (contributors)

git clone https://github.com/danielvm-git/bigpowers.git && cd bigpowers
npm install
bash scripts/install.sh

🛠 Prerequisites

  • Bash: Required for all scripts.
  • Node.js: v14+ (required for npm/npx).
  • jq: (Highly Recommended) Used for robust configuration of tool settings.
  • AI Tools: One or more of:

✨ Features

  • Purpose-Built Skills: From survey-context to develop-tdd, each skill is a targeted tool for a specific phase of development. See SKILL-INDEX.md for the full auto-generated catalog.
  • Spec-Driven Cockpit: Uses specs/state.yaml and release-plan.yaml to maintain state across agent sessions, preventing context drift.
  • Native IDE Support: Automatically generates configurations for Cursor (.cursor/rules), Gemini CLI, and pi.
  • Model Context Protocol (MCP): Dynamic tool discovery and invocation via the included MCP server.
  • Built-in Quality Gates: Strict verification standards (e.g., F.I.R.S.T tests, BCP accounting) enforced before any code is merged.

🏗 The v2.0.0 Lifecycle

Every project follows the orchestrate-project 6-phase model (full SOP: docs/WORKFLOW-SOP-v2.md):

ONE TIME    seed-conventions  (CLAUDE.md, .claude/, .gemini/, agents/, skill sync)
              ↓
ONCE/PROJECT orchestrate-project
              │
              ├─ Ph1 DISCOVER   survey-context, research-first, elaborate-spec
              ├─ Ph2 ELABORATE  model-domain, grill-me, define-language, deepen-architecture
              ├─ Ph3 PLAN       scope-work, slice-tasks, plan-work → release-plan.yaml (BCP baseline)
              ├─ Ph4 BUILD      build-epic × N stories
              │
              │  Per story — 8-step build-epic cycle:
              │   1. survey-context   ← stamps story_start in state.yaml
              │   2. plan-work        ← [BCP N] tasks + verify: commands
              │   3. kickoff-branch   ← worktree + feature branch
              │   4. develop-tdd      ← RED → GREEN → REFACTOR
              │   5. verify-work      ← UAT gate
              │   6. audit-code       ← quality gate ≥ 94%
              │   7. commit-message   ← Conventional Commits + semver
              │   8. release-branch   ← land to main; writes story_end + cycle-times.yaml
              │
              ├─ Ph5 VERIFY     run-evals, verify-work (project-level)
              └─ Ph6 RELEASE    semantic-release → v1.0.0 MVP tag

Semver: projects start at 0.0.0-β; each feat: story → minor bump; developer declares MVP → 1.0.0.

BCP accounting: every task labeled [BCP N]; story total in state.yaml; BCP/hr logged to specs/metrics/cycle-times.yaml.

next_skill signaling: each critical-path skill writes handoff.next_skill to state.yaml. Call survey-context after any interruption to resume exactly where you left off.


🧠 Philosophical Stack — How These Ideas Concatenate

bigpowers is not a flat list of influences. It is a chronological layer cake — each wave of thinking builds on and resolves tensions from the previous one. No layer replaces the last; each addresses a problem the prior one created.

Philosophy Diagram

EraSourceContributionTension Resolved
2008Uncle Bob (Clean Code)SRP, Boy Scout Rule, F.I.R.S.T. tests, intention-revealing names— (foundation)
2018Ousterhout (A Philosophy of Software Design)Deep modules, information hiding, define errors out of existenceSmall functions alone create shallow modules with bloated interfaces
2023–24Karpathy, Superpowers, PocockThink-first planning, verb-noun skill architecture, zoom-out strategyRaw LLMs have no discipline — they need orchestration, not raw prompting
2024Wasowski (SDD), BCPSpecs as the human-agent interface; business complexity as a pre-build sizing unitAgents drift without a verifiable spec — BDD Gherkin closes the loop
2026Akita (Clean Code for AI Agents)Grep-ability, structured JSON logging, token economy, remediation hints in errorsUncle Bob's rules were written for humans — agents need different code hygiene
SynthesisBMAD + GSD (self-authored)6-phase lifecycle, hard gates, 94% quality threshold, specs/state.yaml cockpitAll the above are principles; bigpowers turns them into an executable discipline

How to see the concatenation in action

Each philosophical pillar has a corresponding Gherkin .feature file in specs/verifications/features/ that empirically proves compliance:

PillarVerification
Classical Craftsmanshipcleancode.feature
Complexity Managementpocock.feature
Behavioral Integritykarpathy.feature
Spec-Driven DevelopmentImplicit in SDD workflow
Agentic Standardakita.feature
Project Conventionsconventions.feature
Original Baselinesuperpowers.feature

Run npm run compliance to audit all features. Score < 94% = hard stop.


📖 Hierarchy of Truth

LevelDocumentResponsibility
Visiondocs/PRINCIPLES.mdPhilosophical foundations and evolution.
Contextspecs/tech-architecture/TECH_STACK_LATEST.mdTech stack, architecture, and domain notes.
Scopespecs/product/SCOPE_LATEST.yamlIn-scope / out-of-scope and success criteria.
Visionspecs/product/VISION_LATEST.yamlNorth star and initiative success criteria.
Decisionsspecs/adr/Architectural Decision Records (irreversible choices).
Roadmapspecs/release-plan.yaml + specs/epics/WSJF-prioritized epics and stories with BCP baseline.
Currentspecs/state.yamlSession flow, active epic, handoff.next_skill, timestamps.
Metricsspecs/metrics/cycle-times.yamlPer-story BCPs, cycle minutes, BCP/hr (v2.0.0).
IndexSKILL-INDEX.mdCanonical list of all active skills (auto-generated).
StyleCONVENTIONS.mdCoding, testing, and naming standards.

📁 Project Structure

  • skills/[skill-name]/: Source files for each of the 80 skills.
  • scripts/: Installation, syncing, and compliance tools.
  • specs/: YAML cockpit — state.yaml, release-plan.yaml, epics/, execution-status.yaml, requirements/.
  • specs/metrics/: Cycle-time ledger (cycle-times.yaml) — per-story BCPs, timestamps, BCP/hr (v2.0.0).
  • dashboard/: Live monitoring tool — TUI (npm run dashboard) and web (npm run dashboard:web, port 7742).
  • docs/: Guides including WORKFLOW-SOP-v2.md (full SDLC SOP) and using-bigpowers.md.
  • docs/references/: Theoretical foundations (Uncle Bob, Ousterhout, Karpathy, etc.).

🔌 pi Support

bigpowers generates pi Agent Skills and prompt templates alongside Cursor and Gemini artifacts via sync-skills.sh.

Install as a pi package

# Clone and sync to generate pi artifacts
cd bigpowers
bash scripts/sync-skills.sh

# Install from local path as a pi package
pi install .

# Or install as a pi npm package (once published with pi-package keyword)
pi install npm:bigpowers

Provision a consumer project (bigpowers init)

pi's package contract registers skills and prompts only — it has no resource type for arbitrary project files, and no lifecycle script runs on install. Skills reference the package's scripts/*.sh tooling project-relative (e.g. bash scripts/run-skill-verify.sh, verify gates like test -f scripts/... && test -d specs/bugs), so after installing the package, run one command per consumer project to provision what the skills expect:

cd <your-project>
npx bigpowers init        # or: bigpowers init

This symlinks <project>/scripts → the installed package's scripts/ tree and scaffolds specs/bugs/ + specs/verifications/. It refuses (never clobbers) a scripts/ you already own; bigpowers init --remove undoes it. The same step applies to npm i -g bigpowers / npx bigpowers setup consumers.

What you get:

  • pi skills in .pi/skills/ (one per SKILL.md) — loaded automatically into pi's system prompt as <available_skills>
  • pi prompt templates in .pi/prompts/ — slash commands like /survey-context, /plan-work
  • pi package manifest in .pi/package.json — enables pi install with auto-discovery

Skills are loaded on-demand via progressive disclosure: only descriptions are always in context; the full SKILL.md loads when the agent reads it. Prompt templates expand in pi's editor with autocomplete.

🔧 MCP Server (Model Context Protocol)

bigpowers includes an MCP server (scripts/mcp-server.js) that exposes the skill catalog as callable MCP tools, so agents can discover and invoke skills dynamically instead of relying on a static system prompt. It is not active until you register it with your agent — see below.

Start the server

node scripts/mcp-server.js

Add to Claude Code

claude mcp add bigpowers node /path/to/bigpowers/scripts/mcp-server.js

Or add manually to .claude/settings.json:

{
  "mcpServers": {
    "bigpowers": {
      "command": "node",
      "args": ["/path/to/bigpowers/scripts/mcp-server.js"]
    }
  }
}

Available MCP tools

ToolDescription
bigpowers_list_skillsList all skills with name, description, phase. Optional phase filter.
bigpowers_get_skillGet full SKILL.md content for any skill by name.
bigpowers_search_skillsKeyword/semantic search — returns ranked matches for a query.
bigpowers_get_stateGet current specs/state.yaml (active flow, epic, step).
bigpowers_invoke_skillGet skill instructions with optional context for agent invocation.

🔄 Maintenance (Update & Uninstall)

Update

npm install:

bigpowers update   # fetches bigpowers@latest (global installs), then re-syncs + refreshes symlinks

bigpowers update now runs npm install -g bigpowers@latest for you when bigpowers is installed globally, so running it alone is enough to reach the newest release. Prefer to do it by hand? npm install -g bigpowers@latest && bigpowers update. (Avoid npm update -g bigpowers — it does not reliably cross to @latest.)

git clone:

git pull
npm run sync
bash scripts/install.sh

Install uses symlinks — re-running setup refreshes links without duplicating files.

Uninstall

npm install:

bash "$(npm root -g)/bigpowers/scripts/install.sh" --uninstall
npm uninstall -g bigpowers

git clone:

bash scripts/install.sh --uninstall

Reinstall

npx bigpowers@latest setup
# or, if installed globally:
bigpowers update

🧪 Development

git clone https://github.com/danielvm-git/bigpowers.git
cd bigpowers
npm install
# Sync artifacts from SKILL.md sources
npm run sync

Tests

# Run compliance verification against Gherkin features
npm run compliance

# Validate YAML specifications and doctrine
npm run doctrine
npm run validate-specs

🤝 Contributing

  1. Fork the repo.
  2. Create a feature branch (git checkout -b feature/my-thing).
  3. Make your changes using the bigpowers methodology.
  4. Commit using Conventional Commits (git commit -am 'feat: add my thing').
  5. Push to the branch (git push origin feature/my-thing).
  6. Open a Pull Request.

Changelog

See CHANGELOG.md for the auto-generated commit history, or Releases for GitHub release notes.

For an executive narrative of the project's history — 98 releases across 41 days, 4 phases, 19 epics delivered — read RELEASE-HISTORY.md.

Links


🙏 Acknowledgements

This project is a synthesis of decades of software engineering thought. It would not be possible without the foundational work of the authors who wrote the inspirational articles and books that shaped this methodology:

  • Robert C. Martin (Uncle Bob) for establishing the baseline of code hygiene and the F.I.R.S.T principles in Clean Code.
  • John Ousterhout for his paradigm-shifting views on Deep Modules and complexity management in A Philosophy of Software Design.
  • Andrej Karpathy and Matt Pocock for their pioneering work on agentic skills and structuring context for LLMs.
  • Jarek Wasowski for identifying Spec-Driven Development (SDD) as the missing link for AI agents.
  • AkitaOnRails for adapting classical clean code principles to the reality of the AI token economy.

Community Contributors

bigpowers has been shaped by contributors who extended it in their own forks. See CONTRIBUTORS.md for the full list.

  • Kevin Oberlies (favilo) — Jujutsu VCS support across lifecycle skills + project-runtime.sh configurable settings library.
  • XcluEzy7 — OMP plugin extension (extensions/omp-hooks.ts): native skill discovery, unified skill tooling, and git-safety hooks for the oh-my-pi runtime.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


“Simplicity is the ultimate sophistication, but integrity is the ultimate requirement.”

关于 About

Agent skills synthesizing years of software engineering discipline into a prescriptive methodology for solo developers
ai-agentsautomationbmadclaude-codeclean-codecursor-rulesdevopsdocumentation-as-codegemini-cliproductivitysoftware-engineeringsolo-developerspec-driven-developmenttdd

语言 Languages

Shell40.6%
MDX20.8%
JavaScript13.8%
Python10.1%
HTML8.0%
TypeScript5.4%
Gherkin0.6%
Astro0.5%
Go0.2%
CSS0.1%
Batchfile0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
1028
Total Commits
峰值: 241次/周
Less
More

核心贡献者 Contributors