godpowers 0.15.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.
- package/AGENTS.md +37 -0
- package/CHANGELOG.md +639 -0
- package/INSPIRATION.md +52 -0
- package/LICENSE +21 -0
- package/README.md +232 -0
- package/SKILL.md +500 -0
- package/agents/god-archaeologist.md +139 -0
- package/agents/god-architect.md +92 -0
- package/agents/god-auditor.md +150 -0
- package/agents/god-browser-tester.md +144 -0
- package/agents/god-context-writer.md +137 -0
- package/agents/god-coordinator.md +138 -0
- package/agents/god-debt-assessor.md +132 -0
- package/agents/god-debugger.md +77 -0
- package/agents/god-deploy-engineer.md +87 -0
- package/agents/god-deps-auditor.md +111 -0
- package/agents/god-design-reviewer.md +137 -0
- package/agents/god-designer.md +171 -0
- package/agents/god-docs-writer.md +102 -0
- package/agents/god-executor.md +76 -0
- package/agents/god-explorer.md +110 -0
- package/agents/god-harden-auditor.md +163 -0
- package/agents/god-incident-investigator.md +144 -0
- package/agents/god-launch-strategist.md +103 -0
- package/agents/god-migration-strategist.md +126 -0
- package/agents/god-observability-engineer.md +76 -0
- package/agents/god-orchestrator.md +728 -0
- package/agents/god-org-context-loader.md +124 -0
- package/agents/god-planner.md +73 -0
- package/agents/god-pm.md +105 -0
- package/agents/god-quality-reviewer.md +74 -0
- package/agents/god-reconciler.md +230 -0
- package/agents/god-reconstructor.md +124 -0
- package/agents/god-repo-scaffolder.md +60 -0
- package/agents/god-retrospective.md +109 -0
- package/agents/god-roadmap-reconciler.md +123 -0
- package/agents/god-roadmap-updater.md +89 -0
- package/agents/god-roadmapper.md +82 -0
- package/agents/god-spec-reviewer.md +70 -0
- package/agents/god-spike-runner.md +119 -0
- package/agents/god-stack-selector.md +93 -0
- package/agents/god-standards-check.md +132 -0
- package/agents/god-storyteller.md +116 -0
- package/agents/god-updater.md +174 -0
- package/bin/install.js +514 -0
- package/extensions/data-pack/README.md +33 -0
- package/extensions/data-pack/agents/god-dashboard-builder.md +66 -0
- package/extensions/data-pack/agents/god-etl-engineer.md +64 -0
- package/extensions/data-pack/agents/god-ml-feature-engineer.md +66 -0
- package/extensions/data-pack/manifest.yaml +39 -0
- package/extensions/data-pack/package.json +42 -0
- package/extensions/data-pack/skills/god-dashboard.md +28 -0
- package/extensions/data-pack/skills/god-etl.md +28 -0
- package/extensions/data-pack/skills/god-ml-feature.md +28 -0
- package/extensions/data-pack/workflows/dashboard-arc.yaml +13 -0
- package/extensions/data-pack/workflows/etl-arc.yaml +13 -0
- package/extensions/data-pack/workflows/ml-feature-arc.yaml +13 -0
- package/extensions/launch-pack/README.md +36 -0
- package/extensions/launch-pack/agents/god-indie-hackers-strategist.md +128 -0
- package/extensions/launch-pack/agents/god-oss-release-strategist.md +125 -0
- package/extensions/launch-pack/agents/god-product-hunt-strategist.md +118 -0
- package/extensions/launch-pack/agents/god-show-hn-strategist.md +113 -0
- package/extensions/launch-pack/manifest.yaml +45 -0
- package/extensions/launch-pack/package.json +41 -0
- package/extensions/launch-pack/skills/god-indie-hackers.md +39 -0
- package/extensions/launch-pack/skills/god-oss-release.md +43 -0
- package/extensions/launch-pack/skills/god-product-hunt.md +41 -0
- package/extensions/launch-pack/skills/god-show-hn.md +40 -0
- package/extensions/launch-pack/workflows/indie-hackers.yaml +13 -0
- package/extensions/launch-pack/workflows/oss-release.yaml +13 -0
- package/extensions/launch-pack/workflows/product-hunt.yaml +13 -0
- package/extensions/launch-pack/workflows/show-hn.yaml +13 -0
- package/extensions/security-pack/README.md +48 -0
- package/extensions/security-pack/agents/god-hipaa-auditor.md +117 -0
- package/extensions/security-pack/agents/god-pci-auditor.md +100 -0
- package/extensions/security-pack/agents/god-soc2-auditor.md +107 -0
- package/extensions/security-pack/manifest.yaml +39 -0
- package/extensions/security-pack/package.json +42 -0
- package/extensions/security-pack/skills/god-hipaa-audit.md +41 -0
- package/extensions/security-pack/skills/god-pci-audit.md +40 -0
- package/extensions/security-pack/skills/god-soc2-audit.md +42 -0
- package/extensions/security-pack/workflows/hipaa-arc.yaml +15 -0
- package/extensions/security-pack/workflows/pci-arc.yaml +15 -0
- package/extensions/security-pack/workflows/soc2-arc.yaml +15 -0
- package/hooks/pre-tool-use.sh +40 -0
- package/hooks/session-start.sh +74 -0
- package/lib/README.md +28 -0
- package/lib/agent-browser-driver.js +215 -0
- package/lib/agent-cache.js +194 -0
- package/lib/agent-validator.js +275 -0
- package/lib/artifact-diff.js +168 -0
- package/lib/artifact-linter.js +142 -0
- package/lib/awesome-design.js +312 -0
- package/lib/browser-bridge.js +209 -0
- package/lib/budget.js +215 -0
- package/lib/checkpoint.js +390 -0
- package/lib/code-scanner.js +262 -0
- package/lib/context-budget.js +170 -0
- package/lib/context-writer.js +348 -0
- package/lib/cost-tracker.js +325 -0
- package/lib/cross-artifact-impact.js +162 -0
- package/lib/cross-repo-linkage.js +150 -0
- package/lib/design-detector.js +167 -0
- package/lib/design-spec.js +348 -0
- package/lib/drift-detector.js +212 -0
- package/lib/event-reader.js +174 -0
- package/lib/events.js +183 -0
- package/lib/extensions.js +257 -0
- package/lib/have-nots-validator.js +647 -0
- package/lib/impact.js +314 -0
- package/lib/impeccable-bridge.js +139 -0
- package/lib/intent.js +177 -0
- package/lib/linkage.js +232 -0
- package/lib/meta-linter.js +263 -0
- package/lib/multi-repo-detector.js +182 -0
- package/lib/otel-exporter.js +308 -0
- package/lib/recipes.js +186 -0
- package/lib/reverse-sync.js +332 -0
- package/lib/review-required.js +224 -0
- package/lib/router.js +278 -0
- package/lib/runtime-audit.js +455 -0
- package/lib/runtime-test.js +309 -0
- package/lib/skillui-bridge.js +216 -0
- package/lib/state-lock.js +201 -0
- package/lib/state.js +142 -0
- package/lib/story-validator.js +301 -0
- package/lib/suite-state.js +220 -0
- package/lib/workflow-parser.js +109 -0
- package/lib/workflow-runner.js +221 -0
- package/package.json +63 -0
- package/references/HAVE-NOTS.md +573 -0
- package/references/building/BUILD-ANTIPATTERNS.md +102 -0
- package/references/building/BUILD-VERTICAL-SLICES.md +75 -0
- package/references/building/BUILD-WAVES.md +61 -0
- package/references/building/README.md +17 -0
- package/references/design/COLOR.md +122 -0
- package/references/design/DESIGN-ANATOMY.md +121 -0
- package/references/design/DESIGN-ANTIPATTERNS.md +108 -0
- package/references/design/INTERACTION.md +148 -0
- package/references/design/MOTION.md +120 -0
- package/references/design/RESPONSIVE.md +157 -0
- package/references/design/SPATIAL.md +109 -0
- package/references/design/TYPOGRAPHY.md +121 -0
- package/references/design/UX-WRITING.md +135 -0
- package/references/orchestration/MODE-DETECTION.md +74 -0
- package/references/orchestration/README.md +18 -0
- package/references/orchestration/SCALE-DETECTION.md +81 -0
- package/references/planning/ARCH-ANATOMY.md +143 -0
- package/references/planning/ARCH-ANTIPATTERNS.md +52 -0
- package/references/planning/PRD-ANATOMY.md +117 -0
- package/references/planning/PRD-ANTIPATTERNS.md +138 -0
- package/references/planning/README.md +16 -0
- package/references/planning/ROADMAP-ANATOMY.md +43 -0
- package/references/planning/ROADMAP-ANTIPATTERNS.md +94 -0
- package/references/planning/STACK-ANATOMY.md +60 -0
- package/references/planning/STACK-ANTIPATTERNS.md +95 -0
- package/references/shared/GLOSSARY.md +80 -0
- package/references/shared/ORCHESTRATORS.md +76 -0
- package/references/shared/README.md +14 -0
- package/references/shipping/DEPLOY-ANTIPATTERNS.md +64 -0
- package/references/shipping/DEPLOY-PATTERNS.md +110 -0
- package/references/shipping/HARDEN-ANTIPATTERNS.md +66 -0
- package/references/shipping/HARDEN-OWASP-WORKSHEETS.md +89 -0
- package/references/shipping/LAUNCH-ANTIPATTERNS.md +68 -0
- package/references/shipping/OBSERVE-ANTIPATTERNS.md +62 -0
- package/references/shipping/OBSERVE-SLO-EXAMPLES.md +107 -0
- package/references/shipping/README.md +18 -0
- package/routing/god-add-backlog.yaml +24 -0
- package/routing/god-add-tests.yaml +27 -0
- package/routing/god-add-todo.yaml +24 -0
- package/routing/god-agent-audit.yaml +24 -0
- package/routing/god-arch.yaml +46 -0
- package/routing/god-archaeology.yaml +28 -0
- package/routing/god-audit.yaml +32 -0
- package/routing/god-budget.yaml +24 -0
- package/routing/god-build-agent.yaml +24 -0
- package/routing/god-build.yaml +46 -0
- package/routing/god-cache-clear.yaml +24 -0
- package/routing/god-check-todos.yaml +24 -0
- package/routing/god-context-scan.yaml +24 -0
- package/routing/god-context.yaml +44 -0
- package/routing/god-cost.yaml +24 -0
- package/routing/god-debug.yaml +28 -0
- package/routing/god-deploy.yaml +34 -0
- package/routing/god-design-impact.yaml +25 -0
- package/routing/god-design.yaml +67 -0
- package/routing/god-discuss.yaml +27 -0
- package/routing/god-docs.yaml +33 -0
- package/routing/god-doctor.yaml +27 -0
- package/routing/god-explore.yaml +27 -0
- package/routing/god-extension-add.yaml +24 -0
- package/routing/god-extension-info.yaml +24 -0
- package/routing/god-extension-list.yaml +24 -0
- package/routing/god-extension-remove.yaml +24 -0
- package/routing/god-extract-learnings.yaml +24 -0
- package/routing/god-fast.yaml +27 -0
- package/routing/god-feature.yaml +34 -0
- package/routing/god-graph.yaml +24 -0
- package/routing/god-harden.yaml +41 -0
- package/routing/god-help.yaml +27 -0
- package/routing/god-hotfix.yaml +34 -0
- package/routing/god-hygiene.yaml +28 -0
- package/routing/god-init.yaml +37 -0
- package/routing/god-intel.yaml +24 -0
- package/routing/god-launch.yaml +41 -0
- package/routing/god-lifecycle.yaml +27 -0
- package/routing/god-link.yaml +24 -0
- package/routing/god-lint.yaml +24 -0
- package/routing/god-list-assumptions.yaml +27 -0
- package/routing/god-locate.yaml +24 -0
- package/routing/god-logs.yaml +24 -0
- package/routing/god-map-codebase.yaml +24 -0
- package/routing/god-metrics.yaml +24 -0
- package/routing/god-mode.yaml +31 -0
- package/routing/god-next.yaml +27 -0
- package/routing/god-note.yaml +24 -0
- package/routing/god-observe.yaml +34 -0
- package/routing/god-org-context.yaml +28 -0
- package/routing/god-party.yaml +24 -0
- package/routing/god-pause-work.yaml +27 -0
- package/routing/god-plant-seed.yaml +24 -0
- package/routing/god-postmortem.yaml +34 -0
- package/routing/god-pr-branch.yaml +25 -0
- package/routing/god-prd.yaml +49 -0
- package/routing/god-quick.yaml +28 -0
- package/routing/god-reconcile.yaml +48 -0
- package/routing/god-reconstruct.yaml +36 -0
- package/routing/god-redo.yaml +27 -0
- package/routing/god-refactor.yaml +36 -0
- package/routing/god-repair.yaml +27 -0
- package/routing/god-repo.yaml +35 -0
- package/routing/god-restore.yaml +27 -0
- package/routing/god-resume-work.yaml +27 -0
- package/routing/god-review-changes.yaml +25 -0
- package/routing/god-review.yaml +28 -0
- package/routing/god-roadmap-check.yaml +39 -0
- package/routing/god-roadmap-update.yaml +37 -0
- package/routing/god-roadmap.yaml +42 -0
- package/routing/god-rollback.yaml +27 -0
- package/routing/god-scan.yaml +24 -0
- package/routing/god-set-profile.yaml +24 -0
- package/routing/god-settings.yaml +24 -0
- package/routing/god-skip.yaml +27 -0
- package/routing/god-smite.yaml +29 -0
- package/routing/god-spike.yaml +35 -0
- package/routing/god-sprint.yaml +25 -0
- package/routing/god-stack.yaml +41 -0
- package/routing/god-standards.yaml +24 -0
- package/routing/god-status.yaml +27 -0
- package/routing/god-stories.yaml +24 -0
- package/routing/god-story-build.yaml +25 -0
- package/routing/god-story-close.yaml +25 -0
- package/routing/god-story-verify.yaml +25 -0
- package/routing/god-story.yaml +24 -0
- package/routing/god-suite-init.yaml +24 -0
- package/routing/god-suite-patch.yaml +25 -0
- package/routing/god-suite-release.yaml +25 -0
- package/routing/god-suite-status.yaml +25 -0
- package/routing/god-suite-sync.yaml +25 -0
- package/routing/god-sync.yaml +33 -0
- package/routing/god-tech-debt.yaml +32 -0
- package/routing/god-test-extension.yaml +24 -0
- package/routing/god-test-runtime.yaml +25 -0
- package/routing/god-thread.yaml +24 -0
- package/routing/god-trace.yaml +24 -0
- package/routing/god-undo.yaml +27 -0
- package/routing/god-update-deps.yaml +39 -0
- package/routing/god-upgrade.yaml +33 -0
- package/routing/god-version.yaml +24 -0
- package/routing/god-workstream.yaml +24 -0
- package/routing/god.yaml +24 -0
- package/routing/recipes/add-feature-defer-current-milestone.yaml +21 -0
- package/routing/recipes/add-feature-future-conditional.yaml +21 -0
- package/routing/recipes/add-feature-mid-arc-pause.yaml +33 -0
- package/routing/recipes/add-feature-next-milestone.yaml +23 -0
- package/routing/recipes/add-feature-parallel.yaml +29 -0
- package/routing/recipes/add-feature-prd-update.yaml +21 -0
- package/routing/recipes/add-feature-small.yaml +24 -0
- package/routing/recipes/add-feature-tiny.yaml +24 -0
- package/routing/recipes/bluefield-org-aware.yaml +27 -0
- package/routing/recipes/broken-install.yaml +22 -0
- package/routing/recipes/brownfield-onboarding.yaml +32 -0
- package/routing/recipes/bug-no-urgency.yaml +21 -0
- package/routing/recipes/capture-idea.yaml +22 -0
- package/routing/recipes/capture-todo.yaml +21 -0
- package/routing/recipes/clean-pr.yaml +21 -0
- package/routing/recipes/code-cleanup.yaml +23 -0
- package/routing/recipes/docs-drift.yaml +21 -0
- package/routing/recipes/existing-codebase-onboarding.yaml +32 -0
- package/routing/recipes/extract-learnings.yaml +22 -0
- package/routing/recipes/greenfield-fast.yaml +25 -0
- package/routing/recipes/greenfield-manual.yaml +32 -0
- package/routing/recipes/greenfield-with-ideation.yaml +29 -0
- package/routing/recipes/incident-postmortem.yaml +24 -0
- package/routing/recipes/major-framework-upgrade.yaml +23 -0
- package/routing/recipes/monthly-deps.yaml +22 -0
- package/routing/recipes/multi-repo-suite.yaml +56 -0
- package/routing/recipes/parallel-engineers.yaml +26 -0
- package/routing/recipes/pause-handoff.yaml +21 -0
- package/routing/recipes/production-broken.yaml +26 -0
- package/routing/recipes/rerun-tier.yaml +21 -0
- package/routing/recipes/returning-after-break.yaml +31 -0
- package/routing/recipes/state-drift.yaml +21 -0
- package/routing/recipes/undo-last.yaml +21 -0
- package/routing/recipes/weekly-health-check.yaml +24 -0
- package/routing/recipes/whats-next.yaml +22 -0
- package/routing/recipes/where-am-i.yaml +21 -0
- package/schema/events.v1.json +63 -0
- package/schema/extension-manifest.v1.json +84 -0
- package/schema/intent.v1.yaml.json +116 -0
- package/schema/recipe.v1.json +120 -0
- package/schema/routing.v1.json +163 -0
- package/schema/state.v1.json +146 -0
- package/schema/workflow.v1.json +96 -0
- package/skills/god-add-backlog.md +40 -0
- package/skills/god-add-tests.md +53 -0
- package/skills/god-add-todo.md +32 -0
- package/skills/god-agent-audit.md +87 -0
- package/skills/god-arch.md +81 -0
- package/skills/god-archaeology.md +48 -0
- package/skills/god-audit.md +65 -0
- package/skills/god-budget.md +103 -0
- package/skills/god-build-agent.md +91 -0
- package/skills/god-build.md +90 -0
- package/skills/god-cache-clear.md +75 -0
- package/skills/god-check-todos.md +42 -0
- package/skills/god-context-scan.md +125 -0
- package/skills/god-context.md +147 -0
- package/skills/god-cost.md +118 -0
- package/skills/god-debug.md +30 -0
- package/skills/god-deploy.md +76 -0
- package/skills/god-design-impact.md +86 -0
- package/skills/god-design.md +275 -0
- package/skills/god-discuss.md +46 -0
- package/skills/god-docs.md +81 -0
- package/skills/god-doctor.md +94 -0
- package/skills/god-explore.md +50 -0
- package/skills/god-export-otel.md +87 -0
- package/skills/god-extension-add.md +79 -0
- package/skills/god-extension-info.md +75 -0
- package/skills/god-extension-list.md +55 -0
- package/skills/god-extension-remove.md +66 -0
- package/skills/god-extract-learnings.md +60 -0
- package/skills/god-fast.md +47 -0
- package/skills/god-feature.md +114 -0
- package/skills/god-graph.md +56 -0
- package/skills/god-harden.md +106 -0
- package/skills/god-help.md +66 -0
- package/skills/god-hotfix.md +139 -0
- package/skills/god-hygiene.md +104 -0
- package/skills/god-init.md +161 -0
- package/skills/god-intel.md +36 -0
- package/skills/god-launch.md +86 -0
- package/skills/god-lifecycle.md +119 -0
- package/skills/god-link.md +90 -0
- package/skills/god-lint.md +128 -0
- package/skills/god-list-assumptions.md +56 -0
- package/skills/god-locate.md +97 -0
- package/skills/god-logs.md +57 -0
- package/skills/god-map-codebase.md +45 -0
- package/skills/god-metrics.md +51 -0
- package/skills/god-mode.md +159 -0
- package/skills/god-next.md +257 -0
- package/skills/god-note.md +39 -0
- package/skills/god-observe.md +76 -0
- package/skills/god-org-context.md +81 -0
- package/skills/god-party.md +87 -0
- package/skills/god-pause-work.md +64 -0
- package/skills/god-plant-seed.md +59 -0
- package/skills/god-postmortem.md +103 -0
- package/skills/god-pr-branch.md +50 -0
- package/skills/god-prd.md +90 -0
- package/skills/god-quick.md +50 -0
- package/skills/god-reconcile.md +90 -0
- package/skills/god-reconstruct.md +72 -0
- package/skills/god-redo.md +73 -0
- package/skills/god-refactor.md +137 -0
- package/skills/god-repair.md +82 -0
- package/skills/god-repo.md +49 -0
- package/skills/god-restore.md +91 -0
- package/skills/god-resume-work.md +42 -0
- package/skills/god-review-changes.md +93 -0
- package/skills/god-review.md +52 -0
- package/skills/god-roadmap-check.md +66 -0
- package/skills/god-roadmap-update.md +64 -0
- package/skills/god-roadmap.md +77 -0
- package/skills/god-rollback.md +88 -0
- package/skills/god-scan.md +106 -0
- package/skills/god-set-profile.md +58 -0
- package/skills/god-settings.md +44 -0
- package/skills/god-skip.md +78 -0
- package/skills/god-smite.md +86 -0
- package/skills/god-spike.md +120 -0
- package/skills/god-sprint.md +77 -0
- package/skills/god-stack.md +74 -0
- package/skills/god-standards.md +62 -0
- package/skills/god-status.md +99 -0
- package/skills/god-stories.md +60 -0
- package/skills/god-story-build.md +76 -0
- package/skills/god-story-close.md +82 -0
- package/skills/god-story-verify.md +71 -0
- package/skills/god-story.md +55 -0
- package/skills/god-suite-init.md +75 -0
- package/skills/god-suite-patch.md +64 -0
- package/skills/god-suite-release.md +58 -0
- package/skills/god-suite-status.md +63 -0
- package/skills/god-suite-sync.md +49 -0
- package/skills/god-sync.md +102 -0
- package/skills/god-tech-debt.md +56 -0
- package/skills/god-test-extension.md +87 -0
- package/skills/god-test-runtime.md +144 -0
- package/skills/god-thread.md +39 -0
- package/skills/god-trace.md +50 -0
- package/skills/god-undo.md +68 -0
- package/skills/god-update-deps.md +134 -0
- package/skills/god-upgrade.md +139 -0
- package/skills/god-version.md +37 -0
- package/skills/god-workstream.md +61 -0
- package/skills/god.md +207 -0
- package/templates/ARCH.md +99 -0
- package/templates/DEPS-AUDIT.md +66 -0
- package/templates/DESIGN.md +71 -0
- package/templates/DOCS-UPDATE-LOG.md +64 -0
- package/templates/HARDEN-FINDINGS.md +69 -0
- package/templates/MIGRATION.md +86 -0
- package/templates/POSTMORTEM.md +88 -0
- package/templates/PRD.md +80 -0
- package/templates/PROGRESS.md +49 -0
- package/templates/ROADMAP.md +47 -0
- package/templates/SPIKE.md +72 -0
- package/templates/STACK-DECISION.md +61 -0
- package/workflows/audit-only.yaml +22 -0
- package/workflows/bluefield-arc.yaml +87 -0
- package/workflows/brownfield-arc.yaml +44 -0
- package/workflows/deps-audit.yaml +56 -0
- package/workflows/docs-arc.yaml +22 -0
- package/workflows/feature-arc.yaml +59 -0
- package/workflows/full-arc.yaml +84 -0
- package/workflows/hotfix-arc.yaml +59 -0
- package/workflows/hygiene.yaml +43 -0
- package/workflows/migration-arc.yaml +73 -0
- package/workflows/postmortem.yaml +31 -0
- package/workflows/refactor-arc.yaml +59 -0
- package/workflows/spike.yaml +23 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-agent-audit
|
|
3
|
+
description: |
|
|
4
|
+
Validates every `agents/*.md` against the agent contract:
|
|
5
|
+
required frontmatter, recommended sections (Have-Nots, Inputs,
|
|
6
|
+
Outputs, Handoff), hand-off targets exist, no dual-ownership of
|
|
7
|
+
output paths. Lenient by design: most issues are warnings; only
|
|
8
|
+
structural breakage errors.
|
|
9
|
+
|
|
10
|
+
Triggers on: "god agent audit", "/god-agent-audit", "audit agents",
|
|
11
|
+
"validate agent contracts"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# /god-agent-audit
|
|
15
|
+
|
|
16
|
+
Mechanical validation of agent contracts. Backed by `lib/agent-validator.js`.
|
|
17
|
+
|
|
18
|
+
## Forms
|
|
19
|
+
|
|
20
|
+
| Form | Action |
|
|
21
|
+
|---|---|
|
|
22
|
+
| `/god-agent-audit` | Default human-readable report |
|
|
23
|
+
| `/god-agent-audit --json` | Structured JSON output |
|
|
24
|
+
| `/god-agent-audit --errors-only` | Skip warnings and infos |
|
|
25
|
+
| `/god-agent-audit --fix` | Append placeholder for missing recommended sections (info-level only) |
|
|
26
|
+
|
|
27
|
+
## What gets checked
|
|
28
|
+
|
|
29
|
+
**Required (errors)**:
|
|
30
|
+
- Frontmatter `name` field
|
|
31
|
+
- Frontmatter `description` field
|
|
32
|
+
|
|
33
|
+
**Recommended (warnings)**:
|
|
34
|
+
- Frontmatter `tools` field
|
|
35
|
+
- Hand-off targets that are referenced exist as agent files
|
|
36
|
+
- Output paths claimed by 4+ agents (boundary review needed)
|
|
37
|
+
|
|
38
|
+
**Recommended (info)**:
|
|
39
|
+
- Each agent should have these sections somewhere:
|
|
40
|
+
- "Have-Nots" (or equivalent failure list)
|
|
41
|
+
- "Inputs" (what it reads)
|
|
42
|
+
- "Outputs" (what it writes)
|
|
43
|
+
- "Handoff" (where it returns / what it spawns)
|
|
44
|
+
|
|
45
|
+
The info-level suggestions are non-blocking. They surface as polish
|
|
46
|
+
opportunities, not failures.
|
|
47
|
+
|
|
48
|
+
## Output
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
Agent audit
|
|
52
|
+
|
|
53
|
+
37 agents audited
|
|
54
|
+
0 errors, 2 warnings, 90 infos
|
|
55
|
+
|
|
56
|
+
Errors:
|
|
57
|
+
(none)
|
|
58
|
+
|
|
59
|
+
Warnings:
|
|
60
|
+
[multi-ownership] STATE.md claimed by 4 agents (verify boundaries)
|
|
61
|
+
[multi-ownership] .godpowers/roadmap/ROADMAP.md claimed by 4 agents
|
|
62
|
+
|
|
63
|
+
Infos: 90 missing-recommended-section suggestions across agents
|
|
64
|
+
(run with --json for full list)
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Backward-compatibility promise
|
|
68
|
+
|
|
69
|
+
This skill never breaks existing agents that don't yet have the
|
|
70
|
+
recommended sections. Errors fire only on real structural issues
|
|
71
|
+
(missing required frontmatter, broken hand-off targets, conflicting
|
|
72
|
+
output ownership).
|
|
73
|
+
|
|
74
|
+
The `--fix` flag inserts placeholder sections so contributors can
|
|
75
|
+
fill them in incrementally. It never modifies content that's already
|
|
76
|
+
present.
|
|
77
|
+
|
|
78
|
+
## Integration
|
|
79
|
+
|
|
80
|
+
`/god-agent-audit` is part of the standard test suite (npm test).
|
|
81
|
+
Agent contract violations become regression failures: contracts can
|
|
82
|
+
only get tighter over time, not looser.
|
|
83
|
+
|
|
84
|
+
## See also
|
|
85
|
+
|
|
86
|
+
- `lib/agent-validator.js` - parser + validator
|
|
87
|
+
- `docs/agent-specs.md` - per-agent specifications (canonical reference)
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-arch
|
|
3
|
+
description: |
|
|
4
|
+
Design system architecture. Spawns the god-architect specialist agent in a
|
|
5
|
+
fresh context. Gated on PRD.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god arch", "/god-arch", "design architecture", "system design"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /god-arch
|
|
11
|
+
|
|
12
|
+
Spawn the **god-architect** agent in a fresh context via Task tool.
|
|
13
|
+
|
|
14
|
+
## Setup
|
|
15
|
+
|
|
16
|
+
1. Verify `.godpowers/prd/PRD.md` exists. If not, tell user to run `/god-prd` first.
|
|
17
|
+
2. Spawn god-auditor briefly to verify PRD passes have-nots. If fails, report and stop.
|
|
18
|
+
3. Spawn god-architect with the PRD path and full context window
|
|
19
|
+
4. The agent writes `.godpowers/arch/ARCH.md` and ADRs to `.godpowers/arch/adr/`
|
|
20
|
+
|
|
21
|
+
## Verification
|
|
22
|
+
|
|
23
|
+
After god-architect returns:
|
|
24
|
+
1. Verify ARCH.md and ADRs exist on disk
|
|
25
|
+
2. Spawn god-auditor to verify have-nots pass
|
|
26
|
+
3. Update `.godpowers/PROGRESS.md`: Architecture status = done
|
|
27
|
+
|
|
28
|
+
## Pause Format
|
|
29
|
+
|
|
30
|
+
Relay any pauses from god-architect using the standard format (What/Why/Options/Default).
|
|
31
|
+
|
|
32
|
+
## On Completion
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
Architecture complete: .godpowers/arch/ARCH.md
|
|
36
|
+
|
|
37
|
+
Suggested next: /god-roadmap (sequence the work) or /god-stack (pick the tech)
|
|
38
|
+
Both are gated on ARCH and can run in either order.
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
## Re-invocation contract
|
|
43
|
+
|
|
44
|
+
What happens if `/god-arch` is run when `.godpowers/arch/ARCH.md` already exists:
|
|
45
|
+
|
|
46
|
+
| Existing state | Behavior |
|
|
47
|
+
|---|---|
|
|
48
|
+
| File does not exist | Spawn god-architect; produce file; mark sub-step done |
|
|
49
|
+
| File exists, passes lint, state.json says `done` | Pause: ask user (A) re-run anyway with diff preview, (B) treat as imported (no-op), (C) cancel |
|
|
50
|
+
| File exists, fails lint or have-nots | Spawn god-architect in update mode with current file + findings as input. Diff preview before overwrite. |
|
|
51
|
+
| File exists, state.json says `pending` | Treat as imported: hash + register, no agent spawn. User can `/god-arch --force` to re-run. |
|
|
52
|
+
| `--force` flag passed | Snapshot existing file to `.godpowers/.trash/god-arch-<ts>/`. Spawn agent fresh. |
|
|
53
|
+
| `--dry-run` flag passed | Show what would happen; touch nothing |
|
|
54
|
+
|
|
55
|
+
Snapshots in `.trash/` are recoverable via `/god-restore` for 30 days.
|
|
56
|
+
The reflog records every god-arch invocation as `op:god-arch` for `/god-undo`.
|
|
57
|
+
|
|
58
|
+
### Idempotency guarantees
|
|
59
|
+
|
|
60
|
+
- Running `/god-arch` twice with no user input between them is a no-op
|
|
61
|
+
(second call detects the artifact and pauses).
|
|
62
|
+
- Running `/god-arch --dry-run` is always read-only.
|
|
63
|
+
- An interrupted `/god-arch` (agent crashes mid-run) leaves state.json
|
|
64
|
+
with `status: failed` and the artifact path either missing or marked
|
|
65
|
+
for `/god-repair` review. Re-running picks up cleanly.
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
## Locking
|
|
69
|
+
|
|
70
|
+
The orchestrator acquires a state-lock before this skill mutates anything,
|
|
71
|
+
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
72
|
+
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
73
|
+
same holder; force-reclaimable if stale via `/god-repair`.
|
|
74
|
+
|
|
75
|
+
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
76
|
+
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
77
|
+
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
78
|
+
writer pauses or routes elsewhere via `/god-next`.
|
|
79
|
+
|
|
80
|
+
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
81
|
+
the full contract.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-archaeology
|
|
3
|
+
description: |
|
|
4
|
+
Deep code archaeology for brownfield projects. Goes beyond /god-map-codebase
|
|
5
|
+
by tracing history, surfacing tribal knowledge, identifying risk areas, and
|
|
6
|
+
reconstructing decisions from evidence in the code.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god archaeology", "/god-archaeology", "code archaeology",
|
|
9
|
+
"understand legacy", "deep code analysis"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-archaeology
|
|
13
|
+
|
|
14
|
+
Deep brownfield code analysis.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- Inheriting an existing codebase
|
|
19
|
+
- Before significant refactor or migration
|
|
20
|
+
- Onboarding to a complex legacy system
|
|
21
|
+
- After /god-map-codebase wasn't deep enough
|
|
22
|
+
|
|
23
|
+
## Setup
|
|
24
|
+
|
|
25
|
+
1. Verify there's existing code to analyze (not an empty dir)
|
|
26
|
+
2. Spawn god-archaeologist in fresh context
|
|
27
|
+
|
|
28
|
+
## Verification
|
|
29
|
+
|
|
30
|
+
- `.godpowers/archaeology/REPORT.md` exists
|
|
31
|
+
- Report covers: history, decisions, conventions, risks, tribal knowledge
|
|
32
|
+
- High-risk files explicitly listed
|
|
33
|
+
- Recommendations are specific (not "be careful")
|
|
34
|
+
|
|
35
|
+
## On Completion
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
Archaeology complete: .godpowers/archaeology/REPORT.md
|
|
39
|
+
|
|
40
|
+
History analyzed: [N] commits over [time period]
|
|
41
|
+
High-risk files identified: [N]
|
|
42
|
+
Open tribal-knowledge questions: [N]
|
|
43
|
+
|
|
44
|
+
Suggested next:
|
|
45
|
+
/god-reconstruct - reverse-engineer planning artifacts from this code
|
|
46
|
+
/god-tech-debt - assess and prioritize debt revealed
|
|
47
|
+
/god-feature - now safe to add new work with archaeology in hand
|
|
48
|
+
```
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-audit
|
|
3
|
+
description: |
|
|
4
|
+
Score existing artifacts against all have-nots. Build nothing. Report gaps
|
|
5
|
+
with prioritized remediation.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god audit", "audit the project", "score artifacts", "check quality"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /god-audit
|
|
11
|
+
|
|
12
|
+
Spawn the **god-auditor** agent in a fresh context via Task tool.
|
|
13
|
+
|
|
14
|
+
## Setup
|
|
15
|
+
|
|
16
|
+
1. Verify `.godpowers/` directory exists. If not: tell user there's nothing to audit.
|
|
17
|
+
2. Spawn god-auditor with instructions: "Run full audit mode. Score every
|
|
18
|
+
artifact against `references/HAVE-NOTS.md`."
|
|
19
|
+
3. The agent writes `.godpowers/AUDIT-REPORT.md`
|
|
20
|
+
|
|
21
|
+
## Verification
|
|
22
|
+
|
|
23
|
+
After god-auditor returns:
|
|
24
|
+
1. Verify AUDIT-REPORT.md exists on disk
|
|
25
|
+
2. Display the summary table to the user
|
|
26
|
+
3. If any artifact scored below 80%: suggest re-running the failing tier
|
|
27
|
+
|
|
28
|
+
## Output Format
|
|
29
|
+
|
|
30
|
+
The agent produces `.godpowers/AUDIT-REPORT.md`:
|
|
31
|
+
|
|
32
|
+
```markdown
|
|
33
|
+
# Godpowers Audit Report
|
|
34
|
+
|
|
35
|
+
Date: [timestamp]
|
|
36
|
+
|
|
37
|
+
## Summary
|
|
38
|
+
|
|
39
|
+
| Artifact | Have-Nots Checked | Passed | Failed | Score |
|
|
40
|
+
|----------|------------------|--------|--------|-------|
|
|
41
|
+
| PRD | 8 | 6 | 2 | 75% |
|
|
42
|
+
| Architecture | 7 | 7 | 0 | 100% |
|
|
43
|
+
| ... | ... | ... | ... | ... |
|
|
44
|
+
|
|
45
|
+
Overall: 85%
|
|
46
|
+
|
|
47
|
+
## Failures (prioritized by impact)
|
|
48
|
+
|
|
49
|
+
### 1. PRD: Target user is generic
|
|
50
|
+
- **Have-not**: Target user is "developers" with no further specificity
|
|
51
|
+
- **Found**: "This is for developers who want to..." (line 14)
|
|
52
|
+
- **Fix**: Replace with specific persona (e.g., "solo founders building SaaS MVPs")
|
|
53
|
+
|
|
54
|
+
### 2. PRD: Success metric has no timeline
|
|
55
|
+
- **Have-not**: Success metric has no timeline
|
|
56
|
+
- **Found**: "1000 users" (line 28) -- no "by when"
|
|
57
|
+
- **Fix**: Add timeline (e.g., "1000 users within 60 days of launch")
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Universal Have-Nots (checked on all artifacts)
|
|
61
|
+
|
|
62
|
+
- AI-slop: passes substitution test
|
|
63
|
+
- Unlabeled sentence: not decision/hypothesis/open question
|
|
64
|
+
- Paper artifact: document exists, mechanism does not
|
|
65
|
+
- Phantom reference: references an artifact that doesn't exist on disk
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-budget
|
|
3
|
+
description: |
|
|
4
|
+
View or set token-budget controls in intent.yaml. Budgets cap
|
|
5
|
+
per-agent context loadout to keep token spend bounded; model
|
|
6
|
+
profiles route routine work to cheaper models; cache enable opts
|
|
7
|
+
into the agent-output cache.
|
|
8
|
+
|
|
9
|
+
Triggers on: "god budget", "/god-budget", "set token cap", "model
|
|
10
|
+
profile", "cheap mode", "enable cache"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /god-budget
|
|
14
|
+
|
|
15
|
+
View or set token-cost saver controls in intent.yaml.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
### `/god-budget`
|
|
20
|
+
Show current budgets in plain English.
|
|
21
|
+
|
|
22
|
+
### `/god-budget --on`
|
|
23
|
+
**One-shot enable.** Writes the recommended defaults to
|
|
24
|
+
`intent.yaml.budgets`:
|
|
25
|
+
- `default-max-tokens: 80000`
|
|
26
|
+
- `model-profile: standard`
|
|
27
|
+
- `cache: true`
|
|
28
|
+
- `cache-ttl-hours: 24`
|
|
29
|
+
|
|
30
|
+
Use this if you want budgeting without thinking about specific
|
|
31
|
+
numbers. Idempotent; running it again is a no-op.
|
|
32
|
+
|
|
33
|
+
### `/god-budget --off`
|
|
34
|
+
**One-shot disable.** Removes the entire `budgets` block from
|
|
35
|
+
`intent.yaml`. Cache stays on disk (clear it with
|
|
36
|
+
`/god-cache-clear --all` if you want to free space). Budget caps no
|
|
37
|
+
longer applied; cache hits no longer consulted on subsequent runs.
|
|
38
|
+
|
|
39
|
+
### `/god-budget --default-max-tokens=N`
|
|
40
|
+
Set the default per-agent context cap. Example: `--default-max-tokens=80000`.
|
|
41
|
+
|
|
42
|
+
### `/god-budget --agent <name> --max-tokens=N`
|
|
43
|
+
Per-agent override. Example: `--agent god-architect --max-tokens=120000`
|
|
44
|
+
(architect gets more context because architecture needs the full PRD).
|
|
45
|
+
|
|
46
|
+
### `/god-budget --profile=<cheap|standard|expensive>`
|
|
47
|
+
Set the default model-profile. cheap routes routine reads to small
|
|
48
|
+
models; standard is the balanced default; expensive uses top-tier
|
|
49
|
+
for everything.
|
|
50
|
+
|
|
51
|
+
### `/god-budget --agent <name> --profile=<cheap|standard|expensive>`
|
|
52
|
+
Per-agent profile override.
|
|
53
|
+
|
|
54
|
+
### `/god-budget --cache=<on|off>`
|
|
55
|
+
Enable/disable the agent-output cache. Default off.
|
|
56
|
+
|
|
57
|
+
### `/god-budget --cache-ttl=<hours>`
|
|
58
|
+
Set cache entry TTL.
|
|
59
|
+
|
|
60
|
+
## Output (view mode)
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
GODPOWERS BUDGETS
|
|
64
|
+
|
|
65
|
+
Defaults:
|
|
66
|
+
Max input tokens per agent: 80,000
|
|
67
|
+
Model profile: standard
|
|
68
|
+
Cache: off (enable with --cache=on)
|
|
69
|
+
Cache TTL: 24 hours
|
|
70
|
+
|
|
71
|
+
Per-agent overrides:
|
|
72
|
+
god-architect: max-tokens=120,000
|
|
73
|
+
god-pm: profile=expensive
|
|
74
|
+
god-status: profile=cheap
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## What each setting actually does
|
|
78
|
+
|
|
79
|
+
| Setting | Effect |
|
|
80
|
+
|---|---|
|
|
81
|
+
| `default-max-tokens` | The orchestrator computes each agent's context loadout (required + optional files) and drops optional files beyond this cap. Required files are always loaded (a `budget.exceeded` event is emitted if they alone exceed the cap). |
|
|
82
|
+
| `model-profile: cheap` | Orchestrator prefers haiku / gpt-4o-mini / flash for non-creative work. Creative agents (god-pm, god-architect, god-designer) still use standard or above. |
|
|
83
|
+
| `cache: true` | Before spawning an agent, compute the cache key. If a non-expired entry exists for that key, emit `cache.hit` and reuse the output. Miss spawns the agent and records the result. |
|
|
84
|
+
| `cache-ttl-hours` | TTL for newly written cache entries. Lower = fresher results but more re-spawns. |
|
|
85
|
+
|
|
86
|
+
## Default behavior (no budget set)
|
|
87
|
+
|
|
88
|
+
- Max tokens per agent: 80,000 (built-in default in `lib/context-budget.js`)
|
|
89
|
+
- Model profile: standard
|
|
90
|
+
- Cache: off
|
|
91
|
+
- TTL: 24 hours
|
|
92
|
+
|
|
93
|
+
## Implementation
|
|
94
|
+
|
|
95
|
+
Built-in. Reads + writes `.godpowers/intent.yaml` against
|
|
96
|
+
`schema/intent.v1.yaml.json`. No agent spawn.
|
|
97
|
+
|
|
98
|
+
## Related
|
|
99
|
+
|
|
100
|
+
- `/god-cost` - what you've spent and saved
|
|
101
|
+
- `/god-cache-clear` - invalidate cache after rule changes
|
|
102
|
+
- `/god-set-profile` - one-time profile change (similar but
|
|
103
|
+
session-scoped instead of project-scoped)
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-build-agent
|
|
3
|
+
description: |
|
|
4
|
+
Create a custom specialist agent. Walks through the agent's purpose, tools,
|
|
5
|
+
spawning conditions, gates, and output contract. Generates a new file in
|
|
6
|
+
.claude/agents/ following the Godpowers agent template.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god build agent", "/god-build-agent", "create custom agent",
|
|
9
|
+
"new specialist"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-build-agent
|
|
13
|
+
|
|
14
|
+
Create a custom specialist agent for this project's specific needs.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- Domain-specific expertise the default agents don't cover (e.g., legal
|
|
19
|
+
reviewer, accessibility auditor, ML model evaluator)
|
|
20
|
+
- Repeatable specialist work that doesn't fit existing agents
|
|
21
|
+
|
|
22
|
+
## Process
|
|
23
|
+
|
|
24
|
+
1. Ask the user 5 questions:
|
|
25
|
+
- **Name**: What should the agent be called? (kebab-case, prefix `god-`)
|
|
26
|
+
- **Purpose**: One sentence: what does this agent do?
|
|
27
|
+
- **Spawned by**: Which slash command(s) invoke it?
|
|
28
|
+
- **Inputs**: What artifacts/context does it read?
|
|
29
|
+
- **Outputs**: What artifact does it write?
|
|
30
|
+
|
|
31
|
+
2. Optionally ask:
|
|
32
|
+
- **Gate check**: What must be true upstream before this agent runs?
|
|
33
|
+
- **Have-nots**: What failure modes should it check?
|
|
34
|
+
- **Tools needed**: Read, Write, Edit, Bash, Grep, Glob, Task, WebSearch?
|
|
35
|
+
- **Pause conditions**: When should it return to caller for human input?
|
|
36
|
+
|
|
37
|
+
3. Generate the agent file at `agents/[name].md` using this template:
|
|
38
|
+
|
|
39
|
+
```markdown
|
|
40
|
+
---
|
|
41
|
+
name: [name]
|
|
42
|
+
description: |
|
|
43
|
+
[One-sentence purpose.]
|
|
44
|
+
|
|
45
|
+
[Trigger description.]
|
|
46
|
+
|
|
47
|
+
Spawned by: [/slash-command]
|
|
48
|
+
tools: [comma-separated tools]
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
# [Agent Title]
|
|
52
|
+
|
|
53
|
+
[Detailed instructions for the agent.]
|
|
54
|
+
|
|
55
|
+
## Gate Check
|
|
56
|
+
[What must exist on disk before this agent runs.]
|
|
57
|
+
|
|
58
|
+
## Process
|
|
59
|
+
[Step-by-step what the agent does.]
|
|
60
|
+
|
|
61
|
+
## Output
|
|
62
|
+
[What the agent writes, where.]
|
|
63
|
+
|
|
64
|
+
## Have-Nots
|
|
65
|
+
[Named failure modes specific to this agent's output.]
|
|
66
|
+
|
|
67
|
+
## Pause Conditions
|
|
68
|
+
[When to return to caller for human input.]
|
|
69
|
+
|
|
70
|
+
## Done Criteria
|
|
71
|
+
[How the agent knows it's finished.]
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
4. Show the generated file to the user for approval before saving.
|
|
75
|
+
|
|
76
|
+
5. After approval, also generate a slash command skill if needed at
|
|
77
|
+
`skills/[command].md` that spawns this agent.
|
|
78
|
+
|
|
79
|
+
## Output
|
|
80
|
+
|
|
81
|
+
- New agent at `agents/[name].md`
|
|
82
|
+
- Optionally a new skill at `skills/[command].md`
|
|
83
|
+
|
|
84
|
+
## On Completion
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
Custom agent created: agents/[name].md
|
|
88
|
+
|
|
89
|
+
To use: invoke from your skill or command, or run /god-build-agent again
|
|
90
|
+
to create more.
|
|
91
|
+
```
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-build
|
|
3
|
+
description: |
|
|
4
|
+
Build the project. Spawns god-planner first, then god-executor agents in
|
|
5
|
+
parallel waves with TDD enforcement and two-stage review. Each slice
|
|
6
|
+
commit is gated on god-spec-reviewer and god-quality-reviewer.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god build", "/god-build", "build it", "implement", "start coding"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# /god-build
|
|
12
|
+
|
|
13
|
+
Orchestrate the build via specialist agents.
|
|
14
|
+
|
|
15
|
+
## Setup
|
|
16
|
+
|
|
17
|
+
1. Verify gates:
|
|
18
|
+
- `.godpowers/roadmap/ROADMAP.md` exists (skip if scale is trivial)
|
|
19
|
+
- `.godpowers/stack/DECISION.md` exists (skip if scale is trivial)
|
|
20
|
+
- Repo is scaffolded
|
|
21
|
+
2. If any gate fails: tell user which command to run first
|
|
22
|
+
|
|
23
|
+
## Orchestration
|
|
24
|
+
|
|
25
|
+
### Phase 1: Plan
|
|
26
|
+
Spawn **god-planner** in fresh context with ROADMAP, ARCH, DECISION.
|
|
27
|
+
Output: `.godpowers/build/PLAN.md` with vertical slices grouped into waves.
|
|
28
|
+
|
|
29
|
+
### Phase 2: Execute Waves
|
|
30
|
+
|
|
31
|
+
For each wave in PLAN.md:
|
|
32
|
+
|
|
33
|
+
For each slice in the wave (parallel):
|
|
34
|
+
1. Spawn **god-executor** in fresh context with:
|
|
35
|
+
- The slice plan only (not the whole PLAN.md)
|
|
36
|
+
- Relevant ARCH context for this slice
|
|
37
|
+
- Stack DECISION
|
|
38
|
+
2. Wait for executor to complete (TDD enforced)
|
|
39
|
+
3. Spawn **god-spec-reviewer** in fresh context (independent of executor)
|
|
40
|
+
- If FAIL: return slice to god-executor with findings
|
|
41
|
+
- If PASS: proceed to stage 2
|
|
42
|
+
4. Spawn **god-quality-reviewer** in fresh context (independent)
|
|
43
|
+
- If FAIL: return slice to god-executor with findings
|
|
44
|
+
- If PASS: commit the slice atomically
|
|
45
|
+
5. Update `.godpowers/build/STATE.md`
|
|
46
|
+
|
|
47
|
+
Move to next wave only when current wave is fully committed.
|
|
48
|
+
|
|
49
|
+
## Verification
|
|
50
|
+
|
|
51
|
+
After all waves:
|
|
52
|
+
1. Run full test suite. All pass.
|
|
53
|
+
2. Run linter. All clean.
|
|
54
|
+
3. Update PROGRESS.md: Build status = done
|
|
55
|
+
|
|
56
|
+
## Pause Conditions
|
|
57
|
+
|
|
58
|
+
Pause for user ONLY if:
|
|
59
|
+
- A requirement is genuinely ambiguous (two valid implementations)
|
|
60
|
+
- A test reveals a gap in PRD or ARCH that needs human resolution
|
|
61
|
+
|
|
62
|
+
## On Completion
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
Build complete: .godpowers/build/STATE.md
|
|
66
|
+
[N] slices delivered. [N] commits. All tests passing.
|
|
67
|
+
|
|
68
|
+
Suggested next: /god-harden (adversarial review, gates Launch)
|
|
69
|
+
Alternative: /god-deploy (set up deploy pipeline, parallel-safe)
|
|
70
|
+
Both can run; /god-harden is the critical path to Launch.
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
If more milestones remain in the roadmap, suggest re-running /god-build for
|
|
74
|
+
the next milestone before moving to Tier 3.
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
## Locking
|
|
78
|
+
|
|
79
|
+
The orchestrator acquires a state-lock before this skill mutates anything,
|
|
80
|
+
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
81
|
+
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
82
|
+
same holder; force-reclaimable if stale via `/god-repair`.
|
|
83
|
+
|
|
84
|
+
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
85
|
+
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
86
|
+
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
87
|
+
writer pauses or routes elsewhere via `/god-next`.
|
|
88
|
+
|
|
89
|
+
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
90
|
+
the full contract.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-cache-clear
|
|
3
|
+
description: |
|
|
4
|
+
Invalidate the agent-output cache. Use after agent prompts change,
|
|
5
|
+
after a major refactor that should re-run agents, or to recover
|
|
6
|
+
disk space. Read-only inspection: /god-cost.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god cache clear", "/god-cache-clear", "flush cache",
|
|
9
|
+
"invalidate cache", "reset cache"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-cache-clear
|
|
13
|
+
|
|
14
|
+
Invalidate agent-output cache entries.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
### `/god-cache-clear`
|
|
19
|
+
Interactive: shows cache size + entries, asks confirmation, clears all.
|
|
20
|
+
|
|
21
|
+
### `/god-cache-clear --all`
|
|
22
|
+
Clear every entry. Skip confirmation.
|
|
23
|
+
|
|
24
|
+
### `/god-cache-clear --expired`
|
|
25
|
+
Clear only entries past their TTL.
|
|
26
|
+
|
|
27
|
+
### `/god-cache-clear --agent <name>`
|
|
28
|
+
Clear entries for one agent (e.g. after editing
|
|
29
|
+
`agents/god-pm.md`, clear `--agent god-pm`).
|
|
30
|
+
|
|
31
|
+
### `/god-cache-clear --older-than=<duration>`
|
|
32
|
+
Clear entries older than N (e.g. `--older-than=7d`).
|
|
33
|
+
|
|
34
|
+
### `/god-cache-clear --stats`
|
|
35
|
+
Show cache stats; clear nothing.
|
|
36
|
+
|
|
37
|
+
## Output
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
GODPOWERS CACHE
|
|
41
|
+
|
|
42
|
+
Location: .godpowers/cache/
|
|
43
|
+
Entries: 47
|
|
44
|
+
Total: 412 KB
|
|
45
|
+
Oldest: 2026-05-08T11:23:47.000Z (2 days ago)
|
|
46
|
+
|
|
47
|
+
Clearing all 47 entries...
|
|
48
|
+
Cleared 47 entries (412 KB freed).
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## When to use
|
|
52
|
+
|
|
53
|
+
| Scenario | Command |
|
|
54
|
+
|---|---|
|
|
55
|
+
| Edited an agent prompt | `/god-cache-clear --agent god-pm` |
|
|
56
|
+
| Wholesale refactor; everything should re-run | `/god-cache-clear --all` |
|
|
57
|
+
| Disk space, just kill old stuff | `/god-cache-clear --older-than=7d` |
|
|
58
|
+
| Just want to see what's cached | `/god-cache-clear --stats` |
|
|
59
|
+
| Drop expired entries between runs | `/god-cache-clear --expired` (auto-runs in /god-doctor --fix) |
|
|
60
|
+
|
|
61
|
+
## What it does NOT do
|
|
62
|
+
|
|
63
|
+
- Does not delete events.jsonl history. Past `cache.hit` records stay
|
|
64
|
+
in the audit log; only the cached outputs are removed.
|
|
65
|
+
- Does not affect intent.yaml settings. To disable caching entirely,
|
|
66
|
+
use `/god-budget --cache=off`.
|
|
67
|
+
|
|
68
|
+
## Implementation
|
|
69
|
+
|
|
70
|
+
Built-in. Calls `lib/agent-cache.js clear(...)` and `stats(...)`.
|
|
71
|
+
|
|
72
|
+
## Related
|
|
73
|
+
|
|
74
|
+
- `/god-cost` - spend + savings report
|
|
75
|
+
- `/god-budget` - cache config (enable, TTL, etc.)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-check-todos
|
|
3
|
+
description: |
|
|
4
|
+
List pending todos from .godpowers/todos/TODOS.md. Optionally select one
|
|
5
|
+
to work on (routes to appropriate workflow).
|
|
6
|
+
|
|
7
|
+
Triggers on: "god check todos", "/god-check-todos", "show todos", "what's pending"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /god-check-todos
|
|
11
|
+
|
|
12
|
+
List todos and optionally route to a workflow.
|
|
13
|
+
|
|
14
|
+
## Process
|
|
15
|
+
|
|
16
|
+
1. Read `.godpowers/todos/TODOS.md`
|
|
17
|
+
2. Display open todos grouped by priority
|
|
18
|
+
3. Ask: "Want to work on one of these?"
|
|
19
|
+
4. If yes: route to the right workflow based on todo nature:
|
|
20
|
+
- "fix" -> /god-debug or /god-hotfix
|
|
21
|
+
- "add" -> /god-feature
|
|
22
|
+
- "refactor" -> /god-refactor
|
|
23
|
+
- "research" -> /god-spike
|
|
24
|
+
- default: /god-quick
|
|
25
|
+
|
|
26
|
+
## Output
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
Open todos (7):
|
|
30
|
+
|
|
31
|
+
P0 (1):
|
|
32
|
+
- 2026-04-15: Fix auth bypass in /api/admin (CRITICAL-001 from harden)
|
|
33
|
+
|
|
34
|
+
P1 (3):
|
|
35
|
+
- 2026-04-20: Update Stripe library to v14 (deps audit)
|
|
36
|
+
- 2026-04-22: Add CSP headers (HARDEN-04)
|
|
37
|
+
- ...
|
|
38
|
+
|
|
39
|
+
P2 (3): ...
|
|
40
|
+
|
|
41
|
+
Want to work on one? (number, or "no")
|
|
42
|
+
```
|