bigpowers 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/.gitmessage +5 -0
  2. package/.releaserc.json +17 -0
  3. package/CHANGELOG.md +61 -0
  4. package/CLAUDE.md +61 -0
  5. package/CONVENTIONS.md +140 -0
  6. package/GEMINI.md +53 -0
  7. package/LICENSE +21 -0
  8. package/README.md +116 -0
  9. package/RELEASE.md +108 -0
  10. package/SKILL-INDEX.md +146 -0
  11. package/assess-impact/SKILL.md +76 -0
  12. package/audit-code/HEURISTICS.md +43 -0
  13. package/audit-code/SKILL.md +81 -0
  14. package/bin/bigpowers.js +27 -0
  15. package/change-request/REFERENCE.md +60 -0
  16. package/change-request/SKILL.md +42 -0
  17. package/commit-message/REFERENCE.md +81 -0
  18. package/commit-message/SKILL.md +39 -0
  19. package/countable-story-format.md +293 -0
  20. package/craft-skill/REFERENCE.md +88 -0
  21. package/craft-skill/SKILL.md +55 -0
  22. package/deepen-architecture/DEEPENING.md +37 -0
  23. package/deepen-architecture/INTERFACE-DESIGN.md +44 -0
  24. package/deepen-architecture/LANGUAGE.md +53 -0
  25. package/deepen-architecture/SKILL.md +76 -0
  26. package/define-language/SKILL.md +75 -0
  27. package/define-success/SKILL.md +60 -0
  28. package/delegate-task/SKILL.md +70 -0
  29. package/design-interface/SKILL.md +94 -0
  30. package/develop-tdd/SKILL.md +160 -0
  31. package/develop-tdd/deep-modules.md +33 -0
  32. package/develop-tdd/interface-design.md +31 -0
  33. package/develop-tdd/mocking.md +59 -0
  34. package/develop-tdd/refactoring.md +10 -0
  35. package/develop-tdd/tests.md +71 -0
  36. package/dispatch-agents/SKILL.md +72 -0
  37. package/edit-document/SKILL.md +14 -0
  38. package/elaborate-spec/SKILL.md +79 -0
  39. package/enforce-first/SKILL.md +75 -0
  40. package/execute-plan/SKILL.md +84 -0
  41. package/grill-me/REFERENCE.md +63 -0
  42. package/grill-me/SKILL.md +25 -0
  43. package/guard-git/REFERENCE.md +136 -0
  44. package/guard-git/SKILL.md +39 -0
  45. package/guard-git/scripts/block-dangerous-git.sh +41 -0
  46. package/guard-git/scripts/lib/git-guardrails-core.sh +29 -0
  47. package/hook-commits/SKILL.md +91 -0
  48. package/hooks/pre-tool-use.sh +130 -0
  49. package/index.js +6 -0
  50. package/inspect-quality/SKILL.md +101 -0
  51. package/investigate-bug/SKILL.md +111 -0
  52. package/kickoff-branch/SKILL.md +87 -0
  53. package/map-codebase/SKILL.md +66 -0
  54. package/migrate-spec/REFERENCE-GSD.md +137 -0
  55. package/migrate-spec/REFERENCE.md +186 -0
  56. package/migrate-spec/SKILL.md +150 -0
  57. package/model-domain/ADR-FORMAT.md +47 -0
  58. package/model-domain/CONTEXT-FORMAT.md +77 -0
  59. package/model-domain/SKILL.md +82 -0
  60. package/opencode.json +4 -0
  61. package/orchestrate-project/REFERENCE.md +89 -0
  62. package/orchestrate-project/SKILL.md +59 -0
  63. package/organize-workspace/REFERENCE.md +80 -0
  64. package/organize-workspace/SKILL.md +74 -0
  65. package/package.json +45 -0
  66. package/plan-refactor/SKILL.md +75 -0
  67. package/plan-release/SKILL.md +75 -0
  68. package/plan-work/SKILL.md +124 -0
  69. package/playwright.config.ts +56 -0
  70. package/release-branch/SKILL.md +116 -0
  71. package/request-review/SKILL.md +70 -0
  72. package/respond-review/SKILL.md +68 -0
  73. package/scripts/audit-compliance.sh +256 -0
  74. package/scripts/cleanup-worktrees.sh +44 -0
  75. package/scripts/install-cursor-skills-local.sh +13 -0
  76. package/scripts/install-cursor-skills.sh +34 -0
  77. package/scripts/install.sh +240 -0
  78. package/scripts/project-survey.sh +54 -0
  79. package/scripts/sync-skills.sh +110 -0
  80. package/seed-conventions/SKILL.md +185 -0
  81. package/session-state/SKILL.md +69 -0
  82. package/skills-lock.json +157 -0
  83. package/spike-prototype/SKILL.md +92 -0
  84. package/survey-context/SKILL.md +93 -0
  85. package/terse-mode/SKILL.md +35 -0
  86. package/trace-requirement/SKILL.md +68 -0
  87. package/using-bigpowers/SKILL.md +65 -0
  88. package/validate-fix/SKILL.md +93 -0
  89. package/visual-dashboard/SKILL.md +49 -0
  90. package/visual-dashboard/scripts/frame-template.html +189 -0
  91. package/visual-dashboard/scripts/helper.js +83 -0
  92. package/visual-dashboard/scripts/server.cjs +345 -0
  93. package/visual-dashboard/scripts/start-server.sh +121 -0
  94. package/visual-dashboard/scripts/stop-server.sh +46 -0
  95. package/wire-observability/SKILL.md +90 -0
  96. package/write-document/SKILL.md +63 -0
