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,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-extension-add
|
|
3
|
+
description: |
|
|
4
|
+
Install a godpowers extension pack from a local directory or
|
|
5
|
+
scaffolded extensions/. Validates the manifest, checks the engines
|
|
6
|
+
compatibility range against the running godpowers version, then
|
|
7
|
+
copies the pack into <runtime>/godpowers-extensions/.
|
|
8
|
+
|
|
9
|
+
Triggers on: "god extension add", "/god-extension-add", "install
|
|
10
|
+
pack", "install extension"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /god-extension-add
|
|
14
|
+
|
|
15
|
+
Install a godpowers extension pack.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
### `/god-extension-add <source>`
|
|
20
|
+
|
|
21
|
+
Where `<source>` is either:
|
|
22
|
+
- An absolute or relative path to a directory containing `manifest.yaml`
|
|
23
|
+
(e.g. `./extensions/security-pack`)
|
|
24
|
+
- A scoped npm package name (e.g. `@godpowers/security-pack`).
|
|
25
|
+
In v0.13.0 only local directories are supported; npm install is on
|
|
26
|
+
the v0.14 ramp.
|
|
27
|
+
|
|
28
|
+
## Process
|
|
29
|
+
|
|
30
|
+
1. Resolve `<source>` to a directory with `manifest.yaml`.
|
|
31
|
+
2. Parse the manifest. Reject on parse errors.
|
|
32
|
+
3. Validate against `schema/extension-manifest.v1.json`:
|
|
33
|
+
- apiVersion, kind, metadata.name (scoped), metadata.version (semver)
|
|
34
|
+
- engines.godpowers range
|
|
35
|
+
- provides block
|
|
36
|
+
4. **Capability handshake**: verify the manifest's
|
|
37
|
+
`engines.godpowers` range includes the running godpowers version
|
|
38
|
+
(read from `<runtime>/GODPOWERS_VERSION` or `package.json`).
|
|
39
|
+
Reject on mismatch with a clear message.
|
|
40
|
+
5. Copy the pack contents to
|
|
41
|
+
`<runtime>/godpowers-extensions/<pack-name>/`:
|
|
42
|
+
- manifest.yaml
|
|
43
|
+
- agents/, skills/, workflows/, references/ (if present)
|
|
44
|
+
6. Append `op:extension.install` to reflog + emit
|
|
45
|
+
`extension.install` event.
|
|
46
|
+
7. **Lazy activation**: do NOT load the pack's agents/skills now.
|
|
47
|
+
They're loaded on first invocation of one of their slash commands.
|
|
48
|
+
8. Report: pack installed, list provided agents/skills/workflows.
|
|
49
|
+
|
|
50
|
+
## Subcommands
|
|
51
|
+
|
|
52
|
+
### `/god-extension-add <source>`
|
|
53
|
+
Install with capability check.
|
|
54
|
+
|
|
55
|
+
### `/god-extension-add <source> --force`
|
|
56
|
+
Skip the capability handshake. Use only when you know what you're doing
|
|
57
|
+
and accept that the pack may misbehave on a mismatched godpowers.
|
|
58
|
+
|
|
59
|
+
### `/god-extension-add <source> --dry-run`
|
|
60
|
+
Validate the manifest; do not copy.
|
|
61
|
+
|
|
62
|
+
## Safety
|
|
63
|
+
|
|
64
|
+
- Never installs a pack that fails the capability handshake without
|
|
65
|
+
`--force`.
|
|
66
|
+
- Never executes scripts from the pack at install time. Pack code only
|
|
67
|
+
runs when one of its slash commands is invoked.
|
|
68
|
+
|
|
69
|
+
## Implementation
|
|
70
|
+
|
|
71
|
+
Built-in. Calls `lib/extensions.js install(...)`.
|
|
72
|
+
|
|
73
|
+
## Related
|
|
74
|
+
|
|
75
|
+
- `/god-extension-list` - show installed extensions
|
|
76
|
+
- `/god-extension-info @x/y` - details of one extension
|
|
77
|
+
- `/god-extension-remove @x/y` - uninstall
|
|
78
|
+
- `/god-test-extension <path>` - run contract tests on a pack before
|
|
79
|
+
publishing
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-extension-info
|
|
3
|
+
description: |
|
|
4
|
+
Show details of one installed godpowers extension pack: manifest,
|
|
5
|
+
provided surface, activation rules, install path, version
|
|
6
|
+
compatibility.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god extension info", "/god-extension-info", "show
|
|
9
|
+
pack details", "what does X pack do"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-extension-info
|
|
13
|
+
|
|
14
|
+
Show details for one installed extension.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
### `/god-extension-info <pack-name>`
|
|
19
|
+
|
|
20
|
+
Example:
|
|
21
|
+
- `/god-extension-info @godpowers/security-pack`
|
|
22
|
+
|
|
23
|
+
## Output
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
EXTENSION: @godpowers/security-pack v1.0.0
|
|
27
|
+
Path: ~/.claude/godpowers-extensions/@godpowers/security-pack
|
|
28
|
+
Description:
|
|
29
|
+
Compliance-aware security agents for SOC 2, HIPAA, and PCI-DSS
|
|
30
|
+
audits. Layers on top of god-harden-auditor with regulation-
|
|
31
|
+
specific checks.
|
|
32
|
+
|
|
33
|
+
Engines:
|
|
34
|
+
godpowers: >=1.0.0 <2.0.0 (compatible with running v0.13.0? YES)
|
|
35
|
+
|
|
36
|
+
Provides:
|
|
37
|
+
Agents (3):
|
|
38
|
+
- god-soc2-auditor
|
|
39
|
+
- god-hipaa-auditor
|
|
40
|
+
- god-pci-auditor
|
|
41
|
+
Skills (3):
|
|
42
|
+
- /god-soc2-audit
|
|
43
|
+
- /god-hipaa-audit
|
|
44
|
+
- /god-pci-audit
|
|
45
|
+
Workflows (3):
|
|
46
|
+
- soc2-arc, hipaa-arc, pci-arc
|
|
47
|
+
Have-nots prefixes:
|
|
48
|
+
- SOC2 (SOC 2 Common Criteria)
|
|
49
|
+
- HIPAA (Security Rule 164.308/310/312)
|
|
50
|
+
- PCI (PCI-DSS 4.0)
|
|
51
|
+
|
|
52
|
+
Activation (lazy; loads on first call):
|
|
53
|
+
- /god-soc2-audit
|
|
54
|
+
- /god-hipaa-audit
|
|
55
|
+
- /god-pci-audit
|
|
56
|
+
- /god-extension-list
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Subcommands
|
|
60
|
+
|
|
61
|
+
### `/god-extension-info <name>`
|
|
62
|
+
Single pack details.
|
|
63
|
+
|
|
64
|
+
### `/god-extension-info <name> --json`
|
|
65
|
+
Machine-readable.
|
|
66
|
+
|
|
67
|
+
## Implementation
|
|
68
|
+
|
|
69
|
+
Built-in. Calls `lib/extensions.js info(runtimeConfigDir, packName)`.
|
|
70
|
+
|
|
71
|
+
## Related
|
|
72
|
+
|
|
73
|
+
- `/god-extension-list` - all installed packs
|
|
74
|
+
- `/god-extension-add` - install
|
|
75
|
+
- `/god-extension-remove` - uninstall
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-extension-list
|
|
3
|
+
description: |
|
|
4
|
+
Show all godpowers extension packs currently installed in the
|
|
5
|
+
active runtime. Each entry: name, version, install path, summary
|
|
6
|
+
of what it provides.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god extension list", "/god-extension-list", "what
|
|
9
|
+
extensions are installed", "show packs"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-extension-list
|
|
13
|
+
|
|
14
|
+
List installed godpowers extensions.
|
|
15
|
+
|
|
16
|
+
## Output
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
INSTALLED EXTENSIONS (3)
|
|
20
|
+
|
|
21
|
+
@godpowers/security-pack v1.0.0
|
|
22
|
+
Path: ~/.claude/godpowers-extensions/@godpowers/security-pack
|
|
23
|
+
Skills: /god-soc2-audit, /god-hipaa-audit, /god-pci-audit
|
|
24
|
+
Agents: god-soc2-auditor, god-hipaa-auditor, god-pci-auditor
|
|
25
|
+
Workflows: soc2-arc, hipaa-arc, pci-arc
|
|
26
|
+
|
|
27
|
+
@godpowers/launch-pack v1.0.0
|
|
28
|
+
Path: ~/.claude/godpowers-extensions/@godpowers/launch-pack
|
|
29
|
+
Skills: /god-show-hn, /god-product-hunt, /god-indie-hackers, /god-oss-release
|
|
30
|
+
|
|
31
|
+
@godpowers/data-pack v0.9.0
|
|
32
|
+
Path: ~/.claude/godpowers-extensions/@godpowers/data-pack
|
|
33
|
+
Skills: /god-etl, /god-ml-feature, /god-dashboard
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Subcommands
|
|
37
|
+
|
|
38
|
+
### `/god-extension-list`
|
|
39
|
+
List all installed packs (summary view).
|
|
40
|
+
|
|
41
|
+
### `/god-extension-list --json`
|
|
42
|
+
Machine-readable output.
|
|
43
|
+
|
|
44
|
+
### `/god-extension-list --verbose`
|
|
45
|
+
Include manifest activation rules + have-nots prefixes for each pack.
|
|
46
|
+
|
|
47
|
+
## Implementation
|
|
48
|
+
|
|
49
|
+
Built-in. Calls `lib/extensions.js list(runtimeConfigDir)`.
|
|
50
|
+
|
|
51
|
+
## Related
|
|
52
|
+
|
|
53
|
+
- `/god-extension-add` - install a pack
|
|
54
|
+
- `/god-extension-info @x/y` - one pack in detail
|
|
55
|
+
- `/god-extension-remove` - uninstall
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-extension-remove
|
|
3
|
+
description: |
|
|
4
|
+
Uninstall a godpowers extension pack. Removes the pack's directory
|
|
5
|
+
under <runtime>/godpowers-extensions/. Does NOT delete project-level
|
|
6
|
+
data the pack may have written (e.g. SOC2 audit findings). Reversible
|
|
7
|
+
by re-installing.
|
|
8
|
+
|
|
9
|
+
Triggers on: "god extension remove", "/god-extension-remove",
|
|
10
|
+
"uninstall pack", "remove extension"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /god-extension-remove
|
|
14
|
+
|
|
15
|
+
Uninstall a godpowers extension pack.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
### `/god-extension-remove <pack-name>`
|
|
20
|
+
|
|
21
|
+
Example:
|
|
22
|
+
- `/god-extension-remove @godpowers/launch-pack`
|
|
23
|
+
|
|
24
|
+
## Process
|
|
25
|
+
|
|
26
|
+
1. Resolve `<pack-name>` to its installed path via
|
|
27
|
+
`lib/extensions.info(runtimeConfigDir, packName)`.
|
|
28
|
+
2. If not found: report `not-installed` and exit.
|
|
29
|
+
3. Confirm with user: pack name, version, install path, what will be removed.
|
|
30
|
+
4. On confirmation: `fs.rmSync(packPath, { recursive: true, force: true })`.
|
|
31
|
+
5. Append `op:extension.remove` to reflog + emit `extension.remove` event.
|
|
32
|
+
6. Report: pack removed, list invalidated commands.
|
|
33
|
+
|
|
34
|
+
## What this does NOT remove
|
|
35
|
+
|
|
36
|
+
- Project-level artifacts the pack produced (e.g.
|
|
37
|
+
`.godpowers/audits/soc2-2026-01.md`). These stay; re-install the
|
|
38
|
+
pack to read them again.
|
|
39
|
+
- Have-nots IDs already recorded in linkage. Those references become
|
|
40
|
+
dead until the pack is re-installed.
|
|
41
|
+
|
|
42
|
+
## Subcommands
|
|
43
|
+
|
|
44
|
+
### `/god-extension-remove <name>`
|
|
45
|
+
Interactive uninstall (asks for confirmation).
|
|
46
|
+
|
|
47
|
+
### `/god-extension-remove <name> --yes`
|
|
48
|
+
Skip confirmation.
|
|
49
|
+
|
|
50
|
+
### `/god-extension-remove <name> --dry-run`
|
|
51
|
+
Show what would be removed.
|
|
52
|
+
|
|
53
|
+
## Recovery
|
|
54
|
+
|
|
55
|
+
Re-install with `/god-extension-add` (no state is lost on the
|
|
56
|
+
project side).
|
|
57
|
+
|
|
58
|
+
## Implementation
|
|
59
|
+
|
|
60
|
+
Built-in. Calls `lib/extensions.js remove(runtimeConfigDir, packName)`.
|
|
61
|
+
|
|
62
|
+
## Related
|
|
63
|
+
|
|
64
|
+
- `/god-extension-add` - install
|
|
65
|
+
- `/god-extension-list` - what's installed
|
|
66
|
+
- `/god-extension-info` - one pack in detail
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-extract-learnings
|
|
3
|
+
description: |
|
|
4
|
+
Extract decisions, lessons, patterns, and surprises from completed phase
|
|
5
|
+
artifacts. Captures institutional knowledge for future projects.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god extract learnings", "/god-extract-learnings", "lessons learned",
|
|
8
|
+
"what did we learn"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# /god-extract-learnings
|
|
12
|
+
|
|
13
|
+
Capture institutional knowledge from a completed phase or milestone.
|
|
14
|
+
|
|
15
|
+
## When to use
|
|
16
|
+
|
|
17
|
+
- After completing a milestone (Now -> Done)
|
|
18
|
+
- After a successful /god-mode arc
|
|
19
|
+
- Before a /god-postmortem (different focus: that's for incidents)
|
|
20
|
+
|
|
21
|
+
## Process
|
|
22
|
+
|
|
23
|
+
1. Read all artifacts from the completed phase:
|
|
24
|
+
- PRD, ARCH, ROADMAP, STACK, build PLAN, deploy STATE, etc.
|
|
25
|
+
2. Extract:
|
|
26
|
+
- **Decisions made**: with their flip points
|
|
27
|
+
- **Lessons learned**: what would you do differently next time
|
|
28
|
+
- **Patterns established**: techniques that worked, worth reusing
|
|
29
|
+
- **Surprises**: things you didn't expect (good or bad)
|
|
30
|
+
3. Write to `.godpowers/learnings/<milestone>/LEARNINGS.md`
|
|
31
|
+
4. Optionally append summary to a global `~/.godpowers-knowledge.md` for
|
|
32
|
+
cross-project learning (opt-in)
|
|
33
|
+
|
|
34
|
+
## Output
|
|
35
|
+
|
|
36
|
+
```markdown
|
|
37
|
+
# Learnings: [milestone]
|
|
38
|
+
|
|
39
|
+
## Decisions
|
|
40
|
+
- [DECISION] Used Postgres over MongoDB. Flip point: document data.
|
|
41
|
+
Outcome: held up; no flip needed.
|
|
42
|
+
|
|
43
|
+
## Lessons Learned
|
|
44
|
+
- The Stripe webhook signature verification took 2 days longer than estimated;
|
|
45
|
+
budget more for crypto-related work.
|
|
46
|
+
|
|
47
|
+
## Patterns Worth Reusing
|
|
48
|
+
- The "1 user_id, multiple stripe_account_id" data model. Reusable for any
|
|
49
|
+
multi-account integration.
|
|
50
|
+
|
|
51
|
+
## Surprises
|
|
52
|
+
- Users wanted CSV export much earlier than we expected. Bumped from COULD
|
|
53
|
+
to MUST in V1.1.
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Have-Nots
|
|
57
|
+
|
|
58
|
+
- Generic lessons ("communicate better")
|
|
59
|
+
- No flip-point references (decisions without context)
|
|
60
|
+
- Missing surprises (everything went perfectly: implausible)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-fast
|
|
3
|
+
description: |
|
|
4
|
+
Make a quick inline edit without full Godpowers planning overhead. For trivial
|
|
5
|
+
changes: typo fixes, config tweaks, single-line updates. No agents, no plans,
|
|
6
|
+
no PROGRESS.md updates.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god fast", "/god-fast", "quick fix", "trivial change", "tiny tweak"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# /god-fast
|
|
12
|
+
|
|
13
|
+
Skip the full pipeline. Make a small edit inline.
|
|
14
|
+
|
|
15
|
+
## When to use
|
|
16
|
+
|
|
17
|
+
- Single-line bug fix
|
|
18
|
+
- Config tweak (port number, env var name)
|
|
19
|
+
- Typo correction
|
|
20
|
+
- Documentation typo
|
|
21
|
+
- One-character syntax fix
|
|
22
|
+
|
|
23
|
+
## When NOT to use
|
|
24
|
+
|
|
25
|
+
- Anything that affects user-visible behavior -> use /god-build
|
|
26
|
+
- Anything without an existing test -> use /god-build (TDD)
|
|
27
|
+
- Anything you can't describe in one sentence
|
|
28
|
+
|
|
29
|
+
## Process
|
|
30
|
+
|
|
31
|
+
1. Make the edit directly. No planner, no executor, no reviewer.
|
|
32
|
+
2. Run the existing test suite to verify nothing broke.
|
|
33
|
+
3. Commit with a one-line message.
|
|
34
|
+
|
|
35
|
+
## Guardrails
|
|
36
|
+
|
|
37
|
+
- If running tests reveals regressions: STOP. Switch to /god-build or /god-debug.
|
|
38
|
+
- If the change touches more than 3 lines: STOP. Switch to /god-build.
|
|
39
|
+
- Skip PROGRESS.md updates (this is below the planning threshold).
|
|
40
|
+
|
|
41
|
+
## On Completion
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
Quick fix applied: [one-line description]
|
|
45
|
+
Tests: [N] passed
|
|
46
|
+
Commit: [SHA]
|
|
47
|
+
```
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-feature
|
|
3
|
+
description: |
|
|
4
|
+
Add a feature to an existing project. Skips the full-arc setup (no /god-init,
|
|
5
|
+
no repo scaffolding, no /god-stack). Mini-PRD for the feature, optional
|
|
6
|
+
micro-architecture, build, deploy via existing pipeline, harden new code.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god feature", "/god-feature", "add a feature", "new feature",
|
|
9
|
+
"build feature"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-feature
|
|
13
|
+
|
|
14
|
+
Add a feature to an already-existing project.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- You have a working app with deployed code
|
|
19
|
+
- You want to add a discrete feature
|
|
20
|
+
- Full /god-mode would be overkill (it'd re-run PRD/ARCH/STACK for the whole product)
|
|
21
|
+
|
|
22
|
+
## When NOT to use
|
|
23
|
+
|
|
24
|
+
- New project: use /god-mode
|
|
25
|
+
- Trivial change: use /god-fast or /god-quick
|
|
26
|
+
- Refactor: use /god-refactor
|
|
27
|
+
- Bug fix: use /god-debug or /god-hotfix
|
|
28
|
+
|
|
29
|
+
## Setup
|
|
30
|
+
|
|
31
|
+
1. Verify `.godpowers/` exists. If not, fall back to /god-init first.
|
|
32
|
+
2. Read existing PRD, ARCH, ROADMAP for context
|
|
33
|
+
|
|
34
|
+
## Orchestration
|
|
35
|
+
|
|
36
|
+
### Phase 1: Mini-PRD
|
|
37
|
+
Spawn **god-pm** in fresh context with instructions:
|
|
38
|
+
"This is a feature addition to an existing product. Write a feature-scoped
|
|
39
|
+
PRD section. The product PRD already exists at .godpowers/prd/PRD.md; do NOT
|
|
40
|
+
rewrite it. Append the feature spec to .godpowers/features/<feature-slug>/PRD.md."
|
|
41
|
+
|
|
42
|
+
### Phase 2: Micro-architecture (conditional)
|
|
43
|
+
If the feature touches new architectural ground:
|
|
44
|
+
Spawn **god-architect** with instructions:
|
|
45
|
+
"Existing ARCH.md describes the system. This feature extends it. Write only
|
|
46
|
+
the architectural deltas to .godpowers/features/<feature-slug>/ARCH-DELTA.md
|
|
47
|
+
and update relevant ADRs."
|
|
48
|
+
|
|
49
|
+
If the feature fits within existing architecture: skip this phase.
|
|
50
|
+
|
|
51
|
+
### Phase 3: Plan and Build
|
|
52
|
+
Spawn **god-planner** scoped to the feature only.
|
|
53
|
+
Then run god-executor + god-spec-reviewer + god-quality-reviewer per slice.
|
|
54
|
+
|
|
55
|
+
### Phase 4: Deploy
|
|
56
|
+
Use existing deploy pipeline (.godpowers/deploy/STATE.md). No new pipeline.
|
|
57
|
+
Feature flag the rollout if the feature is high-risk.
|
|
58
|
+
|
|
59
|
+
### Phase 5: Harden (just the new code)
|
|
60
|
+
Spawn **god-harden-auditor** with instructions:
|
|
61
|
+
"Review only the new code added for this feature. Existing code already
|
|
62
|
+
audited at .godpowers/harden/FINDINGS.md."
|
|
63
|
+
|
|
64
|
+
### Phase 6: Soft launch
|
|
65
|
+
No landing page. No marketing. The feature ships behind a flag, gradually
|
|
66
|
+
enabled. Update CHANGELOG.
|
|
67
|
+
|
|
68
|
+
## On Completion
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
Feature complete: .godpowers/features/<feature-slug>/
|
|
72
|
+
|
|
73
|
+
Suggested next: /god-status (see overall project state)
|
|
74
|
+
Or: /god-feature for the next feature
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Linkage and reverse-sync
|
|
78
|
+
|
|
79
|
+
Per Phase 13 of the production-ready plan, this workflow participates
|
|
80
|
+
in the linkage system:
|
|
81
|
+
|
|
82
|
+
- On completion of any code change, `lib/reverse-sync.run(projectRoot)`
|
|
83
|
+
is called via god-updater. This:
|
|
84
|
+
- Scans new/modified code for linkage annotations (// Implements: P-MUST-NN, etc.)
|
|
85
|
+
- Updates `.godpowers/links/{artifact-to-code,code-to-artifact}.json`
|
|
86
|
+
- Detects drift via `lib/drift-detector`
|
|
87
|
+
- Appends fenced footers to PRD/ARCH/ROADMAP/STACK/DESIGN
|
|
88
|
+
- Surfaces drift findings to REVIEW-REQUIRED.md
|
|
89
|
+
|
|
90
|
+
- Stable IDs MUST be used in artifact deltas (P-MUST-NN, ADR-NNN,
|
|
91
|
+
C-{slug}, M-{slug}, S-{slug}, D-{slug}, token paths). The scanner
|
|
92
|
+
picks them up automatically via comment annotations.
|
|
93
|
+
|
|
94
|
+
- For UI work: agent-browser audit may run as part of /god-build
|
|
95
|
+
post-wave or /god-launch gate (see `/god-test-runtime`).
|
|
96
|
+
|
|
97
|
+
- Findings flow into the standard REVIEW-REQUIRED.md walkthrough
|
|
98
|
+
via `/god-review-changes`.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
## Locking
|
|
102
|
+
|
|
103
|
+
The orchestrator acquires a state-lock before this skill mutates anything,
|
|
104
|
+
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
105
|
+
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
106
|
+
same holder; force-reclaimable if stale via `/god-repair`.
|
|
107
|
+
|
|
108
|
+
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
109
|
+
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
110
|
+
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
111
|
+
writer pauses or routes elsewhere via `/god-next`.
|
|
112
|
+
|
|
113
|
+
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
114
|
+
the full contract.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-graph
|
|
3
|
+
description: |
|
|
4
|
+
Build, query, and inspect the project knowledge graph. Connects PRD
|
|
5
|
+
requirements to architecture decisions to roadmap milestones to build
|
|
6
|
+
slices to deploy artifacts.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god graph", "/god-graph", "knowledge graph", "trace requirement"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# /god-graph
|
|
12
|
+
|
|
13
|
+
Connect-the-dots across all artifacts.
|
|
14
|
+
|
|
15
|
+
## What the graph encodes
|
|
16
|
+
|
|
17
|
+
Nodes:
|
|
18
|
+
- Requirements (from PRD)
|
|
19
|
+
- ADRs (from ARCH)
|
|
20
|
+
- Milestones (from ROADMAP)
|
|
21
|
+
- Slices (from BUILD/PLAN)
|
|
22
|
+
- Commits
|
|
23
|
+
- Have-nots
|
|
24
|
+
- Open questions
|
|
25
|
+
|
|
26
|
+
Edges:
|
|
27
|
+
- Requirement -> ADR (NFR -> architectural choice)
|
|
28
|
+
- ADR -> Slice (decision -> implementation)
|
|
29
|
+
- Slice -> Commit (plan -> code)
|
|
30
|
+
- Have-not -> Artifact (failure mode -> what it applies to)
|
|
31
|
+
- Open question -> Phase (when due)
|
|
32
|
+
|
|
33
|
+
## Subcommands
|
|
34
|
+
|
|
35
|
+
### `/god-graph build`
|
|
36
|
+
Walk all artifacts in `.godpowers/`, build the graph, write to
|
|
37
|
+
`.godpowers/graph/GRAPH.json`.
|
|
38
|
+
|
|
39
|
+
### `/god-graph trace <node>`
|
|
40
|
+
Show all edges from a specific node. Example:
|
|
41
|
+
`/god-graph trace requirement:user-can-export-csv`
|
|
42
|
+
Shows which ADR addresses it, which milestone delivers it, which slices
|
|
43
|
+
implement it, which commits it landed in.
|
|
44
|
+
|
|
45
|
+
### `/god-graph orphans`
|
|
46
|
+
Show nodes with no edges. Likely: requirements never delivered, ADRs
|
|
47
|
+
never referenced, slices never reviewed.
|
|
48
|
+
|
|
49
|
+
### `/god-graph render`
|
|
50
|
+
Render an ASCII or Mermaid visualization to `.godpowers/graph/GRAPH.md`.
|
|
51
|
+
|
|
52
|
+
## Why this matters
|
|
53
|
+
|
|
54
|
+
- "Did we build everything in the PRD?" -> orphan check on requirements
|
|
55
|
+
- "Why did we make this choice?" -> trace from code back to ADR
|
|
56
|
+
- "What's the impact of changing X?" -> trace edges from X
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-harden
|
|
3
|
+
description: |
|
|
4
|
+
Adversarial security review. Spawns the god-harden-auditor agent in a fresh
|
|
5
|
+
context. Critical findings BLOCK launch.
|
|
6
|
+
|
|
7
|
+
Triggers on: "god harden", "/god-harden", "security review", "OWASP", "pen test"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /god-harden
|
|
11
|
+
|
|
12
|
+
Spawn the **god-harden-auditor** agent in a fresh context via Task tool.
|
|
13
|
+
|
|
14
|
+
## Setup
|
|
15
|
+
|
|
16
|
+
1. Verify build is complete (`.godpowers/build/STATE.md` exists).
|
|
17
|
+
2. Spawn god-harden-auditor with full code access.
|
|
18
|
+
3. The agent writes `.godpowers/harden/FINDINGS.md`.
|
|
19
|
+
|
|
20
|
+
## Verification
|
|
21
|
+
|
|
22
|
+
After god-harden-auditor returns:
|
|
23
|
+
1. Verify FINDINGS.md exists on disk
|
|
24
|
+
2. Read findings classification:
|
|
25
|
+
- If any Critical: PROGRESS.md status = failed, launch is BLOCKED
|
|
26
|
+
- If only High/Medium/Low: PROGRESS.md status = done
|
|
27
|
+
|
|
28
|
+
## Have-Nots
|
|
29
|
+
|
|
30
|
+
Hardening FAILS if:
|
|
31
|
+
- Only automated scanner output, no manual review
|
|
32
|
+
- Auth boundaries not tested (just code-read)
|
|
33
|
+
- No input validation audit
|
|
34
|
+
- Rate limiting not verified
|
|
35
|
+
- OWASP categories skipped without justification
|
|
36
|
+
- Findings have no severity classification
|
|
37
|
+
|
|
38
|
+
## Critical-Finding Gate
|
|
39
|
+
|
|
40
|
+
If ANY finding is Critical:
|
|
41
|
+
1. Pause god-mode immediately
|
|
42
|
+
2. Present finding to user using pause format
|
|
43
|
+
3. Launch remains BLOCKED until:
|
|
44
|
+
- Critical finding is fixed and re-verified, OR
|
|
45
|
+
- User explicitly accepts the risk in writing
|
|
46
|
+
|
|
47
|
+
## On Completion
|
|
48
|
+
|
|
49
|
+
If FINDINGS.md has 0 Critical findings:
|
|
50
|
+
```
|
|
51
|
+
Harden complete: .godpowers/harden/FINDINGS.md
|
|
52
|
+
[N] High, [N] Medium, [N] Low. 0 Critical. Launch gate: PASSED.
|
|
53
|
+
|
|
54
|
+
Suggested next: /god-launch (put it in front of users)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
If FINDINGS.md has Critical findings:
|
|
58
|
+
```
|
|
59
|
+
Harden complete: .godpowers/harden/FINDINGS.md
|
|
60
|
+
[N] CRITICAL findings. Launch gate: BLOCKED.
|
|
61
|
+
|
|
62
|
+
Suggested next: Resolve Critical findings, then re-run /god-harden.
|
|
63
|
+
Use /god-debug if you need help with the fix.
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
## Re-invocation contract
|
|
68
|
+
|
|
69
|
+
What happens if `/god-harden` is run when `.godpowers/harden/FINDINGS.md` already exists:
|
|
70
|
+
|
|
71
|
+
| Existing state | Behavior |
|
|
72
|
+
|---|---|
|
|
73
|
+
| File does not exist | Spawn god-harden-auditor; produce file; mark sub-step done |
|
|
74
|
+
| 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 |
|
|
75
|
+
| File exists, fails lint or have-nots | Spawn god-harden-auditor in update mode with current file + findings as input. Diff preview before overwrite. |
|
|
76
|
+
| File exists, state.json says `pending` | Treat as imported: hash + register, no agent spawn. User can `/god-harden --force` to re-run. |
|
|
77
|
+
| `--force` flag passed | Snapshot existing file to `.godpowers/.trash/god-harden-<ts>/`. Spawn agent fresh. |
|
|
78
|
+
| `--dry-run` flag passed | Show what would happen; touch nothing |
|
|
79
|
+
|
|
80
|
+
Snapshots in `.trash/` are recoverable via `/god-restore` for 30 days.
|
|
81
|
+
The reflog records every god-harden invocation as `op:god-harden` for `/god-undo`.
|
|
82
|
+
|
|
83
|
+
### Idempotency guarantees
|
|
84
|
+
|
|
85
|
+
- Running `/god-harden` twice with no user input between them is a no-op
|
|
86
|
+
(second call detects the artifact and pauses).
|
|
87
|
+
- Running `/god-harden --dry-run` is always read-only.
|
|
88
|
+
- An interrupted `/god-harden` (agent crashes mid-run) leaves state.json
|
|
89
|
+
with `status: failed` and the artifact path either missing or marked
|
|
90
|
+
for `/god-repair` review. Re-running picks up cleanly.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
## Locking
|
|
94
|
+
|
|
95
|
+
The orchestrator acquires a state-lock before this skill mutates anything,
|
|
96
|
+
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
97
|
+
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
98
|
+
same holder; force-reclaimable if stale via `/god-repair`.
|
|
99
|
+
|
|
100
|
+
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
101
|
+
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
102
|
+
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
103
|
+
writer pauses or routes elsewhere via `/god-next`.
|
|
104
|
+
|
|
105
|
+
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
106
|
+
the full contract.
|