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,275 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-design
|
|
3
|
+
description: |
|
|
4
|
+
Design lifecycle commands. Owns DESIGN.md (Google Labs spec) and
|
|
5
|
+
PRODUCT.md (impeccable strategic file). Detects impeccable; bridges
|
|
6
|
+
to its 23 commands when present. Falls back to a minimal builder when
|
|
7
|
+
not.
|
|
8
|
+
|
|
9
|
+
Triggers on: "god design", "/god-design", "design system", "visual identity",
|
|
10
|
+
"polish design", "critique design", "audit design", "design tokens",
|
|
11
|
+
"brand register", "design.md", "product.md"
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# /god-design
|
|
15
|
+
|
|
16
|
+
Front door for all design work in a Godpowers project. Bridges to
|
|
17
|
+
[Impeccable](https://github.com/pbakaus/impeccable) when installed,
|
|
18
|
+
producing DESIGN.md in the
|
|
19
|
+
[Google Labs design.md format](https://github.com/google-labs-code/design.md).
|
|
20
|
+
|
|
21
|
+
## Forms
|
|
22
|
+
|
|
23
|
+
| Form | Action |
|
|
24
|
+
|---|---|
|
|
25
|
+
| `/god-design` | Run the full setup flow (delegates to /impeccable teach if installed) |
|
|
26
|
+
| `/god-design teach` | Strategic interview + DESIGN.md + PRODUCT.md (impeccable teach) |
|
|
27
|
+
| `/god-design document` | Regenerate DESIGN.md from existing code (impeccable document) |
|
|
28
|
+
| `/god-design refresh` | Alias for document |
|
|
29
|
+
| `/god-design suggest [text]` | Look for known site references and suggest matching DESIGN.md from awesome-design-md catalog |
|
|
30
|
+
| `/god-design from <site>` | Fetch curated DESIGN.md from awesome-design-md and use as starter |
|
|
31
|
+
| `/god-design from <url>` | If <url> is not in catalog, fall back to skillui static analysis |
|
|
32
|
+
| `/god-design reference <site>` | Use a known site as a named reference in PRODUCT.md without copying its DESIGN.md |
|
|
33
|
+
| `/god-design catalog` | List the 71 known sites with categories and short descriptions |
|
|
34
|
+
| `/god-design scan <url> [--ultra]` | Scan a website / repo / dir with skillui and extract DESIGN.md |
|
|
35
|
+
| `/god-design scan-repo <git-url>` | Clone repo and scan via skillui dir mode |
|
|
36
|
+
| `/god-design extract` | Pull components into design system (impeccable extract) |
|
|
37
|
+
| `/god-design shape` | Plan UX/UI before code (impeccable shape) |
|
|
38
|
+
| `/god-design critique [scope]` | UX design review (impeccable critique) |
|
|
39
|
+
| `/god-design audit [scope]` | a11y / perf / responsive (impeccable audit) |
|
|
40
|
+
| `/god-design polish [scope]` | Final pass before shipping (impeccable polish) |
|
|
41
|
+
| `/god-design harden` | Error handling, i18n, edge cases (impeccable harden) |
|
|
42
|
+
| `/god-design onboard` | First-run flows, empty states (impeccable onboard) |
|
|
43
|
+
| `/god-design bolder` | Amplify boring designs (impeccable bolder) |
|
|
44
|
+
| `/god-design quieter` | Tone down overly bold (impeccable quieter) |
|
|
45
|
+
| `/god-design distill` | Strip to essence (impeccable distill) |
|
|
46
|
+
| `/god-design animate` | Add purposeful motion (impeccable animate) |
|
|
47
|
+
| `/god-design colorize` | Strategic color (impeccable colorize) |
|
|
48
|
+
| `/god-design typeset` | Fix font choices, hierarchy (impeccable typeset) |
|
|
49
|
+
| `/god-design layout` | Fix layout, spacing (impeccable layout) |
|
|
50
|
+
| `/god-design delight` | Add moments of joy (impeccable delight) |
|
|
51
|
+
| `/god-design overdrive` | Technically extraordinary effects (impeccable overdrive) |
|
|
52
|
+
| `/god-design clarify` | Improve unclear UX copy (impeccable clarify) |
|
|
53
|
+
| `/god-design adapt` | Adapt for different devices (impeccable adapt) |
|
|
54
|
+
| `/god-design optimize` | Performance improvements (impeccable optimize) |
|
|
55
|
+
| `/god-design live` | Visual variant mode (impeccable live) |
|
|
56
|
+
| `/god-design status` | Lint findings + drift report |
|
|
57
|
+
| `/god-design impact "<change>"` | What-if analysis (delegates to god-impact-analyzer) |
|
|
58
|
+
|
|
59
|
+
## Process
|
|
60
|
+
|
|
61
|
+
1. Verify `.godpowers/` exists. If not: "Run `/god-init` first."
|
|
62
|
+
2. Read `.godpowers/state.json` for project state.
|
|
63
|
+
3. Detect:
|
|
64
|
+
- `lib/design-detector.isUiProject()` - is UI required?
|
|
65
|
+
- `lib/design-detector.isImpeccableInstalled()` - is impeccable available?
|
|
66
|
+
4. If UI not required: warn that DESIGN is unusual for this project type;
|
|
67
|
+
confirm before proceeding.
|
|
68
|
+
5. Spawn `god-designer` with the requested subcommand.
|
|
69
|
+
6. After god-designer returns: surface any lint findings, suggest
|
|
70
|
+
`/god-design polish` if warnings exist.
|
|
71
|
+
|
|
72
|
+
## Detection-driven behavior
|
|
73
|
+
|
|
74
|
+
- **UI + impeccable installed**: bridges to impeccable's commands
|
|
75
|
+
through `lib/impeccable-bridge.js`. All 23 commands available.
|
|
76
|
+
- **UI + impeccable NOT installed**: prompts to install impeccable; if
|
|
77
|
+
declined, falls back to god-designer's minimal builder. A subset of
|
|
78
|
+
commands (teach, document, status, impact) work in fallback.
|
|
79
|
+
- **No UI**: tries to dissuade. If user insists, fallback builder runs
|
|
80
|
+
but recommends skipping the DESIGN tier entirely.
|
|
81
|
+
|
|
82
|
+
## Two-stage review on changes
|
|
83
|
+
|
|
84
|
+
When DESIGN.md or PRODUCT.md change as a result of any subcommand:
|
|
85
|
+
|
|
86
|
+
1. `god-design-reviewer` runs in two-stage gate (spec + quality)
|
|
87
|
+
2. PASS: change applied; downstream propagation runs (impact, REVIEW-REQUIRED)
|
|
88
|
+
3. WARN: change applied with warnings logged
|
|
89
|
+
4. BLOCK: change rejected; appended to `.godpowers/design/REJECTED.md`;
|
|
90
|
+
user told why and what to fix
|
|
91
|
+
|
|
92
|
+
This pattern mirrors code review (god-spec-reviewer + god-quality-reviewer)
|
|
93
|
+
applied to design.
|
|
94
|
+
|
|
95
|
+
## Output
|
|
96
|
+
|
|
97
|
+
Project root:
|
|
98
|
+
- `DESIGN.md` (Google Labs format, lint-clean)
|
|
99
|
+
- `PRODUCT.md` (impeccable strategic file, when impeccable installed)
|
|
100
|
+
|
|
101
|
+
Inside `.godpowers/design/`:
|
|
102
|
+
- `STATE.md` (lint history, version, impeccable command log)
|
|
103
|
+
- `HISTORY.md` (append-only log of design changes; populated by god-design-updater)
|
|
104
|
+
- `REJECTED.md` (append-only log of blocked changes; populated by god-design-reviewer)
|
|
105
|
+
|
|
106
|
+
## Output to events.jsonl
|
|
107
|
+
|
|
108
|
+
For every subcommand dispatch:
|
|
109
|
+
|
|
110
|
+
```json
|
|
111
|
+
{ "name": "impeccable.dispatch", "command": "polish", "scope": "header" }
|
|
112
|
+
{ "name": "design.review-verdict", "verdict": "PASS|WARN|BLOCK" }
|
|
113
|
+
{ "name": "design.lint-result", "errors": 0, "warnings": 1 }
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Awesome DESIGN.md catalog integration
|
|
117
|
+
|
|
118
|
+
When the user mentions a known site (in PRD body, brand description, or
|
|
119
|
+
free-text intent), the catalog from
|
|
120
|
+
[VoltAgent's awesome-design-md](https://github.com/VoltAgent/awesome-design-md)
|
|
121
|
+
(MIT licensed, 71 curated DESIGN.md files at time of writing) provides
|
|
122
|
+
ready-to-use starting points.
|
|
123
|
+
|
|
124
|
+
### Detection
|
|
125
|
+
|
|
126
|
+
`lib/awesome-design.extractSiteReferences(text)` scans text for known
|
|
127
|
+
site mentions. Triggers include:
|
|
128
|
+
|
|
129
|
+
- Direct mention: "Linear", "Stripe", "Notion"
|
|
130
|
+
- Phrasal mention: "feel like Linear", "similar to Stripe", "Apple-style"
|
|
131
|
+
- Slug mention: "linear.app", "x.ai"
|
|
132
|
+
|
|
133
|
+
The catalog covers 71 sites across 9 categories: AI/LLM, dev-tools,
|
|
134
|
+
backend-data, productivity, design-tools, fintech, ecommerce,
|
|
135
|
+
media-consumer, automotive.
|
|
136
|
+
|
|
137
|
+
### Behaviors
|
|
138
|
+
|
|
139
|
+
- **`/god-design suggest`**: scan PRD + PRODUCT (if present) for site
|
|
140
|
+
mentions, surface matches with their preview URLs. Non-destructive.
|
|
141
|
+
- **`/god-design from linear`**: fetch `linear.app/DESIGN.md` from the
|
|
142
|
+
catalog and use as starter. Cached at
|
|
143
|
+
`.godpowers/cache/awesome-design/<slug>.md`. After fetch, runs through
|
|
144
|
+
god-design-reviewer's two-stage gate before applying.
|
|
145
|
+
- **`/god-design reference linear`**: adds Linear as a named brand
|
|
146
|
+
reference in PRODUCT.md without copying its DESIGN.md. Useful when
|
|
147
|
+
you want "the feeling of Linear" without their tokens verbatim.
|
|
148
|
+
- **`/god-design catalog`**: prints the full list with categories and
|
|
149
|
+
descriptions.
|
|
150
|
+
|
|
151
|
+
### Cache + license
|
|
152
|
+
|
|
153
|
+
DESIGN.md files are fetched lazily from raw.githubusercontent.com and
|
|
154
|
+
cached per-project under `.godpowers/cache/awesome-design/`. Source repo
|
|
155
|
+
is MIT-licensed; tokens represent publicly visible CSS values.
|
|
156
|
+
|
|
157
|
+
If the user wants to refresh a stale cache:
|
|
158
|
+
```
|
|
159
|
+
/god-design from linear --refresh
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### When the catalog is consulted automatically
|
|
163
|
+
|
|
164
|
+
- During `/god-design teach` flow: god-designer scans PRD/PRODUCT for
|
|
165
|
+
site mentions and offers suggestions before drafting from scratch
|
|
166
|
+
- During `/god` (front door): if the user's free text mentions a known
|
|
167
|
+
site, the recipe matcher includes a "use awesome-design DESIGN.md"
|
|
168
|
+
recipe option
|
|
169
|
+
|
|
170
|
+
## SkillUI fallback (when site is not in catalog)
|
|
171
|
+
|
|
172
|
+
When a user references a site that isn't in the awesome-design-md
|
|
173
|
+
catalog (e.g., a competitor not yet curated, a private app, or any
|
|
174
|
+
arbitrary URL), fall back to
|
|
175
|
+
[SkillUI](https://www.npmjs.com/package/skillui) (MIT licensed): a CLI
|
|
176
|
+
that statically analyzes a website / git repo / local directory and
|
|
177
|
+
extracts a complete design system including a DESIGN.md.
|
|
178
|
+
|
|
179
|
+
### Detection cascade
|
|
180
|
+
|
|
181
|
+
```
|
|
182
|
+
User mentions a site reference (e.g., "feel like Acme.com")
|
|
183
|
+
-> lib/awesome-design.lookupSite(name)
|
|
184
|
+
hit: use the curated DESIGN.md from the catalog
|
|
185
|
+
miss: fall through
|
|
186
|
+
-> lib/skillui-bridge.isInstalled()
|
|
187
|
+
installed: run skillui --url <best-guess-URL>; produces DESIGN.md
|
|
188
|
+
not installed: prompt user to `npm install -g skillui` or skip
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Forms
|
|
192
|
+
|
|
193
|
+
| Form | Behavior |
|
|
194
|
+
|---|---|
|
|
195
|
+
| `/god-design from <slug>` | Catalog lookup (Linear, Stripe, etc.); fast |
|
|
196
|
+
| `/god-design from <url>` | Catalog lookup, falls through to SkillUI |
|
|
197
|
+
| `/god-design scan <url>` | Always uses SkillUI; bypasses catalog |
|
|
198
|
+
| `/god-design scan <url> --ultra` | SkillUI ultra mode (Playwright + screenshots) |
|
|
199
|
+
| `/god-design scan-repo <git-url>` | Clone + scan via SkillUI dir mode |
|
|
200
|
+
| `/god-design scan-dir <path>` | Scan a local project (e.g., for migration) |
|
|
201
|
+
|
|
202
|
+
### Output flow
|
|
203
|
+
|
|
204
|
+
```
|
|
205
|
+
1. SkillUI runs; output cached at .godpowers/cache/skillui/<slug>/
|
|
206
|
+
2. The generated DESIGN.md is found via findFirstDesignMd
|
|
207
|
+
3. Validated by lib/design-spec.lint
|
|
208
|
+
4. Reviewed by god-design-reviewer (two-stage gate)
|
|
209
|
+
5. If PASS: promoted to project-root DESIGN.md
|
|
210
|
+
6. Reverse-sync wires component implementations as usual
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
### Cost / install
|
|
214
|
+
|
|
215
|
+
SkillUI default mode is pure static analysis (no browser, no API key).
|
|
216
|
+
For ultra mode, requires Playwright + Chromium (one-time install).
|
|
217
|
+
Both modes are local; no telemetry.
|
|
218
|
+
|
|
219
|
+
The bridge layer is `lib/skillui-bridge.js`. Detect-and-delegate; never
|
|
220
|
+
vendored. If SkillUI isn't installed, the bridge returns
|
|
221
|
+
`{ error: 'not-installed' }` with the install command for the user.
|
|
222
|
+
|
|
223
|
+
## See also
|
|
224
|
+
|
|
225
|
+
- `lib/design-detector.js` - UI and impeccable detection
|
|
226
|
+
- `lib/design-spec.js` - Google Labs format parser and linter
|
|
227
|
+
- `lib/impeccable-bridge.js` - command dispatch layer
|
|
228
|
+
- `lib/awesome-design.js` - 71-site catalog + lookup + fetch
|
|
229
|
+
- `agents/god-designer.md` - lifecycle owner
|
|
230
|
+
- `agents/god-design-reviewer.md` - two-stage review gate
|
|
231
|
+
- `references/design/DESIGN-ANATOMY.md` - what good DESIGN.md looks like
|
|
232
|
+
- `references/design/DESIGN-ANTIPATTERNS.md` - what to avoid
|
|
233
|
+
- [awesome-design-md](https://github.com/VoltAgent/awesome-design-md) - upstream catalog
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
## Re-invocation contract
|
|
237
|
+
|
|
238
|
+
What happens if `/god-design` is run when `.godpowers/design/DESIGN.md` already exists:
|
|
239
|
+
|
|
240
|
+
| Existing state | Behavior |
|
|
241
|
+
|---|---|
|
|
242
|
+
| File does not exist | Spawn god-designer; produce file; mark sub-step done |
|
|
243
|
+
| 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 |
|
|
244
|
+
| File exists, fails lint or have-nots | Spawn god-designer in update mode with current file + findings as input. Diff preview before overwrite. |
|
|
245
|
+
| File exists, state.json says `pending` | Treat as imported: hash + register, no agent spawn. User can `/god-design --force` to re-run. |
|
|
246
|
+
| `--force` flag passed | Snapshot existing file to `.godpowers/.trash/god-design-<ts>/`. Spawn agent fresh. |
|
|
247
|
+
| `--dry-run` flag passed | Show what would happen; touch nothing |
|
|
248
|
+
|
|
249
|
+
Snapshots in `.trash/` are recoverable via `/god-restore` for 30 days.
|
|
250
|
+
The reflog records every god-design invocation as `op:god-design` for `/god-undo`.
|
|
251
|
+
|
|
252
|
+
### Idempotency guarantees
|
|
253
|
+
|
|
254
|
+
- Running `/god-design` twice with no user input between them is a no-op
|
|
255
|
+
(second call detects the artifact and pauses).
|
|
256
|
+
- Running `/god-design --dry-run` is always read-only.
|
|
257
|
+
- An interrupted `/god-design` (agent crashes mid-run) leaves state.json
|
|
258
|
+
with `status: failed` and the artifact path either missing or marked
|
|
259
|
+
for `/god-repair` review. Re-running picks up cleanly.
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
## Locking
|
|
263
|
+
|
|
264
|
+
The orchestrator acquires a state-lock before this skill mutates anything,
|
|
265
|
+
scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
|
|
266
|
+
`linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
|
|
267
|
+
same holder; force-reclaimable if stale via `/god-repair`.
|
|
268
|
+
|
|
269
|
+
Read-only inspection commands (`/god-status`, `/god-doctor`,
|
|
270
|
+
`/god-locate`) do NOT block on the lock. Concurrent writers on
|
|
271
|
+
non-overlapping scopes are allowed; on overlapping scopes, the second
|
|
272
|
+
writer pauses or routes elsewhere via `/god-next`.
|
|
273
|
+
|
|
274
|
+
See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
|
|
275
|
+
the full contract.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-discuss
|
|
3
|
+
description: |
|
|
4
|
+
Adaptive Socratic discussion before planning. Surfaces hidden assumptions,
|
|
5
|
+
identifies open questions, and produces a brief that gets fed into the
|
|
6
|
+
next planning command. Different from /god-explore: this is for a specific
|
|
7
|
+
next phase, not an open-ended idea.
|
|
8
|
+
|
|
9
|
+
Triggers on: "god discuss", "/god-discuss", "discuss this", "think through"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-discuss
|
|
13
|
+
|
|
14
|
+
Pre-planning Socratic discussion.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- Before /god-feature: scope the feature with the user
|
|
19
|
+
- Before /god-refactor: clarify what's changing
|
|
20
|
+
- Before /god-upgrade: nail down the migration target
|
|
21
|
+
- Generally: any time the next command's input is fuzzy
|
|
22
|
+
|
|
23
|
+
## Process
|
|
24
|
+
|
|
25
|
+
Spawn god-explorer in fresh context with focus="next-phase-scoping".
|
|
26
|
+
|
|
27
|
+
The agent:
|
|
28
|
+
1. Reads the active workflow context
|
|
29
|
+
2. Asks targeted (not open-ended) questions
|
|
30
|
+
3. Surfaces 2-3 hidden assumptions
|
|
31
|
+
4. Identifies what's [DECISION] vs [HYPOTHESIS] vs [OPEN QUESTION]
|
|
32
|
+
5. Drafts a brief in `.godpowers/discussions/<topic>.md`
|
|
33
|
+
|
|
34
|
+
The brief gets passed to the next planning command.
|
|
35
|
+
|
|
36
|
+
## Output
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
Discussion complete: .godpowers/discussions/<topic>.md
|
|
40
|
+
|
|
41
|
+
Key findings:
|
|
42
|
+
- [assumption surfaced]
|
|
43
|
+
- [open question that needs human decision]
|
|
44
|
+
|
|
45
|
+
Suggested next: [the planning command this discussion was for]
|
|
46
|
+
```
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-docs
|
|
3
|
+
description: |
|
|
4
|
+
Write or update project documentation. Verifies every claim against the
|
|
5
|
+
codebase. Detects docs that lie. Substitution test on every claim,
|
|
6
|
+
three-label test on every sentence.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god docs", "/god-docs", "update docs", "write docs",
|
|
9
|
+
"documentation", "fix readme", "verify docs"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-docs
|
|
13
|
+
|
|
14
|
+
Documentation work. Docs that don't lie.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- README is out of date
|
|
19
|
+
- API docs missing or stale
|
|
20
|
+
- New feature shipped, docs need updating
|
|
21
|
+
- Onboarding new contributors and docs are insufficient
|
|
22
|
+
- Verifying existing docs for drift
|
|
23
|
+
|
|
24
|
+
## Orchestration
|
|
25
|
+
|
|
26
|
+
Spawn **god-docs-writer** in fresh context.
|
|
27
|
+
|
|
28
|
+
The agent:
|
|
29
|
+
1. Inventories existing docs vs code surface
|
|
30
|
+
2. Verifies every claim in existing docs against code
|
|
31
|
+
3. Identifies gaps and drift
|
|
32
|
+
4. Writes/updates docs
|
|
33
|
+
5. Substitution test + three-label test on every claim
|
|
34
|
+
6. Writes UPDATE-LOG.md summarizing changes
|
|
35
|
+
|
|
36
|
+
## On Completion
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
Docs updated.
|
|
40
|
+
|
|
41
|
+
Verified: N claims across M docs
|
|
42
|
+
Drift found and corrected: N
|
|
43
|
+
New docs created: N
|
|
44
|
+
Existing docs updated: N
|
|
45
|
+
|
|
46
|
+
Update log: .godpowers/docs/UPDATE-LOG.md
|
|
47
|
+
|
|
48
|
+
Suggested next: /god-status or continue with feature work
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Have-Nots
|
|
52
|
+
|
|
53
|
+
Docs FAIL if:
|
|
54
|
+
- Any claim contradicts the code
|
|
55
|
+
- Examples don't actually run
|
|
56
|
+
- Substitution test passes (reads generic)
|
|
57
|
+
- Runbooks not tested before commit
|
|
58
|
+
- Diagrams represent past or future state, not current
|
|
59
|
+
|
|
60
|
+
## Linkage and reverse-sync
|
|
61
|
+
|
|
62
|
+
Per Phase 13 of the production-ready plan, this workflow participates
|
|
63
|
+
in the linkage system:
|
|
64
|
+
|
|
65
|
+
- On completion of any code change, `lib/reverse-sync.run(projectRoot)`
|
|
66
|
+
is called via god-updater. This:
|
|
67
|
+
- Scans new/modified code for linkage annotations (// Implements: P-MUST-NN, etc.)
|
|
68
|
+
- Updates `.godpowers/links/{artifact-to-code,code-to-artifact}.json`
|
|
69
|
+
- Detects drift via `lib/drift-detector`
|
|
70
|
+
- Appends fenced footers to PRD/ARCH/ROADMAP/STACK/DESIGN
|
|
71
|
+
- Surfaces drift findings to REVIEW-REQUIRED.md
|
|
72
|
+
|
|
73
|
+
- Stable IDs MUST be used in artifact deltas (P-MUST-NN, ADR-NNN,
|
|
74
|
+
C-{slug}, M-{slug}, S-{slug}, D-{slug}, token paths). The scanner
|
|
75
|
+
picks them up automatically via comment annotations.
|
|
76
|
+
|
|
77
|
+
- For UI work: agent-browser audit may run as part of /god-build
|
|
78
|
+
post-wave or /god-launch gate (see `/god-test-runtime`).
|
|
79
|
+
|
|
80
|
+
- Findings flow into the standard REVIEW-REQUIRED.md walkthrough
|
|
81
|
+
via `/god-review-changes`.
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-doctor
|
|
3
|
+
description: |
|
|
4
|
+
Diagnose Godpowers install state and project state. Reports installed
|
|
5
|
+
runtimes, version mismatches, missing files, broken artifact paths,
|
|
6
|
+
unwired skills, and orphan routing. Suggests fixes.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god doctor", "/god-doctor", "diagnose godpowers", "what's
|
|
9
|
+
broken", "is godpowers ok"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-doctor
|
|
13
|
+
|
|
14
|
+
Run a system-state diagnostic. Build nothing. Touch nothing. Report only.
|
|
15
|
+
|
|
16
|
+
## What it checks
|
|
17
|
+
|
|
18
|
+
### Install integrity (per runtime)
|
|
19
|
+
1. Is the runtime config dir present? (e.g. `~/.claude/`)
|
|
20
|
+
2. Is `<runtime>/skills/god-*.md` populated?
|
|
21
|
+
3. Is `<runtime>/agents/god-*.md` populated?
|
|
22
|
+
4. Is `<runtime>/godpowers-references/` populated?
|
|
23
|
+
5. Does `<runtime>/GODPOWERS_VERSION` match `bin/install.js` VERSION?
|
|
24
|
+
6. Are all referenced agents present in `agents/`?
|
|
25
|
+
7. Are all routing YAMLs paired with skill files?
|
|
26
|
+
|
|
27
|
+
### Project state integrity
|
|
28
|
+
1. Is `.godpowers/` present?
|
|
29
|
+
2. Is `state.json` valid against `schema/state.v1.json`?
|
|
30
|
+
3. Is `intent.yaml` valid against `schema/intent.v1.yaml.json`?
|
|
31
|
+
4. Do declared artifact paths exist on disk?
|
|
32
|
+
5. Is the reflog (`.godpowers/log`) parseable?
|
|
33
|
+
6. Are there entries in `.godpowers/.trash/`?
|
|
34
|
+
7. Do declared linkage entries point at real code files?
|
|
35
|
+
|
|
36
|
+
### External integration health
|
|
37
|
+
1. Is impeccable present? `node_modules/impeccable` or `~/.claude/skills/impeccable`?
|
|
38
|
+
2. Is agent-browser installed and reachable on PATH?
|
|
39
|
+
3. Is SkillUI present?
|
|
40
|
+
|
|
41
|
+
## Output
|
|
42
|
+
|
|
43
|
+
Plain-text report grouped by severity:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
GODPOWERS DOCTOR
|
|
47
|
+
|
|
48
|
+
Install: claude (~/.claude/)
|
|
49
|
+
[OK] 82 skills installed
|
|
50
|
+
[OK] 38 agents installed
|
|
51
|
+
[OK] VERSION matches (0.12.0)
|
|
52
|
+
[WARN] routing/god-doctor.yaml exists but skill file did not until now
|
|
53
|
+
|
|
54
|
+
Project: /Users/.../my-project/.godpowers/
|
|
55
|
+
[OK] state.json valid
|
|
56
|
+
[WARN] PRD declared but .godpowers/prd/PRD.md missing -> run /god-prd
|
|
57
|
+
[INFO] 2 entries in .trash/; run /god-restore to review
|
|
58
|
+
|
|
59
|
+
External integrations:
|
|
60
|
+
[OK] impeccable found via npx
|
|
61
|
+
[WARN] agent-browser not installed -> /god-test-runtime falls back to Playwright
|
|
62
|
+
|
|
63
|
+
Suggested next steps:
|
|
64
|
+
1. /god-prd (fill missing artifact)
|
|
65
|
+
2. /god-restore (review trash)
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Subcommands
|
|
69
|
+
|
|
70
|
+
### `/god-doctor`
|
|
71
|
+
Full diagnostic across install + project + integrations.
|
|
72
|
+
|
|
73
|
+
### `/god-doctor --install-only`
|
|
74
|
+
Skip project checks.
|
|
75
|
+
|
|
76
|
+
### `/god-doctor --project-only`
|
|
77
|
+
Skip install checks. Useful inside the project.
|
|
78
|
+
|
|
79
|
+
### `/god-doctor --fix`
|
|
80
|
+
Attempt to repair detected issues automatically (only for safe categories: regenerate missing routing YAMLs, repair PROGRESS.md from state.json, etc.). Pauses before any destructive change.
|
|
81
|
+
|
|
82
|
+
## Implementation
|
|
83
|
+
|
|
84
|
+
Built-in, no spawned agent. Reads:
|
|
85
|
+
- `<runtime>/GODPOWERS_VERSION` (compare to package.json)
|
|
86
|
+
- `<runtime>/skills/` and `<runtime>/agents/` listings
|
|
87
|
+
- `.godpowers/state.json`, `intent.yaml`, `log`, `linkage.json`
|
|
88
|
+
- `bin/install.js` VERSION constant
|
|
89
|
+
|
|
90
|
+
## Exit codes
|
|
91
|
+
|
|
92
|
+
- 0: everything green
|
|
93
|
+
- 1: warnings present, but functional
|
|
94
|
+
- 2: errors present, manual repair needed
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-explore
|
|
3
|
+
description: |
|
|
4
|
+
Socratic ideation. Think through an idea before committing to plans. Spawn
|
|
5
|
+
the god-explorer agent in a fresh context to ask clarifying questions and
|
|
6
|
+
surface assumptions before /god-init runs.
|
|
7
|
+
|
|
8
|
+
Triggers on: "god explore", "/god-explore", "explore an idea", "think through",
|
|
9
|
+
"brainstorm", "ideate"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /god-explore
|
|
13
|
+
|
|
14
|
+
Pre-init Socratic ideation. Use this when you're not sure what to build yet.
|
|
15
|
+
|
|
16
|
+
## When to use
|
|
17
|
+
|
|
18
|
+
- Idea is fuzzy
|
|
19
|
+
- Multiple directions seem possible
|
|
20
|
+
- You need a sounding board before committing to PRD
|
|
21
|
+
|
|
22
|
+
## Process
|
|
23
|
+
|
|
24
|
+
1. Ask the user to describe the idea in any form (rambling is fine)
|
|
25
|
+
2. Spawn **god-explorer** agent in a fresh context to:
|
|
26
|
+
- Ask Socratic questions (not "tell me more"; specific probes)
|
|
27
|
+
- Surface hidden assumptions
|
|
28
|
+
- Identify the core problem (vs the proposed solution)
|
|
29
|
+
- List 2-3 alternative framings
|
|
30
|
+
- Suggest which framing is strongest with rationale
|
|
31
|
+
3. Output: a clarified problem statement ready for /god-init -> /god-prd
|
|
32
|
+
|
|
33
|
+
## What this is NOT
|
|
34
|
+
|
|
35
|
+
- Writing the PRD (that's /god-prd)
|
|
36
|
+
- Picking technology (that's /god-stack)
|
|
37
|
+
- Committing to a direction
|
|
38
|
+
|
|
39
|
+
This is exploratory. The goal is clarity, not commitment.
|
|
40
|
+
|
|
41
|
+
## On Completion
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
Idea explored. Suggested framing:
|
|
45
|
+
|
|
46
|
+
[One-paragraph problem statement, ready to feed into /god-init]
|
|
47
|
+
|
|
48
|
+
Suggested next: /god-init (commit to this framing) or /god-explore again
|
|
49
|
+
(if you want to try another angle)
|
|
50
|
+
```
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: god-export-otel
|
|
3
|
+
description: |
|
|
4
|
+
Export godpowers events.jsonl to an OpenTelemetry collector as OTLP/JSON
|
|
5
|
+
trace data. Lets you pipe godpowers runs into Honeycomb, Datadog, Jaeger,
|
|
6
|
+
Tempo, or any OTLP-compatible backend. Opt-in: nothing exports until you
|
|
7
|
+
invoke this skill.
|
|
8
|
+
|
|
9
|
+
Triggers on: "god export otel", "/god-export-otel", "export to honeycomb",
|
|
10
|
+
"send traces to collector", "pipe events to datadog"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# /god-export-otel
|
|
14
|
+
|
|
15
|
+
Convert one (or all) godpowers run events into OTLP/JSON ResourceSpans
|
|
16
|
+
and POST them to an OpenTelemetry collector.
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
### `/god-export-otel`
|
|
21
|
+
Export the most recent run to the endpoint in `OTEL_EXPORTER_OTLP_ENDPOINT`
|
|
22
|
+
(or `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT`). With no endpoint set, prints the
|
|
23
|
+
OTLP JSON payload to stdout.
|
|
24
|
+
|
|
25
|
+
### `/god-export-otel <run-id>`
|
|
26
|
+
Export a specific run.
|
|
27
|
+
|
|
28
|
+
### `/god-export-otel --all`
|
|
29
|
+
Export every run in the project. Use sparingly: a large history can push a
|
|
30
|
+
lot of spans at once.
|
|
31
|
+
|
|
32
|
+
### `/god-export-otel --endpoint=<url>`
|
|
33
|
+
Override the env var. The path `/v1/traces` is appended if not present.
|
|
34
|
+
|
|
35
|
+
### `/god-export-otel --stdout`
|
|
36
|
+
Print OTLP JSON without POSTing. Useful for inspecting the payload or
|
|
37
|
+
piping through `jq` into a file collector.
|
|
38
|
+
|
|
39
|
+
### `/god-export-otel --service-name=<name>`
|
|
40
|
+
Override `service.name` in the resource. Defaults to `godpowers`.
|
|
41
|
+
|
|
42
|
+
## Environment
|
|
43
|
+
|
|
44
|
+
- `OTEL_EXPORTER_OTLP_TRACES_ENDPOINT` - takes precedence
|
|
45
|
+
- `OTEL_EXPORTER_OTLP_ENDPOINT` - fallback; `/v1/traces` is appended
|
|
46
|
+
- `OTEL_EXPORTER_OTLP_HEADERS` - comma-separated `key=value` pairs for
|
|
47
|
+
auth headers (e.g. `x-honeycomb-team=YOUR_KEY`)
|
|
48
|
+
|
|
49
|
+
## Event -> span mapping
|
|
50
|
+
|
|
51
|
+
- `workflow.run` + `workflow.complete` -> root span
|
|
52
|
+
- `agent.start` + `agent.end` (matched by `span_id`) -> child span,
|
|
53
|
+
parented to the workflow root
|
|
54
|
+
- Other events (`cost.recorded`, `gate.fail`, `error`, `decision.route`,
|
|
55
|
+
`tool.call`, etc.) attach as span events on the span sharing their
|
|
56
|
+
`span_id`
|
|
57
|
+
- Events whose span has no start/end become zero-duration spans so no
|
|
58
|
+
data is dropped
|
|
59
|
+
- An `error` or `gate.fail` event flips the parent span's status to
|
|
60
|
+
`ERROR`
|
|
61
|
+
|
|
62
|
+
Timestamps in events.jsonl are ISO strings; OTLP wants nanoseconds since
|
|
63
|
+
epoch as numeric strings (JS numbers cannot hold 64-bit nanos). The
|
|
64
|
+
exporter converts on the fly with millisecond precision.
|
|
65
|
+
|
|
66
|
+
## Output
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
Exported run 2026-05-10T22-15-31-3f6827a1
|
|
70
|
+
spans: 12
|
|
71
|
+
endpoint: https://api.honeycomb.io/v1/traces
|
|
72
|
+
status: 200
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
In stdout mode, prints the raw OTLP JSON payload.
|
|
76
|
+
|
|
77
|
+
## Implementation
|
|
78
|
+
|
|
79
|
+
Built-in. `lib/otel-exporter.js` does the conversion and HTTP POST. No
|
|
80
|
+
external dependencies; uses Node's built-in `http` / `https`.
|
|
81
|
+
|
|
82
|
+
## Related
|
|
83
|
+
|
|
84
|
+
- `/god-logs` - human-readable timeline (no export)
|
|
85
|
+
- `/god-metrics` - per-tier durations + pause / error counts
|
|
86
|
+
- `/god-trace` - filter a run by tier
|
|
87
|
+
- `/god-cost` - token + dollar accounting from `cost.recorded` events
|