package/.gitmessage ADDED
@@ -0,0 +1,5 @@
1
+ <type>(<scope>): <description>
2
+
3
+ [body explaining the why]
4
+
5
+ [footer like BREAKING CHANGE: ...]
@@ -0,0 +1,17 @@
1
+ {
2
+ "branches": ["main"],
3
+ "plugins": [
4
+ "@semantic-release/commit-analyzer",
5
+ "@semantic-release/release-notes-generator",
6
+ "@semantic-release/changelog",
7
+ "@semantic-release/npm",
8
+ [
9
+ "@semantic-release/git",
10
+ {
11
+ "assets": ["CHANGELOG.md", "package.json", "skills-lock.json"],
12
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
13
+ }
14
+ ],
15
+ "@semantic-release/github"
16
+ ]
17
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,61 @@
1
+ # 1.0.0 (2026-05-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * align Gemini CLI extension with v0.42.0 requirements ([6f2b7a4](https://github.com/danielvm-git/bigpowers/commit/6f2b7a4e91727d21c980c2b7f733810b50592f23))
7
+ * **arch:** harden karpathy gates, token economy, and architecture mandates ([300981d](https://github.com/danielvm-git/bigpowers/commit/300981d1f892a4ecf36bc94475c3a03b5529feb6))
8
+ * **ci:** point semantic-release at correct GitHub repository ([ee17aba](https://github.com/danielvm-git/bigpowers/commit/ee17abae150c0779aabf0c12e188919f8fbf6441))
9
+ * **commit:** refine release mapping to match semantic-release defaults ([#9](https://github.com/danielvm-git/bigpowers/issues/9)) ([1c536e5](https://github.com/danielvm-git/bigpowers/commit/1c536e53f0ddef340025f6aa5cf9a62bd13cdfee))
10
+ * **execute-plan, plan-work:** replace PLAN.md with RELEASE-PLAN.md ([d125789](https://github.com/danielvm-git/bigpowers/commit/d1257895679e4cb241ae7db5e0c9d62861a5a193))
11
+ * **git:** enforce feature branching gates across all skills ([454b64a](https://github.com/danielvm-git/bigpowers/commit/454b64af33df9799c29594e5f6df879ae82199da))
12
+ * **hooks:** harden CC regex to prevent 'type/' typos ([#10](https://github.com/danielvm-git/bigpowers/issues/10)) ([ff13689](https://github.com/danielvm-git/bigpowers/commit/ff1368999f02c813b77a3a3362407efdccb3097c))
13
+ * **karpathy.feature:** correct formatting and remove extraneous text from compliance feature ([4390ef0](https://github.com/danielvm-git/bigpowers/commit/4390ef0ecc7fc7b22bc3f5bb240657a9d61c1f82))
14
+ * **skills:** rename to fix-report and try to trigger discovery ([7a83eb7](https://github.com/danielvm-git/bigpowers/commit/7a83eb7206a521edf693c40bb04054fc3be15e6b))
15
+ * **skills:** simplify description and remove from lock for auto-discovery ([b698a58](https://github.com/danielvm-git/bigpowers/commit/b698a584d9e7f2540cbb6464e1db5841674e95ca))
16
+
17
+
18
+ ### Features
19
+
20
+ * add automated bootstrap, visual dashboard, and global hook configuration ([a708e63](https://github.com/danielvm-git/bigpowers/commit/a708e63d79b96ec7cff14c2519bdab985d8f76a1))
21
+ * add local installation script and project-specific lockfile support ([d49d107](https://github.com/danielvm-git/bigpowers/commit/d49d107c92258a890510ca08fe7295fcc60a5674))
22
+ * add prepare-semantic-commit skill ([59ffddc](https://github.com/danielvm-git/bigpowers/commit/59ffddc877c80a8aa00d0d851a795011db0efa89))
23
+ * **agent:** add stream continuity guards to prevent idle timeouts ([#14](https://github.com/danielvm-git/bigpowers/issues/14)) ([977c388](https://github.com/danielvm-git/bigpowers/commit/977c388d32c13c98eaf055438892e371342aa913))
24
+ * **audit:** implement agentic gherkin compliance harness ([#2](https://github.com/danielvm-git/bigpowers/issues/2)) ([e4e8dec](https://github.com/danielvm-git/bigpowers/commit/e4e8decd9a90b432470ca74fa6182559ffe71dd3))
25
+ * **audit:** implement evidence scripts ([bd9006e](https://github.com/danielvm-git/bigpowers/commit/bd9006e3ef0583f0668ff8c8188dbe7456602572))
26
+ * **commit:** add advanced CC patterns and verification gate ([#7](https://github.com/danielvm-git/bigpowers/issues/7)) ([adc9552](https://github.com/danielvm-git/bigpowers/commit/adc955204aa219a181eced8a84a6c2a3fd7f08a4))
27
+ * **compliance:** enforce Conventional Commits and SemVer in CONVENTIONS.md ([e590955](https://github.com/danielvm-git/bigpowers/commit/e590955fda914061ed2d4bf4387682d36497fd91))
28
+ * **compliance:** restore lifecycle discipline and retroactive plans ([281254c](https://github.com/danielvm-git/bigpowers/commit/281254c8adef239d3f4022a318410f2bececadfb))
29
+ * **core:** add initial project structure and configuration ([5a1feab](https://github.com/danielvm-git/bigpowers/commit/5a1feabc2060061cf0690c382edd6441427405ea))
30
+ * **develop-tdd:** bake 'Commit-on-Green' requirement into the TDD loop ([8cbeec6](https://github.com/danielvm-git/bigpowers/commit/8cbeec66972b5651ad08a1d96a319aec53083543))
31
+ * **guard:** implement PreToolUse hook for Conventional Commits & main-branch protection ([7ffda7c](https://github.com/danielvm-git/bigpowers/commit/7ffda7c2a2199b46372c5447079517814bf9597a))
32
+ * **kickoff:** harden git-worktree lifecycle and automated cleanup ([8082213](https://github.com/danielvm-git/bigpowers/commit/808221382d99240c71cb5a93da8e968c0778fe06))
33
+ * **opencode:** automate opencode.json and AGENTS.md generation ([#13](https://github.com/danielvm-git/bigpowers/issues/13)) ([598e177](https://github.com/danielvm-git/bigpowers/commit/598e177cb345ad450ac237ab08d8986ff850699a))
34
+ * refactor to bigpowers β€” 38 spec-driven lifecycle skills ([f0d37af](https://github.com/danielvm-git/bigpowers/commit/f0d37afbd3c3b1ffe26bc434dc5ca79befd7add2))
35
+ * **release:** align with semantic-release and semver ([#8](https://github.com/danielvm-git/bigpowers/issues/8)) ([9836881](https://github.com/danielvm-git/bigpowers/commit/9836881e7089d10498097e9ff29fae4c7928056b))
36
+ * **session-state:** implement git metadata sync and finalize v1.9.0 plan ([e114514](https://github.com/danielvm-git/bigpowers/commit/e1145149dea152310568fc435a27b9d88c2fd43a))
37
+ * **skill:** add write-document with BMAD principles and context circuit breakers ([548c2bd](https://github.com/danielvm-git/bigpowers/commit/548c2bdda214b67585af36deedbc46dc7e1b3954))
38
+ * **skills:** add fix-and-report skill ([c3f624b](https://github.com/danielvm-git/bigpowers/commit/c3f624bd73be261fd5b876ab18c95af11e8e5e95))
39
+ * **skills:** add stream continuity guards to output-heavy skills ([#11](https://github.com/danielvm-git/bigpowers/issues/11)) ([8c7a823](https://github.com/danielvm-git/bigpowers/commit/8c7a823885560ac141e7643e86480c4703775fd7))
40
+ * **skills:** add test-skill to debug discovery ([acbf545](https://github.com/danielvm-git/bigpowers/commit/acbf5450e8ea274ca70ce92410b7b999df3ae7e8))
41
+ * **skills:** consolidate redundant skills and add release planning chain ([#3](https://github.com/danielvm-git/bigpowers/issues/3)) ([40825e3](https://github.com/danielvm-git/bigpowers/commit/40825e340a95f8b0fee7fdcc1ca3da0bfbdd2b6c))
42
+ * **skills:** implement HARD-GATE callout blocks for critical execution points ([31bed65](https://github.com/danielvm-git/bigpowers/commit/31bed65b5cfb55dccbd6eb57461377fcefddc7ea))
43
+ * **skills:** introduce Discovery Mandate, Visual Slices, and The Gatekeeper guardrails ([1106f6a](https://github.com/danielvm-git/bigpowers/commit/1106f6ae9b0544e7e98dcbef593fece4c9d6a295))
44
+ * **skills:** optimize fix-report skill for agent performance ([a9cae87](https://github.com/danielvm-git/bigpowers/commit/a9cae87d92d41f7c8d460873ad4e8344f259330a))
45
+ * **skills:** register fix-and-report in manifest and README ([b9ebdb1](https://github.com/danielvm-git/bigpowers/commit/b9ebdb1e53d026bb50cf4182267bc4fc4697a690))
46
+ * **survey:** introduce map-codebase skill for high-fidelity surveying ([6d26e2f](https://github.com/danielvm-git/bigpowers/commit/6d26e2f5d438f6119a9ae8bf0666aeaf90a81e6d))
47
+ * update .gitignore and enhance README for clarity on agent skills ([fa21c8c](https://github.com/danielvm-git/bigpowers/commit/fa21c8cdc6bdb3a787e89d84c01ed4dbd8422e97))
48
+ * **utility:** introduce session-state and harden process gates ([8fa8524](https://github.com/danielvm-git/bigpowers/commit/8fa85248eba2a6c0c1d95566dc5883fe60f24458))
49
+ * **v1.12.0:** harden compliance harness and remediate Clean Code Chapter 17 ([09a5429](https://github.com/danielvm-git/bigpowers/commit/09a5429d9ac57157240fedf8e829044efeb8c9c1))
50
+ * **v1.12.1:** harden CONVENTIONS.md with 10 missing Clean Code heuristics ([#4](https://github.com/danielvm-git/bigpowers/issues/4)) ([a6bf36a](https://github.com/danielvm-git/bigpowers/commit/a6bf36a291fe0b005988ca8d72577da0f08d5649))
51
+ * **v1.13.0:** add harness falsification suite and npm run compliance ([#5](https://github.com/danielvm-git/bigpowers/issues/5)) ([501e98b](https://github.com/danielvm-git/bigpowers/commit/501e98b4d67e270c19c04a57c72380b2f44fb64f))
52
+ * **v1.14.0:** add Karpathy behavioral mandates and evidence scripts ([6207082](https://github.com/danielvm-git/bigpowers/commit/6207082340f3f2c9b42422db85538f7fed3ad182))
53
+ * **v1.14.0:** add Karpathy behavioral mandates to planning and execution skills ([42b1456](https://github.com/danielvm-git/bigpowers/commit/42b1456fc9d1498326924b45da363119faecfb9b))
54
+ * **v1.15.0:** add Superpowers gates and evidence scripts ([3cdd81a](https://github.com/danielvm-git/bigpowers/commit/3cdd81abb27433aea77b1cf3b5b03657eb2c7b22))
55
+ * **v1.16.0:** add testing mandates and evidence scripts ([ba7d054](https://github.com/danielvm-git/bigpowers/commit/ba7d054d9724b0866c0279fa8992061a451d2212))
56
+ * **v1.17.0:** add guardrails - zoom-out mandate and surgical-changes discipline ([c2ee71b](https://github.com/danielvm-git/bigpowers/commit/c2ee71bd92d23ea072e6579c2462681287f2a39a))
57
+ * **v1.18.0:** wire decision logging and minimal brief discipline into execution loop ([9619068](https://github.com/danielvm-git/bigpowers/commit/9619068e0fea068572b5c84d404e42bae64d639a))
58
+ * **v2.0.0:** add reference library and orchestrate skill ([bc9b437](https://github.com/danielvm-git/bigpowers/commit/bc9b43767ed8087c8ee53de09be6ba8f0031c26c))
59
+ * **v2.0.0:** complete orchestration framework and reference library ([a303c64](https://github.com/danielvm-git/bigpowers/commit/a303c64e8abfc6074f767b40938717120ad7763d))
60
+ * **workflow:** implement verification-first loop and remove AI attribution ([#15](https://github.com/danielvm-git/bigpowers/issues/15)) ([8286ef3](https://github.com/danielvm-git/bigpowers/commit/8286ef32d6104be06f0af75d53247790594e8f3d))
61
+ * **workflow:** mandate bigpowers skill usage and prevent direct coding ([ebf539e](https://github.com/danielvm-git/bigpowers/commit/ebf539e928512ab6f97fb958961e1a8b424acc50))
package/CLAUDE.md ADDED
@@ -0,0 +1,61 @@
1
+ # bigpowers β€” Claude Code
2
+
3
+ Read CONVENTIONS.md before any GitHub or git operation.
4
+
5
+ ## Project
6
+
7
+ bigpowers β€” 44 agent skills for spec-driven, test-first software development by solo developers.
8
+ Stack: Markdown / Bash (documentation-based; skills integrate with Claude Code, Cursor, Gemini CLI)
9
+
10
+ ## Commands
11
+
12
+ | Action | Command |
13
+ |--------|---------|
14
+ | Run | `bash scripts/sync-skills.sh` |
15
+ | Test | N/A (documentation project) |
16
+ | Build | `bash scripts/install.sh` |
17
+ | Lint | `bash scripts/sync-skills.sh` (validates SKILL.md syntax) |
18
+
19
+ ## Architecture
20
+
21
+ Collection of 44 verb-noun skills, each with a SKILL.md source file and supporting documentation. The sync-skills.sh script auto-generates artifacts for Cursor (.cursor/rules) and Gemini CLI (.gemini/extensions/bigpowers/) from SKILL.md sources. All planning and spec output goes to specs/ at the project root.
22
+
23
+ ## Conventions
24
+
25
+ - Skill directories use verb-noun naming (two words, kebab-case)
26
+ - Every skill has a single SKILL.md file as its source of truth
27
+ - All planning/spec output goes to specs/ at project root
28
+ - Artifacts in .cursor/rules and .gemini/ are auto-generated; edit SKILL.md, not artifacts
29
+ - Run sync-skills.sh after any SKILL.md changes to regenerate artifacts
30
+
31
+ ## Never
32
+
33
+ - Never edit .cursor/rules or .gemini/extensions/ directly β€” these are generated files
34
+ - Never create a skill without a SKILL.md file and proper verb-noun naming
35
+ - Never push changes without running sync-skills.sh first
36
+
37
+ ## Token Management
38
+
39
+ - **Auto-Terse**: When a session exceeds 20 turns or the context window feels "heavy" (latency increasing), you MUST switch to `terse-mode` to save tokens.
40
+ - **Context Compaction**: Every 10 turns, summarize the current session state and implementation decisions into a short, high-density note.
41
+ - **Minimal Output**: Prefer text-only output for simple status; use `web_fetch` or `run_shell_command` only for evidence.
42
+ - **Stream Stability**: When writing large files or long documents, output continuously in chunks of ~200 lines. Do not pause. If you need time to process, emit a placeholder comment rather than going silent.
43
+
44
+ ## Session Start
45
+
46
+ Before any task, run this sequence β€” not optional:
47
+
48
+ 1. Read `CLAUDE.md` (this file)
49
+ 2. Read `CONVENTIONS.md`
50
+ 3. Read `specs/STATE.md` if it exists β€” current milestone and pending work
51
+ 4. Read `specs/RELEASE-PLAN.md` if it exists β€” active release context
52
+
53
+ ## Agent Rules
54
+
55
+ - **Workflow Mandate:** You MUST use the bigpowers skills (e.g., `plan-work`, `develop-tdd`, `craft-skill`) to perform tasks. DO NOT write code directly in response to a user prompt like "build this feature".
56
+ - Read specs/ and CONVENTIONS.md before writing code.
57
+ - Write the minimum code that solves the stated problem. Nothing extra.
58
+ - Never refactor, rename, or reorganize code outside the task scope.
59
+ - Run tests after every change. Show evidence before declaring done.
60
+ - One clarifying question beats a wrong assumption baked into 200 lines.
61
+ - All written output (plans, specs, investigations) goes in specs/.
package/CONVENTIONS.md ADDED
@@ -0,0 +1,140 @@
1
+ # Conventions
2
+
3
+ ## Conventional Commits & Semantic Versioning
4
+
5
+ All changes to this repository MUST follow the [Conventional Commits 1.0.0](https://www.conventionalcommits.org/en/v1.0.0/) specification. Versioning MUST strictly adhere to [Semantic Versioning 2.0.0](https://semver.org/).
6
+
7
+ ### Commit Message Format
8
+ `<type>(<scope>): <description>` (Space after colon is MANDATORY)
9
+
10
+ ### Types & Version Bumps
11
+ - `feat`: Minor (x.Y.z) - New feature
12
+ - `fix`: Patch (x.y.Z) - Bug fix
13
+ - `perf`: Patch (x.y.Z) - Performance improvement
14
+ - `docs`, `chore`, `style`, `refactor`, `test`: No bump (unless breaking)
15
+ - `BREAKING CHANGE:` (or `!` after type): Major (X.y.z)
16
+
17
+ ## GitHub & Git Operations
18
+
19
+ - No direct work on `main` or `master`. Every task MUST start with a feature branch or worktree via `kickoff-branch`.
20
+ - Use `gh pr create` not `git push` + manual PR
21
+ - Use `gh repo clone` not `git clone` for GitHub repos
22
+ - Use `gh run view` / `gh run watch` for CI status
23
+ - Verify auth with `gh auth status` before operations
24
+ - **Git Attribution:** NEVER include `Co-authored-by`, `Co-Authored-By`, or any other footer that attributes code to an AI agent (e.g., Claude, Gemini). All commits must appear as if they were authored solely by the human user.
25
+ - Never call GitHub REST API directly (curl, fetch, etc.)
26
+ - Never create GitHub issues from automated workflows β€” produce local .md files in specs/ instead
27
+
28
+ ## Agent Workflow Mandates
29
+
30
+ **AGENTS MUST NEVER BYPASS THE BIGPOWERS WORKFLOW.**
31
+ You are operating within the `bigpowers` spec-driven development methodology.
32
+ - **No Direct Coding:** When a user issues a directive like "build feature X" or "go epic 10", you MUST NOT execute the request by writing code directly.
33
+ - **Required Skills:** You MUST route all work through the appropriate bigpowers skills.
34
+ - Start with `survey-context` if you lack context.
35
+ - Use `plan-work` to generate a verifiable plan in `specs/PLAN.md` before writing any feature code.
36
+ - Use `develop-tdd` or `execute-plan` to implement the plan.
37
+ - Use `investigate-bug` for bug reports before writing a fix.
38
+ - **Verification Mandate:** Every story implementation MUST end with a step-by-step manual verification script provided to the user. You must wait for the user to confirm behavioral correctness (UAT) before declaring the story done or moving to the next.
39
+ - **Verification:** You MUST verify every change with tests. Code generation without a corresponding plan in `specs/` is strictly forbidden.
40
+ - **Stream Continuity:** When writing large files or long documents, you MUST output continuously in chunks of ~200 lines. Do not pause between sections. Continue immediately until complete. If you need time to process, emit a placeholder comment or heading rather than going silent to prevent stream idle timeouts.
41
+
42
+ ## specs/ β€” All Planning Output Goes Here
43
+
44
+ Every skill that produces written output writes to `specs/` at the project root:
45
+
46
+ | Document | Path |
47
+ |----------|------|
48
+ | Domain context + ADRs | `specs/CONTEXT.md` + `specs/adr/` |
49
+ | Domain glossary | `specs/UBIQUITOUS_LANGUAGE.md` |
50
+ | Scope definition | `specs/SCOPE.md` |
51
+ | Task breakdown | `specs/TASKS.md` |
52
+ | Implementation plan | `specs/PLAN.md` (or `specs/PLAN-<feature>.md`) |
53
+ | Refactor plan | `specs/REFACTOR.md` |
54
+ | Spike learnings | `specs/SPIKE-<name>.md` |
55
+ | Bug investigation | `specs/DIAGNOSIS.md` |
56
+ | QA session log | `specs/BUG-LOG.md` |
57
+
58
+ ## Code Style
59
+
60
+ - Functions: 4–20 lines. Split if longer.
61
+ - Files: under 300 lines. Split by responsibility to ensure content fits within a single agent context window.
62
+ - One thing per function, one responsibility per module (SRP).
63
+ - Names: specific and unique. Avoid `data`, `handler`, `Manager`, `Service`. Prefer names whose grep returns < 5 hits in this codebase.
64
+ - Types: explicit. No `any`, no untyped public functions.
65
+ - No code duplication. Extract shared logic into a function/module.
66
+ - Early returns over nested ifs. Max 2 levels of indentation.
67
+ - Conditionals: expressed as positives (G29). Avoid negative flags or `unless` logic where possible.
68
+ - The Stepdown Rule (G34): functions should descend exactly one level of abstraction.
69
+ - Names describe side-effects (N7): if a function sends email, writes to disk, or mutates state, the name must say so (`sendWelcomeEmail`, not `processUser`).
70
+ - No magic strings or numbers (G25): every bare string literal or numeric literal used in logic must be extracted to a named constant.
71
+ - Boolean logic in named functions (G28): complex boolean expressions must be extracted into a named predicate function, not inlined.
72
+ - Prefer exceptions over error codes: throw/raise an exception rather than returning a numeric or boolean error sentinel.
73
+ - Remove dead code (G9/F4): unused functions, unreachable branches, and stale imports must be deleted β€” not commented out.
74
+ - Boy Scout Rule: leave every file you touch at least as clean as you found it. Fix the first broken window you see.
75
+ - Exception messages must include the offending value, expected shape, and an actionable remediation hint for the agent.
76
+ - SOLID beyond SRP: favor interfaces over concrete types (DIP) when injecting dependencies.
77
+
78
+ ## Comments
79
+
80
+ - Keep your own comments. Never strip them on refactor β€” they carry intent and provenance.
81
+ - Write WHY, not WHAT.
82
+ - Complex or non-obvious logic must include "Provenance" links (e.g., Jira issue, GitHub commit SHA, or ADR filename).
83
+ - Docstrings on public functions: intent + one usage example.
84
+ - Reference issue numbers / commit SHAs when a line exists because of a specific bug.
85
+ - No obvious comments that restate the code.
86
+ - No commented-out code (C5): dead code must be deleted, not commented out. Use git history to recover it.
87
+
88
+ ## Tests (F.I.R.S.T β€” Uncle Bob Ch 9)
89
+
90
+ - Tests run headless with a single command (recorded in CLAUDE.md).
91
+ - Every new function gets a test. Every bug fix gets a regression test.
92
+ - Mocks for external I/O are named fake classes, not inline stubs.
93
+ - Tests are **F**ast, **I**ndependent, **R**epeatable, **S**elf-Validating, **T**imely.
94
+ - Never skip or @ignore a test without an explicit ambiguity note explaining what is unresolved (T4); silently ignored tests are prohibited.
95
+ - Test boundary conditions (T5): every suite must cover exact edge values β€” empty input, maximum, minimum, and off-by-one.
96
+ - Test through public interfaces only (T8): assert on observable outcomes (return values, API responses, UI state). Never assert on internal state or private methods.
97
+ - Every change must be verifiable with a single runnable command before it is marked done.
98
+
99
+ ## Dependencies
100
+
101
+ - Inject dependencies through constructor/parameter, not global/import.
102
+ - Wrap third-party libs behind a thin project-owned interface.
103
+
104
+ ## Structure
105
+
106
+ - Follow the framework convention (Rails, Django, Next.js, etc.).
107
+ - Predictable paths: controller/model/view, src/lib/test.
108
+ - Prefer small focused modules over god files.
109
+
110
+ ## Formatting
111
+
112
+ - Use the language default formatter (cargo fmt, gofmt, prettier, black, rubocop -A).
113
+ - Configured in pre-commit and on-save. No style debates beyond that.
114
+
115
+ ## Logging
116
+
117
+ - Structured JSON for debugging / observability.
118
+ - Plain text only for user-facing CLI output.
119
+
120
+ ## Defensive Code
121
+
122
+ - Retry with backoff (for API/network calls in skill implementations)
123
+ - Timeout (for long-running operations)
124
+ - Graceful degradation (when external services/dependencies fail)
125
+
126
+ The agent implements defensive code only for categories explicitly listed here.
127
+
128
+ ## Skill Naming β€” Conventions and Exceptions
129
+
130
+ All skill directories use a two-word `verb-noun` kebab-case pair (ADR-0001). Grep for any skill
131
+ name must return < 5 results across the repo.
132
+
133
+ **Documented exceptions** (adjective-noun retained for clarity; renaming would reduce usability):
134
+
135
+ | Skill | Convention deviation | Rationale |
136
+ |-------|----------------------|-----------|
137
+ | `terse-mode` | adjective-noun | `enable-terse` implies a toggle; `terse-mode` names a mode state |
138
+ | `visual-dashboard` | adjective-noun | `view-dashboard` implies read-only; `show-dashboard` collides with `show` verbs |
139
+
140
+ Any new exception requires an entry in this table before the skill is published.
package/GEMINI.md ADDED
@@ -0,0 +1,53 @@
1
+ # bigpowers β€” Gemini CLI
2
+
3
+ > **Auto-generated** by `sync-skills.sh` from `CLAUDE.md`. Edit CLAUDE.md, not this file.
4
+
5
+ Read CONVENTIONS.md before any GitHub or git operation.
6
+
7
+ ## Project
8
+
9
+ bigpowers β€” 44 agent skills for spec-driven, test-first software development by solo developers.
10
+ Stack: Markdown / Bash (documentation-based; skills integrate with Claude Code, Cursor, Gemini CLI)
11
+
12
+ ## Commands
13
+
14
+ | Action | Command |
15
+ |--------|---------|
16
+ | Run | `bash scripts/sync-skills.sh` |
17
+ | Test | N/A (documentation project) |
18
+ | Build | `bash scripts/install.sh` |
19
+ | Lint | `bash scripts/sync-skills.sh` (validates SKILL.md syntax) |
20
+
21
+ ## Architecture
22
+
23
+ Collection of 44 verb-noun skills, each with a SKILL.md source file and supporting documentation. The sync-skills.sh script auto-generates artifacts for Cursor (.cursor/rules) and Gemini CLI (.gemini/extensions/bigpowers/) from SKILL.md sources. All planning and spec output goes to specs/ at the project root.
24
+
25
+ ## Conventions
26
+
27
+ - Skill directories use verb-noun naming (two words, kebab-case)
28
+ - Every skill has a single SKILL.md file as its source of truth
29
+ - All planning/spec output goes to specs/ at project root
30
+ - Artifacts in .cursor/rules and .gemini/ are auto-generated; edit SKILL.md, not artifacts
31
+ - Run sync-skills.sh after any SKILL.md changes to regenerate artifacts
32
+
33
+ ## Never
34
+
35
+ - Never edit .cursor/rules or .gemini/extensions/ directly β€” these are generated files
36
+ - Never create a skill without a SKILL.md file and proper verb-noun naming
37
+ - Never push changes without running sync-skills.sh first
38
+
39
+ ## Token Management
40
+
41
+ - **Auto-Terse**: When a session exceeds 20 turns or the context window feels "heavy" (latency increasing), you MUST switch to `terse-mode` to save tokens.
42
+ - **Context Compaction**: Every 10 turns, summarize the current session state and implementation decisions into a short, high-density note.
43
+ - **Minimal Output**: Prefer text-only output for simple status; use `web_fetch` or `run_shell_command` only for evidence.
44
+
45
+ ## Agent Rules
46
+
47
+ - **Workflow Mandate:** You MUST use the bigpowers skills (e.g., `plan-work`, `develop-tdd`, `craft-skill`) to perform tasks. DO NOT write code directly in response to a user prompt like "build this feature".
48
+ - Read specs/ and CONVENTIONS.md before writing code.
49
+ - Write the minimum code that solves the stated problem. Nothing extra.
50
+ - Never refactor, rename, or reorganize code outside the task scope.
51
+ - Run tests after every change. Show evidence before declaring done.
52
+ - One clarifying question beats a wrong assumption baked into 200 lines.
53
+ - All written output (plans, specs, investigations) goes in specs/.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Daniel VM
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,116 @@
1
+ # bigpowers β€” Best-in-Class Agentic Skills
2
+
3
+ ![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)
4
+ ![Version](https://img.shields.io/badge/version-1.14.0-blue.svg)
5
+ ![Skills](https://img.shields.io/badge/skills-44+-brightgreen.svg)
6
+
7
+ **44+ agent skills for high-integrity, spec-driven, test-first software development by solo developers.**
8
+
9
+ `bigpowers` provides a prescriptive, vertical-slice methodology for building software with AI agents (Claude Code, Gemini CLI, Cursor). It bridges the gap between raw LLM capabilities and professional engineering standards.
10
+
11
+ ---
12
+
13
+ ## πŸš€ Quick Start
14
+
15
+ ```bash
16
+ # 1. Clone the repository
17
+ git clone https://github.com/danielvm-git/bigpowers.git && cd bigpowers
18
+
19
+ # 2. Install globally (links to Claude, Gemini, and Cursor)
20
+ bash scripts/install.sh
21
+
22
+ # 3. Sync artifacts
23
+ npm run sync
24
+ ```
25
+
26
+ ---
27
+
28
+ ## πŸ›  Prerequisites
29
+
30
+ - **Bash**: Required for all scripts.
31
+ - **Node.js**: Required for `npm` commands.
32
+ - **jq**: (Highly Recommended) Used for robust configuration of tool settings.
33
+ - **AI Tools**: One or more of:
34
+ - [Claude Code](https://claude.ai/code)
35
+ - [Gemini CLI](https://github.com/google/gemini-cli)
36
+ - [Cursor](https://cursor.sh/)
37
+
38
+ ---
39
+
40
+ ## πŸ”„ Maintenance (Update & Uninstall)
41
+
42
+ ### Update
43
+ To get the latest skills and performance improvements:
44
+ ```bash
45
+ git pull
46
+ npm run sync
47
+ ```
48
+ *Note: Since the installation uses symlinks, syncing automatically updates the tools.*
49
+
50
+ ### Uninstall
51
+ To remove all managed symlinks and configuration hooks:
52
+ ```bash
53
+ bash scripts/install.sh --uninstall
54
+ ```
55
+
56
+ ### Reinstall
57
+ If you need a fresh start:
58
+ ```bash
59
+ bash scripts/install.sh --uninstall && bash scripts/install.sh
60
+ ```
61
+
62
+ ---
63
+
64
+ ## πŸ— The BMAD Lifecycle
65
+
66
+ Every task in `bigpowers` follows a prescriptive 5-phase arc to ensure integrity:
67
+
68
+ 1. **Discover**: Investigate context, map unknowns, and survey requirements.
69
+ 2. **Elaborate**: Formalize specs and lock design decisions (ADRs).
70
+ 3. **Plan**: Write a verifiable, Karpathy-style implementation roadmap.
71
+ 4. **Build**: Execute via TDD, vertical slices, and small commits.
72
+ 5. **Sustain**: Audit quality, verify compliance, and release.
73
+
74
+ ---
75
+
76
+ ## πŸ“– Hierarchy of Truth
77
+
78
+ | Level | Document | Responsibility |
79
+ | :--- | :--- | :--- |
80
+ | **Vision** | `docs/PRINCIPLES.md` | Philosophical foundations and evolution. |
81
+ | **Context** | `specs/CONTEXT.md` | Tech stack, architecture, and glossary. |
82
+ | **Scope** | `specs/SCOPE.md` | In-scope / out-of-scope and success criteria. |
83
+ | **Decisions** | `specs/adr/` | Architectural Decision Records (irreversible choices). |
84
+ | **Roadmap** | `specs/RELEASE-PLAN.md` | WSJF-prioritized releases and stories. |
85
+ | **Current** | `specs/STATE.md` | Current milestone and session progress. |
86
+ | **Index** | `SKILL-INDEX.md` | Canonical list of all active skills. |
87
+ | **Style** | `CONVENTIONS.md` | Coding, testing, and naming standards. |
88
+
89
+ ---
90
+
91
+ ## πŸ“ Project Structure
92
+
93
+ - `scripts/`: Installation, syncing, and compliance tools.
94
+ - `specs/`: The "Brain" of your project β€” all planning and decisions live here.
95
+ - `docs/references/`: Theoretical foundations (Uncle Bob, Ousterhout, Karpathy, etc.).
96
+ - `[skill-name]/`: Source files for each of the 44+ skills.
97
+
98
+ ---
99
+
100
+ ## 🀝 References & Credits
101
+
102
+ `bigpowers` stands on the shoulders of giants. It integrates patterns from:
103
+ - **Akita**: Architectural patterns.
104
+ - **BMAD**: Bold, Minimal, Actionable, Durable documentation.
105
+ - **Clean Code**: Robert C. Martin (Uncle Bob).
106
+ - **A Philosophy of Software Design**: John Ousterhout.
107
+ - **GSD (Get Stuff Done)**: Pragmatic workflow frameworks.
108
+
109
+ ---
110
+
111
+ ## πŸ“„ License
112
+
113
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
114
+
115
+ ---
116
+ *β€œSimplicity is the ultimate sophistication, but integrity is the ultimate requirement.”*
package/RELEASE.md ADDED
@@ -0,0 +1,108 @@
1
+ # Release & Publishing Guide
2
+
3
+ ## Quick Start
4
+
5
+ ### 1. Setup (one-time)
6
+
7
+ ```bash
8
+ # Add NPM_TOKEN to GitHub Secrets
9
+ # β†’ GitHub repo β†’ Settings β†’ Secrets and variables β†’ Actions
10
+ # β†’ New secret: NPM_TOKEN (from npmjs.org β†’ Access Tokens)
11
+
12
+ # Commit setup
13
+ git add .github/ .releaserc.json .gitmessage package.json package-lock.json
14
+ git commit -m "chore: add semantic-release automation"
15
+ git push origin main
16
+ ```
17
+
18
+ ### 2. Making Releases
19
+
20
+ **Just commit with conventional messages:**
21
+
22
+ ```bash
23
+ git commit -m "feat(new-skill): add orchestrate-project skill"
24
+ git commit -m "fix(sync-skills): handle missing directories"
25
+ git push origin main
26
+ ```
27
+
28
+ **Automatically:**
29
+ - βœ… Analyzes commits
30
+ - βœ… Bumps version (semver)
31
+ - βœ… Updates CHANGELOG.md
32
+ - βœ… Creates git tag (v1.2.3)
33
+ - βœ… Publishes to npm
34
+ - βœ… Creates GitHub Release
35
+
36
+ ### 3. Check Release Status
37
+
38
+ ```bash
39
+ # View Actions
40
+ # GitHub β†’ Actions β†’ Release workflow
41
+
42
+ # View published version
43
+ npm view bigpowers
44
+
45
+ # View releases
46
+ # GitHub β†’ Releases
47
+ ```
48
+
49
+ ## Commit Message Format
50
+
51
+ **Required for automatic releases:**
52
+
53
+ ```
54
+ feat(scope): description # Minor version bump (1.0.0 β†’ 1.1.0)
55
+ fix(scope): description # Patch version bump (1.0.0 β†’ 1.0.1)
56
+ docs: description # No version bump
57
+ ```
58
+
59
+ **Examples:**
60
+ ```
61
+ feat(skills): add new craft-skill command
62
+ fix(sync): handle edge case in directory creation
63
+ docs: update README with examples
64
+ feat(develop-tdd)!: redesign test structure # Major bump (BREAKING)
65
+ ```
66
+
67
+ See `.github/CONVENTIONAL-COMMITS.md` for full format.
68
+
69
+ ## Manual Release (Local)
70
+
71
+ ```bash
72
+ export GITHUB_TOKEN=$(gh auth token)
73
+ export NPM_TOKEN=[from npmjs.org]
74
+
75
+ npm run release
76
+ ```
77
+
78
+ ## Version History
79
+
80
+ All releases in:
81
+ - `CHANGELOG.md` β€” generated from commits
82
+ - GitHub β†’ Releases β€” GitHub release page
83
+ - `npm view bigpowers versions` β€” all npm versions
84
+
85
+ ## Troubleshooting
86
+
87
+ **No release created after push?**
88
+ β†’ Commits may not follow conventional format
89
+ β†’ Check Actions log: GitHub β†’ Actions β†’ Release workflow
90
+
91
+ **"ENOAUTH" error?**
92
+ β†’ Verify NPM_TOKEN in GitHub Secrets
93
+
94
+ **Want to skip release for a commit?**
95
+ β†’ Add `[skip ci]` in commit message:
96
+ ```
97
+ chore: update docs [skip ci]
98
+ ```
99
+
100
+ ## Architecture
101
+
102
+ - `.releaserc.json` β€” configuration
103
+ - `.github/workflows/publish.yml` β€” GitHub Actions workflow
104
+ - `.gitmessage` β€” commit template (optional)
105
+ - `package.json` β€” version source of truth
106
+ - `CHANGELOG.md` β€” auto-generated release notes
107
+
108
+ See `.github/SEMANTIC-RELEASE.md` for detailed setup.