bigpowers 2.86.4 → 2.86.6
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/skills/commit-message/SKILL.md +1 -1
- package/.agents/skills/craft-skill/SKILL.md +2 -2
- package/.agents/skills/define-success/SKILL.md +6 -59
- package/.agents/skills/deploy/SKILL.md +1 -1
- package/.agents/skills/elaborate-spec/SKILL.md +1 -1
- package/.agents/skills/evolve-skill/SKILL.md +1 -1
- package/.agents/skills/harden-vps/SKILL.md +63 -60
- package/.agents/skills/investigate-bug/SKILL.md +2 -2
- package/.agents/skills/orchestrate-project/SKILL.md +1 -1
- package/.agents/skills/plan-refactor/SKILL.md +2 -2
- package/.agents/skills/plan-release/SKILL.md +2 -2
- package/.agents/skills/plan-work/SKILL.md +1 -1
- package/.agents/skills/using-bigpowers/SKILL.md +2 -2
- package/.agents/skills/wire-ci/SKILL.md +11 -14
- package/.agents/skills/write-document/SKILL.md +1 -1
- package/.cline/skills/align-grid/SKILL.md +110 -0
- package/.cline/skills/assess-impact/SKILL.md +91 -0
- package/.cline/skills/audit-code/SKILL.md +184 -0
- package/.cline/skills/audit-plan/SKILL.md +89 -0
- package/.cline/skills/build-epic/SKILL.md +105 -0
- package/.cline/skills/change-request/SKILL.md +121 -0
- package/.cline/skills/commit-message/SKILL.md +140 -0
- package/.cline/skills/compose-workflow/SKILL.md +82 -0
- package/.cline/skills/context7-mcp/SKILL.md +55 -0
- package/.cline/skills/craft-skill/SKILL.md +196 -0
- package/.cline/skills/deepen-architecture/SKILL.md +260 -0
- package/.cline/skills/define-language/SKILL.md +80 -0
- package/.cline/skills/define-success/SKILL.md +12 -0
- package/.cline/skills/delegate-task/SKILL.md +91 -0
- package/.cline/skills/deploy/SKILL.md +198 -0
- package/.cline/skills/design-interface/SKILL.md +97 -0
- package/.cline/skills/develop-tdd/SKILL.md +416 -0
- package/.cline/skills/diagnose-root/SKILL.md +24 -0
- package/.cline/skills/diagnose-stall/SKILL.md +54 -0
- package/.cline/skills/dispatch-agents/SKILL.md +118 -0
- package/.cline/skills/edit-document/SKILL.md +23 -0
- package/.cline/skills/elaborate-spec/SKILL.md +101 -0
- package/.cline/skills/enforce-first/SKILL.md +45 -0
- package/.cline/skills/evolve-skill/SKILL.md +55 -0
- package/.cline/skills/execute-plan/SKILL.md +61 -0
- package/.cline/skills/extract-design/SKILL.md +132 -0
- package/.cline/skills/find-way/SKILL.md +191 -0
- package/.cline/skills/fix-bug/SKILL.md +67 -0
- package/.cline/skills/gate-trace/SKILL.md +92 -0
- package/.cline/skills/generate-allure-report/SKILL.md +285 -0
- package/.cline/skills/grill-me/SKILL.md +108 -0
- package/.cline/skills/grill-with-docs/SKILL.md +53 -0
- package/.cline/skills/guard-git/SKILL.md +231 -0
- package/.cline/skills/harden-vps/SKILL.md +291 -0
- package/.cline/skills/hook-commits/SKILL.md +94 -0
- package/.cline/skills/inspect-quality/SKILL.md +106 -0
- package/.cline/skills/investigate-bug/SKILL.md +127 -0
- package/.cline/skills/kickoff-branch/SKILL.md +143 -0
- package/.cline/skills/maintain-wiki/SKILL.md +64 -0
- package/.cline/skills/map-codebase/SKILL.md +71 -0
- package/.cline/skills/migrate-spec/SKILL.md +862 -0
- package/.cline/skills/model-domain/SKILL.md +232 -0
- package/.cline/skills/orchestrate-project/SKILL.md +174 -0
- package/.cline/skills/organize-workspace/SKILL.md +164 -0
- package/.cline/skills/plan-refactor/SKILL.md +87 -0
- package/.cline/skills/plan-release/SKILL.md +145 -0
- package/.cline/skills/plan-tests/SKILL.md +75 -0
- package/.cline/skills/plan-work/SKILL.md +260 -0
- package/.cline/skills/publish-package/SKILL.md +328 -0
- package/.cline/skills/quick-fix/SKILL.md +114 -0
- package/.cline/skills/release-branch/SKILL.md +298 -0
- package/.cline/skills/request-review/SKILL.md +113 -0
- package/.cline/skills/research-first/SKILL.md +87 -0
- package/.cline/skills/reset-baseline/SKILL.md +21 -0
- package/.cline/skills/respond-review/SKILL.md +71 -0
- package/.cline/skills/run-benchmark/SKILL.md +85 -0
- package/.cline/skills/run-evals/SKILL.md +80 -0
- package/.cline/skills/run-planning/SKILL.md +101 -0
- package/.cline/skills/scope-work/SKILL.md +63 -0
- package/.cline/skills/search-skills/SKILL.md +73 -0
- package/.cline/skills/security-review/SKILL.md +384 -0
- package/.cline/skills/seed-conventions/SKILL.md +302 -0
- package/.cline/skills/session-state/SKILL.md +146 -0
- package/.cline/skills/setup-environment/SKILL.md +39 -0
- package/.cline/skills/simulate-agents/SKILL.md +26 -0
- package/.cline/skills/slice-tasks/SKILL.md +68 -0
- package/.cline/skills/smoke-test/SKILL.md +257 -0
- package/.cline/skills/spike-prototype/SKILL.md +95 -0
- package/.cline/skills/stocktake-skills/SKILL.md +74 -0
- package/.cline/skills/survey-context/SKILL.md +135 -0
- package/.cline/skills/terse-mode/SKILL.md +42 -0
- package/.cline/skills/trace-requirement/SKILL.md +69 -0
- package/.cline/skills/using-bigpowers/SKILL.md +111 -0
- package/.cline/skills/validate-contracts/SKILL.md +277 -0
- package/.cline/skills/validate-fix/SKILL.md +147 -0
- package/.cline/skills/verify-work/SKILL.md +191 -0
- package/.cline/skills/visual-dashboard/SKILL.md +50 -0
- package/.cline/skills/wire-ci/SKILL.md +374 -0
- package/.cline/skills/wire-observability/SKILL.md +97 -0
- package/.cline/skills/write-document/SKILL.md +255 -0
- package/.codebuddy/skills/commit-message/SKILL.md +1 -1
- package/.codebuddy/skills/craft-skill/SKILL.md +2 -2
- package/.codebuddy/skills/define-success/SKILL.md +6 -59
- package/.codebuddy/skills/deploy/SKILL.md +1 -1
- package/.codebuddy/skills/elaborate-spec/SKILL.md +1 -1
- package/.codebuddy/skills/evolve-skill/SKILL.md +1 -1
- package/.codebuddy/skills/harden-vps/SKILL.md +63 -60
- package/.codebuddy/skills/investigate-bug/SKILL.md +2 -2
- package/.codebuddy/skills/orchestrate-project/SKILL.md +1 -1
- package/.codebuddy/skills/plan-refactor/SKILL.md +2 -2
- package/.codebuddy/skills/plan-release/SKILL.md +2 -2
- package/.codebuddy/skills/plan-work/SKILL.md +1 -1
- package/.codebuddy/skills/using-bigpowers/SKILL.md +2 -2
- package/.codebuddy/skills/wire-ci/SKILL.md +11 -14
- package/.codebuddy/skills/write-document/SKILL.md +1 -1
- package/.codex/skills/commit-message/SKILL.md +1 -1
- package/.codex/skills/craft-skill/SKILL.md +2 -2
- package/.codex/skills/define-success/SKILL.md +6 -59
- package/.codex/skills/deploy/SKILL.md +1 -1
- package/.codex/skills/elaborate-spec/SKILL.md +1 -1
- package/.codex/skills/evolve-skill/SKILL.md +1 -1
- package/.codex/skills/harden-vps/SKILL.md +63 -60
- package/.codex/skills/investigate-bug/SKILL.md +2 -2
- package/.codex/skills/orchestrate-project/SKILL.md +1 -1
- package/.codex/skills/plan-refactor/SKILL.md +2 -2
- package/.codex/skills/plan-release/SKILL.md +2 -2
- package/.codex/skills/plan-work/SKILL.md +1 -1
- package/.codex/skills/using-bigpowers/SKILL.md +2 -2
- package/.codex/skills/wire-ci/SKILL.md +11 -14
- package/.codex/skills/write-document/SKILL.md +1 -1
- package/.copilot/skills/align-grid/SKILL.md +110 -0
- package/.copilot/skills/assess-impact/SKILL.md +91 -0
- package/.copilot/skills/audit-code/SKILL.md +184 -0
- package/.copilot/skills/audit-plan/SKILL.md +89 -0
- package/.copilot/skills/build-epic/SKILL.md +105 -0
- package/.copilot/skills/change-request/SKILL.md +121 -0
- package/.copilot/skills/commit-message/SKILL.md +140 -0
- package/.copilot/skills/compose-workflow/SKILL.md +82 -0
- package/.copilot/skills/context7-mcp/SKILL.md +55 -0
- package/.copilot/skills/craft-skill/SKILL.md +196 -0
- package/.copilot/skills/deepen-architecture/SKILL.md +260 -0
- package/.copilot/skills/define-language/SKILL.md +80 -0
- package/.copilot/skills/define-success/SKILL.md +12 -0
- package/.copilot/skills/delegate-task/SKILL.md +91 -0
- package/.copilot/skills/deploy/SKILL.md +198 -0
- package/.copilot/skills/design-interface/SKILL.md +97 -0
- package/.copilot/skills/develop-tdd/SKILL.md +416 -0
- package/.copilot/skills/diagnose-root/SKILL.md +24 -0
- package/.copilot/skills/diagnose-stall/SKILL.md +54 -0
- package/.copilot/skills/dispatch-agents/SKILL.md +118 -0
- package/.copilot/skills/edit-document/SKILL.md +23 -0
- package/.copilot/skills/elaborate-spec/SKILL.md +101 -0
- package/.copilot/skills/enforce-first/SKILL.md +45 -0
- package/.copilot/skills/evolve-skill/SKILL.md +55 -0
- package/.copilot/skills/execute-plan/SKILL.md +61 -0
- package/.copilot/skills/extract-design/SKILL.md +132 -0
- package/.copilot/skills/find-way/SKILL.md +191 -0
- package/.copilot/skills/fix-bug/SKILL.md +67 -0
- package/.copilot/skills/gate-trace/SKILL.md +92 -0
- package/.copilot/skills/generate-allure-report/SKILL.md +285 -0
- package/.copilot/skills/grill-me/SKILL.md +108 -0
- package/.copilot/skills/grill-with-docs/SKILL.md +53 -0
- package/.copilot/skills/guard-git/SKILL.md +231 -0
- package/.copilot/skills/harden-vps/SKILL.md +291 -0
- package/.copilot/skills/hook-commits/SKILL.md +94 -0
- package/.copilot/skills/inspect-quality/SKILL.md +106 -0
- package/.copilot/skills/investigate-bug/SKILL.md +127 -0
- package/.copilot/skills/kickoff-branch/SKILL.md +143 -0
- package/.copilot/skills/maintain-wiki/SKILL.md +64 -0
- package/.copilot/skills/map-codebase/SKILL.md +71 -0
- package/.copilot/skills/migrate-spec/SKILL.md +862 -0
- package/.copilot/skills/model-domain/SKILL.md +232 -0
- package/.copilot/skills/orchestrate-project/SKILL.md +174 -0
- package/.copilot/skills/organize-workspace/SKILL.md +164 -0
- package/.copilot/skills/plan-refactor/SKILL.md +87 -0
- package/.copilot/skills/plan-release/SKILL.md +145 -0
- package/.copilot/skills/plan-tests/SKILL.md +75 -0
- package/.copilot/skills/plan-work/SKILL.md +260 -0
- package/.copilot/skills/publish-package/SKILL.md +328 -0
- package/.copilot/skills/quick-fix/SKILL.md +114 -0
- package/.copilot/skills/release-branch/SKILL.md +298 -0
- package/.copilot/skills/request-review/SKILL.md +113 -0
- package/.copilot/skills/research-first/SKILL.md +87 -0
- package/.copilot/skills/reset-baseline/SKILL.md +21 -0
- package/.copilot/skills/respond-review/SKILL.md +71 -0
- package/.copilot/skills/run-benchmark/SKILL.md +85 -0
- package/.copilot/skills/run-evals/SKILL.md +80 -0
- package/.copilot/skills/run-planning/SKILL.md +101 -0
- package/.copilot/skills/scope-work/SKILL.md +63 -0
- package/.copilot/skills/search-skills/SKILL.md +73 -0
- package/.copilot/skills/security-review/SKILL.md +384 -0
- package/.copilot/skills/seed-conventions/SKILL.md +302 -0
- package/.copilot/skills/session-state/SKILL.md +146 -0
- package/.copilot/skills/setup-environment/SKILL.md +39 -0
- package/.copilot/skills/simulate-agents/SKILL.md +26 -0
- package/.copilot/skills/slice-tasks/SKILL.md +68 -0
- package/.copilot/skills/smoke-test/SKILL.md +257 -0
- package/.copilot/skills/spike-prototype/SKILL.md +95 -0
- package/.copilot/skills/stocktake-skills/SKILL.md +74 -0
- package/.copilot/skills/survey-context/SKILL.md +135 -0
- package/.copilot/skills/terse-mode/SKILL.md +42 -0
- package/.copilot/skills/trace-requirement/SKILL.md +69 -0
- package/.copilot/skills/using-bigpowers/SKILL.md +111 -0
- package/.copilot/skills/validate-contracts/SKILL.md +277 -0
- package/.copilot/skills/validate-fix/SKILL.md +147 -0
- package/.copilot/skills/verify-work/SKILL.md +191 -0
- package/.copilot/skills/visual-dashboard/SKILL.md +50 -0
- package/.copilot/skills/wire-ci/SKILL.md +374 -0
- package/.copilot/skills/wire-observability/SKILL.md +97 -0
- package/.copilot/skills/write-document/SKILL.md +255 -0
- package/.hermes/skills/commit-message/SKILL.md +1 -1
- package/.hermes/skills/craft-skill/SKILL.md +2 -2
- package/.hermes/skills/define-success/SKILL.md +6 -59
- package/.hermes/skills/deploy/SKILL.md +1 -1
- package/.hermes/skills/elaborate-spec/SKILL.md +1 -1
- package/.hermes/skills/evolve-skill/SKILL.md +1 -1
- package/.hermes/skills/harden-vps/SKILL.md +63 -60
- package/.hermes/skills/investigate-bug/SKILL.md +2 -2
- package/.hermes/skills/orchestrate-project/SKILL.md +1 -1
- package/.hermes/skills/plan-refactor/SKILL.md +2 -2
- package/.hermes/skills/plan-release/SKILL.md +2 -2
- package/.hermes/skills/plan-work/SKILL.md +1 -1
- package/.hermes/skills/using-bigpowers/SKILL.md +2 -2
- package/.hermes/skills/wire-ci/SKILL.md +11 -14
- package/.hermes/skills/write-document/SKILL.md +1 -1
- package/.kilocode/rules/commit-message.md +1 -1
- package/.kilocode/rules/craft-skill.md +2 -2
- package/.kilocode/rules/define-success.md +6 -59
- package/.kilocode/rules/deploy.md +1 -1
- package/.kilocode/rules/elaborate-spec.md +1 -1
- package/.kilocode/rules/evolve-skill.md +1 -1
- package/.kilocode/rules/harden-vps.md +63 -60
- package/.kilocode/rules/investigate-bug.md +2 -2
- package/.kilocode/rules/orchestrate-project.md +1 -1
- package/.kilocode/rules/plan-refactor.md +2 -2
- package/.kilocode/rules/plan-release.md +2 -2
- package/.kilocode/rules/plan-work.md +1 -1
- package/.kilocode/rules/using-bigpowers.md +2 -2
- package/.kilocode/rules/wire-ci.md +11 -14
- package/.kilocode/rules/write-document.md +1 -1
- package/.mimocode/skills/commit-message/SKILL.md +1 -1
- package/.mimocode/skills/craft-skill/SKILL.md +2 -2
- package/.mimocode/skills/define-success/SKILL.md +6 -59
- package/.mimocode/skills/deploy/SKILL.md +1 -1
- package/.mimocode/skills/elaborate-spec/SKILL.md +1 -1
- package/.mimocode/skills/evolve-skill/SKILL.md +1 -1
- package/.mimocode/skills/harden-vps/SKILL.md +63 -60
- package/.mimocode/skills/investigate-bug/SKILL.md +2 -2
- package/.mimocode/skills/orchestrate-project/SKILL.md +1 -1
- package/.mimocode/skills/plan-refactor/SKILL.md +2 -2
- package/.mimocode/skills/plan-release/SKILL.md +2 -2
- package/.mimocode/skills/plan-work/SKILL.md +1 -1
- package/.mimocode/skills/using-bigpowers/SKILL.md +2 -2
- package/.mimocode/skills/wire-ci/SKILL.md +11 -14
- package/.mimocode/skills/write-document/SKILL.md +1 -1
- package/.opencode/skills/align-grid/SKILL.md +110 -0
- package/.opencode/skills/assess-impact/SKILL.md +91 -0
- package/.opencode/skills/audit-code/SKILL.md +184 -0
- package/.opencode/skills/audit-plan/SKILL.md +89 -0
- package/.opencode/skills/build-epic/SKILL.md +105 -0
- package/.opencode/skills/change-request/SKILL.md +121 -0
- package/.opencode/skills/commit-message/SKILL.md +140 -0
- package/.opencode/skills/compose-workflow/SKILL.md +82 -0
- package/.opencode/skills/context7-mcp/SKILL.md +55 -0
- package/.opencode/skills/craft-skill/SKILL.md +196 -0
- package/.opencode/skills/deepen-architecture/SKILL.md +260 -0
- package/.opencode/skills/define-language/SKILL.md +80 -0
- package/.opencode/skills/define-success/SKILL.md +12 -0
- package/.opencode/skills/delegate-task/SKILL.md +91 -0
- package/.opencode/skills/deploy/SKILL.md +198 -0
- package/.opencode/skills/design-interface/SKILL.md +97 -0
- package/.opencode/skills/develop-tdd/SKILL.md +416 -0
- package/.opencode/skills/diagnose-root/SKILL.md +24 -0
- package/.opencode/skills/diagnose-stall/SKILL.md +54 -0
- package/.opencode/skills/dispatch-agents/SKILL.md +118 -0
- package/.opencode/skills/edit-document/SKILL.md +23 -0
- package/.opencode/skills/elaborate-spec/SKILL.md +101 -0
- package/.opencode/skills/enforce-first/SKILL.md +45 -0
- package/.opencode/skills/evolve-skill/SKILL.md +55 -0
- package/.opencode/skills/execute-plan/SKILL.md +61 -0
- package/.opencode/skills/extract-design/SKILL.md +132 -0
- package/.opencode/skills/find-way/SKILL.md +191 -0
- package/.opencode/skills/fix-bug/SKILL.md +67 -0
- package/.opencode/skills/gate-trace/SKILL.md +92 -0
- package/.opencode/skills/generate-allure-report/SKILL.md +285 -0
- package/.opencode/skills/grill-me/SKILL.md +108 -0
- package/.opencode/skills/grill-with-docs/SKILL.md +53 -0
- package/.opencode/skills/guard-git/SKILL.md +231 -0
- package/.opencode/skills/harden-vps/SKILL.md +291 -0
- package/.opencode/skills/hook-commits/SKILL.md +94 -0
- package/.opencode/skills/inspect-quality/SKILL.md +106 -0
- package/.opencode/skills/investigate-bug/SKILL.md +127 -0
- package/.opencode/skills/kickoff-branch/SKILL.md +143 -0
- package/.opencode/skills/maintain-wiki/SKILL.md +64 -0
- package/.opencode/skills/map-codebase/SKILL.md +71 -0
- package/.opencode/skills/migrate-spec/SKILL.md +862 -0
- package/.opencode/skills/model-domain/SKILL.md +232 -0
- package/.opencode/skills/orchestrate-project/SKILL.md +174 -0
- package/.opencode/skills/organize-workspace/SKILL.md +164 -0
- package/.opencode/skills/plan-refactor/SKILL.md +87 -0
- package/.opencode/skills/plan-release/SKILL.md +145 -0
- package/.opencode/skills/plan-tests/SKILL.md +75 -0
- package/.opencode/skills/plan-work/SKILL.md +260 -0
- package/.opencode/skills/publish-package/SKILL.md +328 -0
- package/.opencode/skills/quick-fix/SKILL.md +114 -0
- package/.opencode/skills/release-branch/SKILL.md +298 -0
- package/.opencode/skills/request-review/SKILL.md +113 -0
- package/.opencode/skills/research-first/SKILL.md +87 -0
- package/.opencode/skills/reset-baseline/SKILL.md +21 -0
- package/.opencode/skills/respond-review/SKILL.md +71 -0
- package/.opencode/skills/run-benchmark/SKILL.md +85 -0
- package/.opencode/skills/run-evals/SKILL.md +80 -0
- package/.opencode/skills/run-planning/SKILL.md +101 -0
- package/.opencode/skills/scope-work/SKILL.md +63 -0
- package/.opencode/skills/search-skills/SKILL.md +73 -0
- package/.opencode/skills/security-review/SKILL.md +384 -0
- package/.opencode/skills/seed-conventions/SKILL.md +302 -0
- package/.opencode/skills/session-state/SKILL.md +146 -0
- package/.opencode/skills/setup-environment/SKILL.md +39 -0
- package/.opencode/skills/simulate-agents/SKILL.md +26 -0
- package/.opencode/skills/slice-tasks/SKILL.md +68 -0
- package/.opencode/skills/smoke-test/SKILL.md +257 -0
- package/.opencode/skills/spike-prototype/SKILL.md +95 -0
- package/.opencode/skills/stocktake-skills/SKILL.md +74 -0
- package/.opencode/skills/survey-context/SKILL.md +135 -0
- package/.opencode/skills/terse-mode/SKILL.md +42 -0
- package/.opencode/skills/trace-requirement/SKILL.md +69 -0
- package/.opencode/skills/using-bigpowers/SKILL.md +111 -0
- package/.opencode/skills/validate-contracts/SKILL.md +277 -0
- package/.opencode/skills/validate-fix/SKILL.md +147 -0
- package/.opencode/skills/verify-work/SKILL.md +191 -0
- package/.opencode/skills/visual-dashboard/SKILL.md +50 -0
- package/.opencode/skills/wire-ci/SKILL.md +374 -0
- package/.opencode/skills/wire-observability/SKILL.md +97 -0
- package/.opencode/skills/write-document/SKILL.md +255 -0
- package/.pi/package.json +1 -1
- package/.pi/prompts/commit-message.md +1 -1
- package/.pi/prompts/craft-skill.md +2 -2
- package/.pi/prompts/define-success.md +5 -58
- package/.pi/prompts/deploy.md +1 -1
- package/.pi/prompts/elaborate-spec.md +1 -1
- package/.pi/prompts/evolve-skill.md +1 -1
- package/.pi/prompts/harden-vps.md +63 -60
- package/.pi/prompts/investigate-bug.md +2 -2
- package/.pi/prompts/orchestrate-project.md +1 -1
- package/.pi/prompts/plan-refactor.md +2 -2
- package/.pi/prompts/plan-release.md +2 -2
- package/.pi/prompts/plan-work.md +1 -1
- package/.pi/prompts/using-bigpowers.md +2 -2
- package/.pi/prompts/wire-ci.md +11 -14
- package/.pi/prompts/write-document.md +1 -1
- package/.pi/skills/commit-message/SKILL.md +1 -1
- package/.pi/skills/craft-skill/SKILL.md +2 -2
- package/.pi/skills/define-success/SKILL.md +6 -59
- package/.pi/skills/deploy/SKILL.md +1 -1
- package/.pi/skills/elaborate-spec/SKILL.md +1 -1
- package/.pi/skills/evolve-skill/SKILL.md +1 -1
- package/.pi/skills/harden-vps/SKILL.md +63 -60
- package/.pi/skills/investigate-bug/SKILL.md +2 -2
- package/.pi/skills/orchestrate-project/SKILL.md +1 -1
- package/.pi/skills/plan-refactor/SKILL.md +2 -2
- package/.pi/skills/plan-release/SKILL.md +2 -2
- package/.pi/skills/plan-work/SKILL.md +1 -1
- package/.pi/skills/using-bigpowers/SKILL.md +2 -2
- package/.pi/skills/wire-ci/SKILL.md +11 -14
- package/.pi/skills/write-document/SKILL.md +1 -1
- package/.qwen/skills/align-grid/SKILL.md +110 -0
- package/.qwen/skills/assess-impact/SKILL.md +91 -0
- package/.qwen/skills/audit-code/SKILL.md +184 -0
- package/.qwen/skills/audit-plan/SKILL.md +89 -0
- package/.qwen/skills/build-epic/SKILL.md +105 -0
- package/.qwen/skills/change-request/SKILL.md +121 -0
- package/.qwen/skills/commit-message/SKILL.md +140 -0
- package/.qwen/skills/compose-workflow/SKILL.md +82 -0
- package/.qwen/skills/context7-mcp/SKILL.md +55 -0
- package/.qwen/skills/craft-skill/SKILL.md +196 -0
- package/.qwen/skills/deepen-architecture/SKILL.md +260 -0
- package/.qwen/skills/define-language/SKILL.md +80 -0
- package/.qwen/skills/define-success/SKILL.md +12 -0
- package/.qwen/skills/delegate-task/SKILL.md +91 -0
- package/.qwen/skills/deploy/SKILL.md +198 -0
- package/.qwen/skills/design-interface/SKILL.md +97 -0
- package/.qwen/skills/develop-tdd/SKILL.md +416 -0
- package/.qwen/skills/diagnose-root/SKILL.md +24 -0
- package/.qwen/skills/diagnose-stall/SKILL.md +54 -0
- package/.qwen/skills/dispatch-agents/SKILL.md +118 -0
- package/.qwen/skills/edit-document/SKILL.md +23 -0
- package/.qwen/skills/elaborate-spec/SKILL.md +101 -0
- package/.qwen/skills/enforce-first/SKILL.md +45 -0
- package/.qwen/skills/evolve-skill/SKILL.md +55 -0
- package/.qwen/skills/execute-plan/SKILL.md +61 -0
- package/.qwen/skills/extract-design/SKILL.md +132 -0
- package/.qwen/skills/find-way/SKILL.md +191 -0
- package/.qwen/skills/fix-bug/SKILL.md +67 -0
- package/.qwen/skills/gate-trace/SKILL.md +92 -0
- package/.qwen/skills/generate-allure-report/SKILL.md +285 -0
- package/.qwen/skills/grill-me/SKILL.md +108 -0
- package/.qwen/skills/grill-with-docs/SKILL.md +53 -0
- package/.qwen/skills/guard-git/SKILL.md +231 -0
- package/.qwen/skills/harden-vps/SKILL.md +291 -0
- package/.qwen/skills/hook-commits/SKILL.md +94 -0
- package/.qwen/skills/inspect-quality/SKILL.md +106 -0
- package/.qwen/skills/investigate-bug/SKILL.md +127 -0
- package/.qwen/skills/kickoff-branch/SKILL.md +143 -0
- package/.qwen/skills/maintain-wiki/SKILL.md +64 -0
- package/.qwen/skills/map-codebase/SKILL.md +71 -0
- package/.qwen/skills/migrate-spec/SKILL.md +862 -0
- package/.qwen/skills/model-domain/SKILL.md +232 -0
- package/.qwen/skills/orchestrate-project/SKILL.md +174 -0
- package/.qwen/skills/organize-workspace/SKILL.md +164 -0
- package/.qwen/skills/plan-refactor/SKILL.md +87 -0
- package/.qwen/skills/plan-release/SKILL.md +145 -0
- package/.qwen/skills/plan-tests/SKILL.md +75 -0
- package/.qwen/skills/plan-work/SKILL.md +260 -0
- package/.qwen/skills/publish-package/SKILL.md +328 -0
- package/.qwen/skills/quick-fix/SKILL.md +114 -0
- package/.qwen/skills/release-branch/SKILL.md +298 -0
- package/.qwen/skills/request-review/SKILL.md +113 -0
- package/.qwen/skills/research-first/SKILL.md +87 -0
- package/.qwen/skills/reset-baseline/SKILL.md +21 -0
- package/.qwen/skills/respond-review/SKILL.md +71 -0
- package/.qwen/skills/run-benchmark/SKILL.md +85 -0
- package/.qwen/skills/run-evals/SKILL.md +80 -0
- package/.qwen/skills/run-planning/SKILL.md +101 -0
- package/.qwen/skills/scope-work/SKILL.md +63 -0
- package/.qwen/skills/search-skills/SKILL.md +73 -0
- package/.qwen/skills/security-review/SKILL.md +384 -0
- package/.qwen/skills/seed-conventions/SKILL.md +302 -0
- package/.qwen/skills/session-state/SKILL.md +146 -0
- package/.qwen/skills/setup-environment/SKILL.md +39 -0
- package/.qwen/skills/simulate-agents/SKILL.md +26 -0
- package/.qwen/skills/slice-tasks/SKILL.md +68 -0
- package/.qwen/skills/smoke-test/SKILL.md +257 -0
- package/.qwen/skills/spike-prototype/SKILL.md +95 -0
- package/.qwen/skills/stocktake-skills/SKILL.md +74 -0
- package/.qwen/skills/survey-context/SKILL.md +135 -0
- package/.qwen/skills/terse-mode/SKILL.md +42 -0
- package/.qwen/skills/trace-requirement/SKILL.md +69 -0
- package/.qwen/skills/using-bigpowers/SKILL.md +111 -0
- package/.qwen/skills/validate-contracts/SKILL.md +277 -0
- package/.qwen/skills/validate-fix/SKILL.md +147 -0
- package/.qwen/skills/verify-work/SKILL.md +191 -0
- package/.qwen/skills/visual-dashboard/SKILL.md +50 -0
- package/.qwen/skills/wire-ci/SKILL.md +374 -0
- package/.qwen/skills/wire-observability/SKILL.md +97 -0
- package/.qwen/skills/write-document/SKILL.md +255 -0
- package/.trae/skills/commit-message/SKILL.md +1 -1
- package/.trae/skills/craft-skill/SKILL.md +2 -2
- package/.trae/skills/define-success/SKILL.md +6 -59
- package/.trae/skills/deploy/SKILL.md +1 -1
- package/.trae/skills/elaborate-spec/SKILL.md +1 -1
- package/.trae/skills/evolve-skill/SKILL.md +1 -1
- package/.trae/skills/harden-vps/SKILL.md +63 -60
- package/.trae/skills/investigate-bug/SKILL.md +2 -2
- package/.trae/skills/orchestrate-project/SKILL.md +1 -1
- package/.trae/skills/plan-refactor/SKILL.md +2 -2
- package/.trae/skills/plan-release/SKILL.md +2 -2
- package/.trae/skills/plan-work/SKILL.md +1 -1
- package/.trae/skills/using-bigpowers/SKILL.md +2 -2
- package/.trae/skills/wire-ci/SKILL.md +11 -14
- package/.trae/skills/write-document/SKILL.md +1 -1
- package/.windsurf/rules/commit-message.md +1 -1
- package/.windsurf/rules/craft-skill.md +2 -2
- package/.windsurf/rules/define-success.md +6 -59
- package/.windsurf/rules/deploy.md +1 -1
- package/.windsurf/rules/elaborate-spec.md +1 -1
- package/.windsurf/rules/evolve-skill.md +1 -1
- package/.windsurf/rules/harden-vps.md +63 -60
- package/.windsurf/rules/investigate-bug.md +2 -2
- package/.windsurf/rules/orchestrate-project.md +1 -1
- package/.windsurf/rules/plan-refactor.md +2 -2
- package/.windsurf/rules/plan-release.md +2 -2
- package/.windsurf/rules/plan-work.md +1 -1
- package/.windsurf/rules/using-bigpowers.md +2 -2
- package/.windsurf/rules/wire-ci.md +11 -14
- package/.windsurf/rules/write-document.md +1 -1
- package/.zcode/skills/commit-message/SKILL.md +1 -1
- package/.zcode/skills/craft-skill/SKILL.md +2 -2
- package/.zcode/skills/define-success/SKILL.md +6 -59
- package/.zcode/skills/deploy/SKILL.md +1 -1
- package/.zcode/skills/elaborate-spec/SKILL.md +1 -1
- package/.zcode/skills/evolve-skill/SKILL.md +1 -1
- package/.zcode/skills/harden-vps/SKILL.md +63 -60
- package/.zcode/skills/investigate-bug/SKILL.md +2 -2
- package/.zcode/skills/orchestrate-project/SKILL.md +1 -1
- package/.zcode/skills/plan-refactor/SKILL.md +2 -2
- package/.zcode/skills/plan-release/SKILL.md +2 -2
- package/.zcode/skills/plan-work/SKILL.md +1 -1
- package/.zcode/skills/using-bigpowers/SKILL.md +2 -2
- package/.zcode/skills/wire-ci/SKILL.md +11 -14
- package/.zcode/skills/write-document/SKILL.md +1 -1
- package/CHANGELOG.md +14 -0
- package/SKILL-INDEX.md +2 -2
- package/package.json +1 -1
- package/scripts/adapters/agy.sh +3 -0
- package/scripts/adapters/continue.sh +3 -0
- package/scripts/adapters/cursor.sh +3 -0
- package/scripts/adapters/gemini.sh +5 -24
- package/scripts/adapters/mimo.sh +3 -0
- package/scripts/adapters/omp.sh +3 -0
- package/scripts/adapters/pi.sh +6 -3
- package/scripts/adapters/zcode.sh +3 -0
- package/scripts/adapters/zed.sh +3 -0
- package/scripts/check-skill-links.py +35 -0
- package/scripts/generate-workflow-diagrams.sh +102 -0
- package/scripts/golden-g13-test-orphans.sh +70 -0
- package/scripts/golden-g14-adapter-dispatch.sh +113 -0
- package/scripts/land-branch.sh +9 -3
- package/scripts/lib/__pycache__/link_utils.cpython-312.pyc +0 -0
- package/scripts/lib/__pycache__/srp_engine_links.cpython-312.pyc +0 -0
- package/scripts/lib/adapter-guard.sh +30 -0
- package/scripts/lib/golden-suite-gates.sh +28 -0
- package/scripts/lib/install-targets-b.sh +0 -8
- package/scripts/lib/sync-render.sh +0 -43
- package/scripts/lib/target-contracts.sh +37 -1
- package/scripts/targets.yaml +35 -13
- package/scripts/test-adapter-render.sh +116 -0
- package/scripts/test-adapters.sh +10 -3
- package/scripts/test-install-hub.sh +139 -0
- package/scripts/test-target-contracts.sh +73 -0
- package/scripts/tombstone-skill.sh +6 -0
- package/skills/commit-message/REFERENCE.md +1 -1
- package/skills/craft-skill/SKILL.md +2 -2
- package/skills/define-success/SKILL.md +7 -61
- package/skills/deploy/SKILL.md +1 -1
- package/skills/elaborate-spec/SKILL.md +1 -1
- package/skills/evolve-skill/REFERENCE.md +1 -1
- package/skills/harden-vps/REFERENCE.md +39 -36
- package/skills/harden-vps/SKILL.md +24 -24
- package/skills/investigate-bug/SKILL.md +2 -2
- package/skills/orchestrate-project/REFERENCE.md +1 -1
- package/skills/plan-refactor/SKILL.md +2 -2
- package/skills/plan-release/SKILL.md +2 -2
- package/skills/plan-work/SKILL.md +1 -1
- package/skills/security-review/fixtures/CWE-639-idor-negative.go +1 -1
- package/skills/security-review/fixtures/CWE-639-idor-positive.go +1 -1
- package/skills/using-bigpowers/SKILL.md +2 -2
- package/skills/wire-ci/REFERENCE.md +11 -14
- package/skills/write-document/REFERENCE.md +1 -1
- package/skills-lock.json +12 -12
- package/.fix_regex.sh +0 -16
- package/.hermes-verify-sed-fix.py +0 -53
- package/_test_e28s01.sh +0 -2
- package/audit-independent-unwaived-2026-07-06.md +0 -49
- package/hermes-verify-sed-fix.py +0 -30
- package/instructions +0 -1
- package/scripts/hermes-verify-e39s02.sh +0 -28
- package/scripts/test-agy-hub.sh +0 -60
- package/scripts/test-cline-adapter.sh +0 -55
- package/scripts/test-cline-hub.sh +0 -48
- package/scripts/test-codebuddy-adapter.sh +0 -63
- package/scripts/test-codebuddy-hub.sh +0 -49
- package/scripts/test-codex-adapter.sh +0 -63
- package/scripts/test-codex-hub.sh +0 -49
- package/scripts/test-copilot-adapter.sh +0 -47
- package/scripts/test-copilot-hub.sh +0 -43
- package/scripts/test-gemini-adapter.sh +0 -70
- package/scripts/test-gemini-hub.sh +0 -56
- package/scripts/test-hermes-adapter.sh +0 -85
- package/scripts/test-hermes-hub.sh +0 -52
- package/scripts/test-kilocode-adapter.sh +0 -55
- package/scripts/test-kilocode-hub.sh +0 -48
- package/scripts/test-mimo-hub.sh +0 -52
- package/scripts/test-opencode-adapter.sh +0 -47
- package/scripts/test-opencode-hub.sh +0 -43
- package/scripts/test-qwen-adapter.sh +0 -63
- package/scripts/test-qwen-hub.sh +0 -49
- package/scripts/test-trae-adapter.sh +0 -63
- package/scripts/test-trae-hub.sh +0 -49
- package/scripts/test-windsurf-adapter.sh +0 -63
- package/scripts/test-windsurf-hub.sh +0 -49
- package/scripts/test-zcode-hub.sh +0 -52
- package/test_figlet.py +0 -17
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: harden-vps
|
|
3
3
|
model: haiku
|
|
4
|
-
description: "Harden a production Linux VPS for
|
|
4
|
+
description: "Harden a production Linux VPS for your application across three layers — application (systemd hardening, monitoring alerts, backup automation), Ubuntu OS (UFW firewall, fail2ban SSH, unattended-upgrades, SSH hardening), and VPS provider (health checks, daily backups, monthly snapshots). Use when the user wants to secure a production server, harden a VPS, audit server security, or mentions production hardening, VPS security, or harden the server."
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Harden VPS
|
|
8
8
|
|
|
9
|
-
Three-layer production hardening for
|
|
9
|
+
Three-layer production hardening for a self-hosted app on any VPS. Each layer independently verifiable. Apply OS first (firewall blocks attacks immediately), then your application (alerts + backups), then your VPS provider (snapshots). See [REFERENCE.md](../../../skills/harden-vps/REFERENCE.md) for full script bodies, systemd unit template, and gotchas.
|
|
10
10
|
|
|
11
11
|
## Quick start
|
|
12
12
|
|
|
13
|
-
SSH as root into the VPS. Find credentials in the
|
|
13
|
+
SSH as root into the VPS. Find credentials in the your VPS provider Customer Control Panel.
|
|
14
14
|
|
|
15
15
|
> **HARD GATE** — Run `ufw status` first. No firewall = layer 1 takes priority over everything.
|
|
16
16
|
|
|
@@ -35,21 +35,21 @@ apt install -y unattended-upgrades && dpkg-reconfigure -plow unattended-upgrades
|
|
|
35
35
|
# SSH: PermitRootLogin no, PasswordAuthentication no, PubkeyAuthentication yes
|
|
36
36
|
# → verify: sshd -T | grep -E 'permitrootlogin no|passwordauthentication no'
|
|
37
37
|
|
|
38
|
-
# Deploy healthcheck.sh → /opt/
|
|
39
|
-
# Crontab: */5 * * * * /opt/
|
|
38
|
+
# Deploy healthcheck.sh → /opt/your-app/scripts/healthcheck.sh
|
|
39
|
+
# Crontab: */5 * * * * /opt/your-app/scripts/healthcheck.sh
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
## Layer 2 —
|
|
42
|
+
## Layer 2 — applicationlication
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
|
-
# systemd: User=
|
|
45
|
+
# systemd: User=your-app, NoNewPrivileges=yes, ProtectSystem=full,
|
|
46
46
|
# ProtectKernelTunables=yes, ProtectKernelModules=yes,
|
|
47
47
|
# ProtectControlGroups=yes, RestrictAddressFamilies=AF_INET AF_INET6,
|
|
48
48
|
# RestrictRealtime=yes, PrivateTmp=yes, LimitNOFILE=65536
|
|
49
|
-
# → verify: systemctl show
|
|
49
|
+
# → verify: systemctl show your-app -p NoNewPrivileges -p ProtectSystem -p User
|
|
50
50
|
|
|
51
|
-
# Alerts (
|
|
52
|
-
sqlite3 /opt/
|
|
51
|
+
# Alerts (your application requires auth; insert via SQLite)
|
|
52
|
+
sqlite3 /opt/your-app/data/your-app.db "
|
|
53
53
|
INSERT INTO monitoring_alerts (id,name,metric,threshold,operator,enabled,duration_seconds)
|
|
54
54
|
VALUES ('a1','Disk >80%','disk_used_percent',80,'gt',1,300);
|
|
55
55
|
INSERT INTO monitoring_alerts (id,name,metric,threshold,operator,enabled,duration_seconds)
|
|
@@ -57,14 +57,14 @@ VALUES ('a2','CPU >90%','cpu_percent',90,'gt',1,60);
|
|
|
57
57
|
INSERT INTO monitoring_alerts (id,name,metric,threshold,operator,enabled,duration_seconds)
|
|
58
58
|
VALUES ('a3','RAM >85%','mem_used_percent',85,'gt',1,120);
|
|
59
59
|
"
|
|
60
|
-
systemctl restart
|
|
60
|
+
systemctl restart your-app
|
|
61
61
|
|
|
62
62
|
# Backup crontab (root):
|
|
63
|
-
# 0 2 * * * cp /opt/
|
|
64
|
-
# 0 3 * * * find /backup/ -name "
|
|
63
|
+
# 0 2 * * * cp /opt/your-app/data/your-app.db /backup/your-app-$(date +\%Y\%m\%d).db
|
|
64
|
+
# 0 3 * * * find /backup/ -name "your-app-*.db" -mtime +90 -delete
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
## Layer 3 —
|
|
67
|
+
## Layer 3 — VPS provider
|
|
68
68
|
|
|
69
69
|
```bash
|
|
70
70
|
# cntb CLI
|
|
@@ -72,14 +72,14 @@ curl -sL "$(curl -sL https://api.github.com/repos/contabo/cntb/releases/latest \
|
|
|
72
72
|
| grep browser_download_url.*linux_amd64.tar.gz | head -1 | cut -d'"' -f4)" \
|
|
73
73
|
| tar xz -C /usr/local/bin
|
|
74
74
|
|
|
75
|
-
# Snapshot script → /opt/
|
|
76
|
-
# Credentials as env vars in /opt/
|
|
75
|
+
# Snapshot script → /opt/your-app/scripts/contabo-snapshot.sh (reads from /opt/your-app/.env)
|
|
76
|
+
# Credentials as env vars in /opt/your-app/.env (deployed by GitHub Actions):
|
|
77
77
|
# CONTABO_CLIENT_ID, CONTABO_CLIENT_SECRET, CONTABO_API_USER, CONTABO_API_PASSWORD
|
|
78
|
-
# Crontab: 0 4 1 * * /opt/
|
|
78
|
+
# Crontab: 0 4 1 * * /opt/your-app/scripts/contabo-snapshot.sh
|
|
79
79
|
|
|
80
80
|
# > HARD GATE — Snapshot cron silently fails until env vars are set in .env.
|
|
81
|
-
# Credentials source:
|
|
82
|
-
# Local dev: add to .envrc. Production: GitHub Secrets → deploy → /opt/
|
|
81
|
+
# Credentials source: your VPS provider Customer Panel → API Details.
|
|
82
|
+
# Local dev: add to .envrc. Production: GitHub Secrets → deploy → /opt/your-app/.env
|
|
83
83
|
```
|
|
84
84
|
|
|
85
85
|
## CRITICAL GOTCHAS
|
|
@@ -87,7 +87,7 @@ curl -sL "$(curl -sL https://api.github.com/repos/contabo/cntb/releases/latest \
|
|
|
87
87
|
1. **Shell escaping in Orca terminals:** `$VAR`, `$(…)`, and `%` get eaten by the local shell. Always use base64: `echo '<base64>' | base64 -d > script.sh`
|
|
88
88
|
2. **Crontab `%`:** cron interprets `%` as newline. Escape as `\%` in `$(date +\%Y\%m\%d)`
|
|
89
89
|
3. **fail2ban exit 255:** means a jail references a missing log file. Remove the broken jail, restart.
|
|
90
|
-
4. **
|
|
90
|
+
4. **your application alerts need auth:** POST to `/api/monitoring/alerts` requires Bearer token. Workaround: insert directly into SQLite, then restart your application.
|
|
91
91
|
|
|
92
92
|
## Verify all 8 gates
|
|
93
93
|
|
|
@@ -96,10 +96,10 @@ ufw status|grep -q active||echo FAIL:ufw
|
|
|
96
96
|
fail2ban-client status sshd>/dev/null 2>&1||echo FAIL:fail2ban
|
|
97
97
|
systemctl is-active unattended-upgrades|grep -q active||echo FAIL:unattended
|
|
98
98
|
sshd -T|grep -q 'permitrootlogin no'||echo FAIL:sshd
|
|
99
|
-
systemctl show
|
|
100
|
-
systemctl is-active
|
|
101
|
-
sqlite3 /opt/
|
|
102
|
-
crontab -l|grep -q healthcheck&&crontab -l|grep -q
|
|
99
|
+
systemctl show your-app -p NoNewPrivileges|grep -q yes||echo FAIL:systemd
|
|
100
|
+
systemctl is-active your-app|grep -q active||echo FAIL:your-app
|
|
101
|
+
sqlite3 /opt/your-app/data/your-app.db "SELECT count(*) FROM monitoring_alerts"|grep -q 3||echo FAIL:alerts
|
|
102
|
+
crontab -l|grep -q healthcheck&&crontab -l|grep -q your-app.db&&crontab -l|grep -q contabo-snapshot||echo FAIL:crontab
|
|
103
103
|
echo ALL 8 GATES PASSED
|
|
104
104
|
```
|
|
105
105
|
|
|
@@ -111,47 +111,47 @@ echo ALL 8 GATES PASSED
|
|
|
111
111
|
|
|
112
112
|
## Health check script
|
|
113
113
|
|
|
114
|
-
Deploy to `/opt/
|
|
114
|
+
Deploy to `/opt/your-app/scripts/healthcheck.sh`:
|
|
115
115
|
|
|
116
116
|
```bash
|
|
117
117
|
#!/bin/bash
|
|
118
|
-
LOG=/var/log/
|
|
119
|
-
mkdir -p /var/log/
|
|
118
|
+
LOG=/var/log/your-app/health.log
|
|
119
|
+
mkdir -p /var/log/your-app
|
|
120
120
|
DISK=$(df / | awk 'NR==2 {print $5}' | tr -d '%')
|
|
121
121
|
RAM=$(free | awk '/Mem:/ {printf "%.0f", $3/$2*100}')
|
|
122
122
|
NOW=$(date -Iseconds)
|
|
123
123
|
[ "$DISK" -gt 85 ] && echo "$NOW ALERT: Disk ${DISK}%" >> "$LOG"
|
|
124
124
|
[ "$RAM" -gt 90 ] && echo "$NOW ALERT: RAM ${RAM}%" >> "$LOG"
|
|
125
|
-
systemctl is-active --quiet
|
|
125
|
+
systemctl is-active --quiet your-app || { echo "$NOW ALERT: your application DOWN" >> "$LOG"; systemctl restart your-app; }
|
|
126
126
|
[ -f /var/run/reboot-required ] && echo "$NOW WARN: kernel reboot pending" >> "$LOG"
|
|
127
127
|
```
|
|
128
128
|
|
|
129
|
-
Make executable: `chmod +x /opt/
|
|
129
|
+
Make executable: `chmod +x /opt/your-app/scripts/healthcheck.sh`
|
|
130
130
|
|
|
131
|
-
##
|
|
131
|
+
## your application systemd unit
|
|
132
132
|
|
|
133
|
-
Full hardened unit at `/etc/systemd/system/
|
|
133
|
+
Full hardened unit at `/etc/systemd/system/your-app.service`:
|
|
134
134
|
|
|
135
135
|
```ini
|
|
136
136
|
[Unit]
|
|
137
|
-
Description=
|
|
138
|
-
Documentation=https://github.com/
|
|
137
|
+
Description=your application BaaS Platform
|
|
138
|
+
Documentation=https://github.com/example-org/example-app
|
|
139
139
|
After=network.target caddy.service
|
|
140
140
|
Wants=caddy.service
|
|
141
141
|
|
|
142
142
|
[Service]
|
|
143
143
|
Type=simple
|
|
144
|
-
User=
|
|
145
|
-
Group=
|
|
146
|
-
WorkingDirectory=/opt/
|
|
147
|
-
ExecStart=/opt/
|
|
144
|
+
User=your-app
|
|
145
|
+
Group=your-app
|
|
146
|
+
WorkingDirectory=/opt/your-app
|
|
147
|
+
ExecStart=/opt/your-app/bin/your-app serve \
|
|
148
148
|
--port 8080 \
|
|
149
|
-
--db /opt/
|
|
149
|
+
--db /opt/your-app/data/your-app.db \
|
|
150
150
|
--sites-domain <your-domain.example.com>
|
|
151
|
-
EnvironmentFile=-/opt/
|
|
152
|
-
Environment=
|
|
153
|
-
Environment=HOME=/opt/
|
|
154
|
-
Environment=NPM_CONFIG_CACHE=/opt/
|
|
151
|
+
EnvironmentFile=-/opt/your-app/.env
|
|
152
|
+
Environment=APP_HOME=/opt/your-app
|
|
153
|
+
Environment=HOME=/opt/your-app
|
|
154
|
+
Environment=NPM_CONFIG_CACHE=/opt/your-app/.npm
|
|
155
155
|
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
156
156
|
Restart=always
|
|
157
157
|
RestartSec=5
|
|
@@ -168,11 +168,11 @@ ProtectKernelModules=yes
|
|
|
168
168
|
ProtectControlGroups=yes
|
|
169
169
|
RestrictAddressFamilies=AF_INET AF_INET6
|
|
170
170
|
RestrictRealtime=yes
|
|
171
|
-
ReadWritePaths=/opt/
|
|
172
|
-
ReadWritePaths=/opt/
|
|
173
|
-
ReadWritePaths=/opt/
|
|
174
|
-
ReadWritePaths=/opt/
|
|
175
|
-
ReadWritePaths=/opt/
|
|
171
|
+
ReadWritePaths=/opt/your-app/data
|
|
172
|
+
ReadWritePaths=/opt/your-app/backups
|
|
173
|
+
ReadWritePaths=/opt/your-app/secrets
|
|
174
|
+
ReadWritePaths=/opt/your-app/.npm
|
|
175
|
+
ReadWritePaths=/opt/your-app/logs
|
|
176
176
|
LimitNOFILE=65536
|
|
177
177
|
|
|
178
178
|
[Install]
|
|
@@ -192,17 +192,20 @@ bantime = 3600
|
|
|
192
192
|
findtime = 600
|
|
193
193
|
```
|
|
194
194
|
|
|
195
|
-
Note:
|
|
195
|
+
Note: your application auth jail deferred — your application logs to journald, not a file. To enable, use `backend = systemd` with a journald filter.
|
|
196
196
|
|
|
197
|
-
##
|
|
197
|
+
## provider-snapshot.sh — worked example (Contabo API)
|
|
198
198
|
|
|
199
|
-
|
|
199
|
+
> Snapshot APIs are provider-specific. This is one worked example, not a
|
|
200
|
+
> bigpowers default; swap the auth and endpoint calls for your own provider.
|
|
201
|
+
|
|
202
|
+
Deploy to `/opt/your-app/scripts/contabo-snapshot.sh`. Reads credentials from `/opt/your-app/.env` (same file used by your application systemd unit):
|
|
200
203
|
|
|
201
204
|
```bash
|
|
202
205
|
#!/bin/bash
|
|
203
206
|
set -e
|
|
204
|
-
LOG=/var/log/
|
|
205
|
-
ENVFILE=/opt/
|
|
207
|
+
LOG=/var/log/your-app/snapshot.log
|
|
208
|
+
ENVFILE=/opt/your-app/.env
|
|
206
209
|
INSTANCE_ID=<your-contabo-instance-id>
|
|
207
210
|
|
|
208
211
|
[ -f "$ENVFILE" ] || { echo "$(date -Iseconds) ERROR: $ENVFILE missing" >> "$LOG"; exit 1; }
|
|
@@ -231,9 +234,9 @@ echo >> "$LOG"
|
|
|
231
234
|
echo "$(date -Iseconds) Snapshot requested for $INSTANCE_ID" >> "$LOG"
|
|
232
235
|
```
|
|
233
236
|
|
|
234
|
-
##
|
|
237
|
+
## your VPS provider credentials
|
|
235
238
|
|
|
236
|
-
Add to `/opt/
|
|
239
|
+
Add to `/opt/your-app/.env` (same file used by your application systemd unit, deployed by GitHub Actions):
|
|
237
240
|
|
|
238
241
|
```
|
|
239
242
|
CONTABO_CLIENT_ID=
|
|
@@ -242,13 +245,13 @@ CONTABO_API_USER=
|
|
|
242
245
|
CONTABO_API_PASSWORD=
|
|
243
246
|
```
|
|
244
247
|
|
|
245
|
-
Source:
|
|
248
|
+
Source: your VPS provider Customer Control Panel → API Details. ClientId and ClientSecret are generated there. API User is your email. API Password is set separately in the panel.
|
|
246
249
|
|
|
247
|
-
**Pipeline:** GitHub Secrets → deploy workflow → `/opt/
|
|
250
|
+
**Pipeline:** GitHub Secrets → deploy workflow → `/opt/your-app/.env` on VPS. For local dev (`cntb get instances`), add to `.envrc`.
|
|
248
251
|
|
|
249
|
-
##
|
|
252
|
+
## your VPS provider instance info template
|
|
250
253
|
|
|
251
|
-
Fill in your instance details from the
|
|
254
|
+
Fill in your instance details from the your VPS provider Customer Control Panel:
|
|
252
255
|
|
|
253
256
|
```
|
|
254
257
|
IP: <your-instance-ip>
|
|
@@ -260,7 +263,7 @@ Default user: root
|
|
|
260
263
|
Customer ID: <your-customer-id>
|
|
261
264
|
```
|
|
262
265
|
|
|
263
|
-
##
|
|
266
|
+
## your application monitoring alert SQL
|
|
264
267
|
|
|
265
268
|
```sql
|
|
266
269
|
INSERT INTO monitoring_alerts (id, name, metric, threshold, operator, enabled, duration_seconds)
|
|
@@ -273,7 +276,7 @@ INSERT INTO monitoring_alerts (id, name, metric, threshold, operator, enabled, d
|
|
|
273
276
|
VALUES ('alert-003', 'VPS RAM above 85%', 'mem_used_percent', 85, 'gt', 1, 120);
|
|
274
277
|
```
|
|
275
278
|
|
|
276
|
-
Alerts are loaded at
|
|
279
|
+
Alerts are loaded at your application startup. Restart with `systemctl restart your-app` after inserting.
|
|
277
280
|
|
|
278
281
|
## Base64 encoding workaround
|
|
279
282
|
|
|
@@ -123,5 +123,5 @@ After writing the bug file, print a one-line summary of the root cause and sugge
|
|
|
123
123
|
|
|
124
124
|
<!-- story: e35s10 -->
|
|
125
125
|
|
|
126
|
-
- [Feathers' Seams & Characterization Tests](
|
|
127
|
-
- [Fowler's Code Smells](
|
|
126
|
+
- [Feathers' Seams & Characterization Tests](../../../docs/references/feathers.md) — seam types, characterization tests, and the legacy code change algorithm
|
|
127
|
+
- [Fowler's Code Smells](../../../docs/references/fowler.md) — identifying structural problems by smell before investigating
|
|
@@ -94,7 +94,7 @@ Detailed documentation for the `orchestrate-project` meta-skill.
|
|
|
94
94
|
### PHASE 3: PLAN
|
|
95
95
|
- **Goal**: Write a verifiable implementation plan with success criteria.
|
|
96
96
|
- **Deliverables**: `release-plan.yaml`, `epics/eNN-*.yaml` with `verify:` per task.
|
|
97
|
-
- **Skills**: `scope-work`, `slice-tasks`, `
|
|
97
|
+
- **Skills**: `scope-work`, `slice-tasks`, `plan-work`.
|
|
98
98
|
- **Gate**: Quality (request-review ≥94%) + slopcheck [SUS]/[SLOP].
|
|
99
99
|
|
|
100
100
|
### PHASE 4: BUILD
|
|
@@ -81,7 +81,7 @@ After writing `specs/REFACTOR_LATEST.md`, suggest running `kickoff-branch` next
|
|
|
81
81
|
|
|
82
82
|
<!-- story: e35s10 -->
|
|
83
83
|
|
|
84
|
-
- [Fowler's Refactoring Catalog](
|
|
85
|
-
- [Beck's Tidy First?](
|
|
84
|
+
- [Fowler's Refactoring Catalog](../../../docs/references/fowler.md) — canonical refactoring vocabulary and code-smell taxonomy
|
|
85
|
+
- [Beck's Tidy First?](../../../docs/references/kent-beck.md) — structural change before behavioral change
|
|
86
86
|
|
|
87
87
|
## Verify
|
|
@@ -17,7 +17,7 @@ Synthesize the conversation context into `specs/release-plan.yaml` (index) and s
|
|
|
17
17
|
|------|---------|
|
|
18
18
|
| `specs/release-plan.yaml` | `release.version`, semver bump hint, WSJF-ordered epic list with `id`, `capsule_dir`, `wsjf`, `bcps` — **no story status** |
|
|
19
19
|
| `specs/epics/eNN-<slug>/epic.yaml` | Epic manifest: `id`, `title`, `wsjf`, `total_bcps`, `status`, `stories[]` list |
|
|
20
|
-
| `specs/epics/eNN-<slug>/eNNsYY-<slug>.md` | Story spec in [countable-story-format.md](
|
|
20
|
+
| `specs/epics/eNN-<slug>/eNNsYY-<slug>.md` | Story spec in [countable-story-format.md](../../../docs/countable-story-format.md) with 20 sections and Gherkin acceptance criteria |
|
|
21
21
|
| `specs/epics/eNN-<slug>/eNNsYY-tasks.yaml` | Decoupled task checklist with `verify:` commands per task |
|
|
22
22
|
| `specs/execution-status.yaml` | Flat key-value store for story status (`eNNsYY: todo`) |
|
|
23
23
|
|
|
@@ -102,7 +102,7 @@ stories:
|
|
|
102
102
|
```
|
|
103
103
|
### 6. Save story specs (countable-story-format .md)
|
|
104
104
|
|
|
105
|
-
Each story becomes a standalone `.md` file following [countable-story-format.md](
|
|
105
|
+
Each story becomes a standalone `.md` file following [countable-story-format.md](../../../docs/countable-story-format.md). Minimum: maturity 3 (Countable) with all 20 sections present. Acceptance criteria in §17 use Gherkin scenarios.
|
|
106
106
|
### 7. Save decoupled task files (`-tasks.yaml`)
|
|
107
107
|
|
|
108
108
|
Each story has a decoupled `-tasks.yaml` with implementation steps:
|
|
@@ -12,7 +12,7 @@ description: "PLANNING SPINE STEP 3 of 3 — Plan the work: write detailed imple
|
|
|
12
12
|
|
|
13
13
|
Produce a detailed, verifiable implementation plan in the **active epic capsule directory** (`specs/epics/eNN-slug/`). Output: a story spec `.md` file (countable-story-format) and a decoupled `eNNsYY-tasks.yaml` with runnable verify commands. "I think it works" is not a step.
|
|
14
14
|
|
|
15
|
-
> **HARD GATE** — Do NOT proceed with a plan until the task's success criteria are clear. If success is ambiguous,
|
|
15
|
+
> **HARD GATE** — Do NOT proceed with a plan until the task's success criteria are clear. If success is ambiguous, convert the task into "step → verify: `<cmd>`" pairs here before writing tasks — every task ships a runnable `verify:` or the plan is not done.
|
|
16
16
|
>
|
|
17
17
|
> **RECURSIVE DISCIPLINE** — This lifecycle applies to EVERY task, including updating these skills. Never skip planning because a task is "meta" or "just documentation."
|
|
18
18
|
|
|
@@ -8,7 +8,7 @@ description: "One-time bootstrap that introduces the bigpowers skills system, th
|
|
|
8
8
|
> **HARD GATE** — **HARD GATE** — This skill is the entry point. Do NOT skip it when onboarding new users or starting a new session. It establishes the bigpowers methodology, lifecycle phases, and conventions.
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
Welcome to **bigpowers** — a lifecycle of
|
|
11
|
+
Welcome to **bigpowers** — a lifecycle of agent skills for production-ready, TDD-driven software by solo developers. The live catalog and its count are generated in [ ](../../../SKILL-INDEX.md); never hardcode the number here.
|
|
12
12
|
|
|
13
13
|
## Install
|
|
14
14
|
|
|
@@ -37,7 +37,7 @@ DISCOVER survey-context → research-first → elaborate-spec
|
|
|
37
37
|
↓
|
|
38
38
|
DESIGN model-domain / define-language / grill-me / deepen-architecture / design-interface
|
|
39
39
|
↓
|
|
40
|
-
PLAN scope-work → slice-tasks →
|
|
40
|
+
PLAN scope-work → slice-tasks → plan-work / plan-refactor
|
|
41
41
|
↓
|
|
42
42
|
INITIATE kickoff-branch → guard-git / hook-commits / seed-conventions
|
|
43
43
|
↓
|
|
@@ -258,7 +258,7 @@ jobs:
|
|
|
258
258
|
|
|
259
259
|
---
|
|
260
260
|
|
|
261
|
-
## Reference block 2 — deploy.yml (
|
|
261
|
+
## Reference block 2 — deploy.yml (generic web app, excerpt)
|
|
262
262
|
|
|
263
263
|
```yaml
|
|
264
264
|
name: Deploy
|
|
@@ -276,7 +276,7 @@ concurrency:
|
|
|
276
276
|
cancel-in-progress: false
|
|
277
277
|
|
|
278
278
|
env:
|
|
279
|
-
SITE_URL: "https://CHANGE-ME.
|
|
279
|
+
SITE_URL: "https://CHANGE-ME.example.com"
|
|
280
280
|
|
|
281
281
|
jobs:
|
|
282
282
|
deploy:
|
|
@@ -292,18 +292,15 @@ jobs:
|
|
|
292
292
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
293
293
|
run-id: ${{ github.event.workflow_run.id }}
|
|
294
294
|
path: deploy-meta
|
|
295
|
-
#
|
|
296
|
-
#
|
|
297
|
-
#
|
|
298
|
-
#
|
|
299
|
-
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
deploy_token: ${{ secrets.BIGBASE_DEPLOY_TOKEN }}
|
|
305
|
-
ref: ${{ steps.meta.outputs.ref }}
|
|
306
|
-
skip_health_check: true
|
|
295
|
+
# Placeholder deploy step — bigpowers ships no deploy templates and pins
|
|
296
|
+
# no third-party action. Substitute your platform's own step here, or drop
|
|
297
|
+
# the deploy job entirely for CLI and library repos. Pin whatever action
|
|
298
|
+
# you choose to a full commit SHA rather than a tag. (GH #104)
|
|
299
|
+
- name: Deploy
|
|
300
|
+
run: |
|
|
301
|
+
echo "Replace this step with your platform's deploy command."
|
|
302
|
+
echo "commit=$(jq -r .sha deploy-meta/deploy-meta.json)"
|
|
303
|
+
exit 1
|
|
307
304
|
- name: Health check
|
|
308
305
|
run: |
|
|
309
306
|
curl -sf "${{ env.SITE_URL }}" || exit 1
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: align-grid
|
|
3
|
+
model: sonnet
|
|
4
|
+
description: "Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a decorative one. Encodes the discipline (columns + modules + baseline, grotesque type, flush-left, restrained black/white/red palette) AND the hard-won front-end engineering to make the grid real, visible, and verified: one CSS-variable source of truth, an interactive grid-toggle overlay that lives in the SAME content box as the content, subgrid \"bands\" so every element snaps to a column line, an 8px baseline lock, and runtime OPTICAL ALIGNMENT that puts display type's ink (not its box) on the line. Ships with a scaffold generator and a Puppeteer verification harness that proves 0px adherence."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Müller-Brockmann Grid Systems — built real, visible, and verified
|
|
8
|
+
|
|
9
|
+
Josef Müller-Brockmann (1914–1996), Zurich; *Grid Systems in Graphic Design* (1981) is the corpus. The grid is treated as an ethic, not decoration: **"The grid system is an aid, not a guarantee. It permits a number of possible uses and each designer can look for a solution appropriate to his personal style. But one must learn how to use the grid; it is an art that requires practice."** This skill encodes that discipline AND — the part most attempts get wrong — the front-end engineering to make the grid genuinely load-bearing on the web, plus a harness that PROVES it.
|
|
10
|
+
|
|
11
|
+
> **HARD GATE** — Do NOT ship a grid page without running `verify_grid.js` first. A visually plausible layout is not evidence of grid adherence — the harness is. Zero failing assertions is the only passing bar.
|
|
12
|
+
|
|
13
|
+
> Two real review notes this skill exists to prevent:
|
|
14
|
+
> 1. *"the grid is just slapped on top and misaligned"* → the overlay wasn't in the same content box as the content (see §2.2).
|
|
15
|
+
> 2. *"the H in the headline is off the grid"* → the headline's BOX was on the grid but its INK wasn't; large glyphs carry a side-bearing (see §2.6). **Box-on-grid ≠ ink-on-grid.**
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## PART 1 — THE DISCIPLINE (decide before drawing)
|
|
20
|
+
- **Objective order.** The grid brings "constructive thought," legibility, and "objective and functional" design. Restraint is the point; the system, not the ego, organizes the page.
|
|
21
|
+
- **Modular grid.** Divide the type area into a field of **modules** — columns AND rows — separated by consistent **gutters**, inside defined **margins**. Text and images occupy whole modules. Müller-Brockmann specimens common field counts (8 / 20 / 32 fields). For the web, a **12-column grid + 8px baseline** is a robust general default; a **6×6 or 4×8 modular field grid** when you want visible rows too.
|
|
22
|
+
- **Baseline grid.** Vertical rhythm is sacred: **leading = a whole multiple of the baseline unit**, and every element snaps to it. This is what makes facing columns and images line up across the page.
|
|
23
|
+
- **Typography.** A **grotesque sans** (Akzidenz-Grotesk / Helvetica; on the web Inter, Helvetica Now, Archivo). **Flush-left, ragged-right.** Few sizes, large jumps in **scale** for hierarchy; objective, not expressive. Big **numerals/data set large** is a signature move.
|
|
24
|
+
- **Palette.** Pure white paper, near-black ink, **one accent — red is canonical**. Avoid the warm-cream "Claude look"; **never blue/purple gradients** (hard house rule).
|
|
25
|
+
- **White space + asymmetry.** Generous margins; asymmetric compositions held in tension by the grid.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## PART 2 — MAKE THE GRID REAL ON THE WEB (the load-bearing engineering)
|
|
30
|
+
`grid_tokens.py` emits this whole scaffold correctly; the rules below are why it's built the way it is.
|
|
31
|
+
|
|
32
|
+
### 2.1 One source of truth
|
|
33
|
+
Put every grid parameter in `:root` CSS variables — `--cols, --gutter, --margin, --bl (baseline), --lh (leading=3×bl), --maxw`. **Content and the overlay both read these same variables.** Never hand-author the overlay separately or it will drift.
|
|
34
|
+
|
|
35
|
+
### 2.2 The overlay MUST live in the SAME content box as the content ← #1 bug
|
|
36
|
+
Failure mode: content sits in a centered `max-width` container while the overlay is a **full-width sibling** of the section. On any viewport wider than `--maxw`, the centered content and the full-width overlay no longer share column positions → "slapped on top / misaligned."
|
|
37
|
+
**Fix:** put `.guides` *inside* the same `.wrap`, and draw the column guides with `left/right = var(--margin)` and the **same** `repeat(var(--cols),1fr)` + `column-gap:var(--gutter)`. Then the overlay columns **are** the content columns at every width. Add left/right margin lines at `var(--margin)`.
|
|
38
|
+
|
|
39
|
+
### 2.3 Place every element by column LINE via subgrid bands
|
|
40
|
+
Don't eyeball spans. Each horizontal **band** spans all columns and re-exposes them:
|
|
41
|
+
```css
|
|
42
|
+
.band{grid-column:1 / -1; display:grid; grid-template-columns:subgrid; column-gap:var(--gutter); align-items:start;}
|
|
43
|
+
@supports not (grid-template-columns:subgrid){ .band{grid-template-columns:repeat(var(--cols),1fr);} }
|
|
44
|
+
```
|
|
45
|
+
Children place with `grid-column: <startline> / <endline>` (e.g. `1 / 6`, `6 / 13`). Every headline, paragraph, photo, caption now snaps to identical lines.
|
|
46
|
+
|
|
47
|
+
### 2.4 Lock vertical rhythm to the baseline
|
|
48
|
+
- Leading = `--lh` (e.g. 24px = 3×8). **Every line-height a multiple of the baseline, in px (not unitless) for display type** — unitless line-heights on large type push the box off the grid.
|
|
49
|
+
- Every margin/padding a multiple of the baseline. Spread top/bottom padding a multiple too, so content starts on a line.
|
|
50
|
+
- **Media heights = multiples of the leading** (e.g. 240/360/432/480px) so a photo's top AND bottom both land on lines.
|
|
51
|
+
- Hairline rules sit inside a baseline-height band, not free-floating.
|
|
52
|
+
|
|
53
|
+
### 2.5 The toggle (sizzle within the sizzle)
|
|
54
|
+
A control (button **+ `G` key**) toggles `body.grid-on`; overlay fades 0→1. Overlay draws: translucent **numbered column fields**, the **baseline** (major line every `--lh`, faint minor every `--bl`), and **margin lines**. Showing the real grid the page is built on IS the demo.
|
|
55
|
+
|
|
56
|
+
### 2.6 OPTICAL ALIGNMENT — display ink, not its box ← the subtle bug
|
|
57
|
+
A 180px headline whose layout box is exactly on line 1 still looks misaligned against body text, because the letterform's **ink** is inset by its **left side-bearing**. Cure at runtime:
|
|
58
|
+
```js
|
|
59
|
+
// after document.fonts.ready and on resize:
|
|
60
|
+
var cvs=document.createElement('canvas'),ctx=cvs.getContext('2d');
|
|
61
|
+
document.querySelectorAll('.masthead,.numeral,.shead h2,.h2b').forEach(function(el){
|
|
62
|
+
el.style.marginLeft='0px';
|
|
63
|
+
var cs=getComputedStyle(el),ch=(el.textContent||'').trim()[0]; if(!ch) return;
|
|
64
|
+
if(cs.textTransform==='uppercase') ch=ch.toUpperCase();
|
|
65
|
+
ctx.font=cs.fontStyle+' '+cs.fontWeight+' '+cs.fontSize+' '+cs.fontFamily; ctx.textAlign='left';
|
|
66
|
+
var abl=ctx.measureText(ch).actualBoundingBoxLeft; // +ve = ink overhangs left of box
|
|
67
|
+
if(isFinite(abl)) el.style.marginLeft=abl.toFixed(2)+'px'; // shift box so INK lands on the line
|
|
68
|
+
});
|
|
69
|
+
```
|
|
70
|
+
Apply to the masthead, big numerals, and section headlines. It scales with fluid type (re-runs on resize) and uses the **actually-loaded** font, so it's correct in the user's browser.
|
|
71
|
+
**CRITICAL measurement caveat:** side-bearing is **font-specific**. If you measure with the wrong font you get the wrong nudge. Headless/sandbox Chrome usually lacks the webfont, so canvas falls back to a different grotesque (measured **−16px on the fallback vs −7px on real Inter** for the same `H`). To verify optics offline you must **embed the real webfont** via `@font-face` (local TTF). In production the runtime JS measures the loaded font and is correct.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## PART 3 — VERIFY (don't trust, measure) → `verify_grid.js`
|
|
76
|
+
Render with headless Chrome (Puppeteer) and assert, at **several widths including > and < `--maxw`** (to catch centered-container drift, e.g. 1440 / 1180 / 900):
|
|
77
|
+
1. **Column adherence** — every placed `.band > *` left snaps to a column START and right to a column END (~0px). **Exclude the optically-aligned display elements** from this box check (their box is intentionally side-bearing-offset; they're validated in step 4). **Gotcha:** build BOTH the column-start set and the column-end set — a grid item spanning "to line N" ends at the *far* side of the gutter, so single-edge math falsely reports a one-gutter error.
|
|
78
|
+
2. **Overlay match** — each `.guides .col` rect equals the computed column rect (~0px).
|
|
79
|
+
3. **Baseline** — text tops modulo the baseline ≈ 0 (tolerance ≈ half a baseline; the box-top is a proxy — the leading does the real work).
|
|
80
|
+
4. **Optical ink** — each display element's ink-left (box − `actualBoundingBoxLeft`, real font) equals **its own** column line (nearest column-start to its box), not always line 1.
|
|
81
|
+
|
|
82
|
+
Sandbox Chrome flags that work: `--headless=new --no-sandbox --disable-gpu --disable-dbus --use-gl=angle --use-angle=swiftshader`. `file://` works for non-ES-module pages; the CLI `--screenshot` can hang on tall pages — drive via Puppeteer and screenshot per viewport. Read PNGs back with the image-capable Read tool to eyeball a **zoom crop of the top-left corner** (masthead vs body vs column line) — the fastest human check.
|
|
83
|
+
|
|
84
|
+
A clean run looks like: `col=0px overlay=0px baseline≤4px ink=0px` → `GRID VERIFY: PASS`.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## PART 4 — CRAFT DEFAULTS (so it looks excellent, not just aligned)
|
|
89
|
+
- **Palette:** white `#fff`, ink `#111`, one accent (Swiss red `#e4002b`). No warm-cream Claude look; no blue/purple gradients.
|
|
90
|
+
- **Type:** a real grotesque webfont (Inter / Helvetica Now / Archivo) for display + body; a **mono** (Space Mono / IBM Plex Mono) for folios, captions, grid annotations — reinforces the technical register. Non-Latin via Noto Sans JP etc.
|
|
91
|
+
- **Hierarchy** through scale + weight + white space, not color. Treat key data as **large numerals**. Kicker labels in mono caps. Per-spread folios.
|
|
92
|
+
- **Real photography.** Ground real subjects in real photos (`SearchImages`). **Host each image via `PublishFilePublicly` and embed the `pub.hyperagent.com` URL** — a `PublishWebpage` artifact runs in a sandboxed iframe that can't authenticate thread-scoped `/api/files/...` URLs (broken-image trap).
|
|
93
|
+
- **Type fidelity if you ever rasterize art** (cairosvg / headless screenshots / image-gen reference): a `Helvetica`/`Arial` CSS stack silently falls back to **Noto Sans** (reads like Calibri). Render in **Liberation Sans** or an embedded Helvetica/Arimo TTF before trusting it. (Same trap as the optical-measurement caveat: wrong font in → wrong result out.)
|
|
94
|
+
- **Spread model:** full-width sections, each its own per-spread `.grid` + `.guides`, consistent margins/folios.
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## PART 5 — WORKFLOW
|
|
99
|
+
1. Pick the subject; gather real photos; host them publicly.
|
|
100
|
+
2. Generate the scaffold: `python3 grid_tokens.py` (or `--scaffold` for a full page; `--cols/--baseline/--gutter/--margin/--maxw/--accent` to taste; it warns if gutter/margin aren't baseline multiples).
|
|
101
|
+
3. Build spreads as **subgrid bands**; place everything by **column line**; lock spacing/line-heights/media heights to the **baseline**.
|
|
102
|
+
4. Add the overlay (same content box) + toggle + optical-alignment JS (already in the scaffold; point its selector list at your display elements).
|
|
103
|
+
5. Publish, then **verify**: `CHROME=… PUP=… node verify_grid.js <file-or-url> --widths=1440,1180,900`. Eyeball a top-left zoom crop. Fix, republish.
|
|
104
|
+
|
|
105
|
+
## SCRIPTS
|
|
106
|
+
- **`grid_tokens.py`** — deterministic scaffold generator. Emits the `:root` tokens, `.grid`/`.band` (subgrid) scaffold, `.guides` overlay CSS, toggle JS, and the optical-alignment JS — all wired to one source of truth. `--scaffold` emits a full minimal HTML page. No network/credentials.
|
|
107
|
+
- **`verify_grid.js`** — Puppeteer harness implementing all four checks above with the corrected both-edges column math, the optical-exclusion, per-element column-line ink targeting, and PASS/FAIL output at multiple widths. Env: `CHROME` (chrome binary), `PUP` (puppeteer-core module path).
|
|
108
|
+
|
|
109
|
+
## CREED
|
|
110
|
+
A grid you can't toggle on and measure is a mood board, not a system. Build it from one source of truth, prove it at 0px, and align the **ink**.
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: assess-impact
|
|
3
|
+
model: sonnet
|
|
4
|
+
description: "Analyze the blast radius of a proposed change before any code is written. Maps dependents, affected stories, and test coverage. Produces specs/IMPACT_LATEST.md. Use before plan-work on any non-trivial change, when touching a shared module, or when the user asks \"what does this break?\"."
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Assess Impact
|
|
8
|
+
|
|
9
|
+
> **HARD GATE** — Run this skill before `plan-work` whenever a change touches an existing module, symbol, or file used by more than one caller. Skip only for net-new code with no existing dependents.
|
|
10
|
+
|
|
11
|
+
Find the blast radius of the proposed change before a single line is written.
|
|
12
|
+
|
|
13
|
+
## Modes
|
|
14
|
+
|
|
15
|
+
- Default: full impact analysis (dependents + affected stories + test coverage mapping)
|
|
16
|
+
- --lightweight: Fast fan-in/fan-out only (<10s). Maps callers and imports without test coverage mapping. Used by build-epic step 2 as a pre-plan gate. Risk score > 7 triggers a mandatory grill-me session before proceeding.
|
|
17
|
+
|
|
18
|
+
## Process
|
|
19
|
+
|
|
20
|
+
### 1. Identify the target
|
|
21
|
+
|
|
22
|
+
Name the symbol, module, or file being changed. If the user hasn't specified, ask one question: "What exactly are you changing?"
|
|
23
|
+
|
|
24
|
+
### 2. Find dependents
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
grep -rn "[symbol-name]" . --include="*.ts" | grep -v node_modules
|
|
28
|
+
git log --oneline -10 -- [file-path]
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
→ verify: `test -f specs/IMPACT_LATEST.md || test -d specs/bugs`
|
|
32
|
+
|
|
33
|
+
### 3. Map to release plan stories
|
|
34
|
+
|
|
35
|
+
Read `specs/release-plan.yaml + epic capsule directories` (if it exists). For each dependent found in Step 2, identify which story owns that module. List stories that will be affected by the change.
|
|
36
|
+
|
|
37
|
+
→ verify: `test -f specs/release-plan.yaml && grep -ci "stor" specs/release-plan.yaml`
|
|
38
|
+
|
|
39
|
+
### 4. List test coverage
|
|
40
|
+
|
|
41
|
+
Find tests that exercise the target:
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
grep -rn "[symbol-name]" . --include="*.test.*" --include="*.spec.*"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
→ verify: `test -d specs/epics || test -d skills`
|
|
48
|
+
|
|
49
|
+
### 5. Classify risk
|
|
50
|
+
|
|
51
|
+
| Level | Condition |
|
|
52
|
+
|-------|-----------|
|
|
53
|
+
| Low | ≤ 2 callers, all covered by tests |
|
|
54
|
+
| Medium | 3–10 callers, partial test coverage |
|
|
55
|
+
| High | > 10 callers, or shared API/interface, or no tests |
|
|
56
|
+
|
|
57
|
+
### 6. Write specs/IMPACT_LATEST.md
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
## Target
|
|
61
|
+
[symbol or file being changed]
|
|
62
|
+
|
|
63
|
+
## Dependents ([count])
|
|
64
|
+
- [file]: [caller or usage]
|
|
65
|
+
|
|
66
|
+
## Affected Stories
|
|
67
|
+
- Story [X.Y]: [title]
|
|
68
|
+
|
|
69
|
+
## Test Coverage
|
|
70
|
+
- [test file]: covers [scenario]
|
|
71
|
+
- Gap: [untested behavior]
|
|
72
|
+
|
|
73
|
+
## Risk: Low / Medium / High
|
|
74
|
+
[One-sentence rationale]
|
|
75
|
+
|
|
76
|
+
## Recommended action
|
|
77
|
+
[Proceed / Add tests first / Discuss design]
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
→ verify: `grep "Risk:" specs/IMPACT_LATEST.md`
|
|
81
|
+
|
|
82
|
+
Suggest `plan-work` once risk is understood and any test gaps are noted.
|
|
83
|
+
|
|
84
|
+
## Risk score gating
|
|
85
|
+
|
|
86
|
+
In `--lightweight` mode (used by build-epic step 2), assign a numeric risk score (1–10):
|
|
87
|
+
- Fan-in (how many callers): 0–4 points
|
|
88
|
+
- Fan-out (how many dependencies the module itself uses): 0–3 points
|
|
89
|
+
- Recent churn (git log --oneline -5 count): 0–3 points
|
|
90
|
+
|
|
91
|
+
**Risk score > 7**: Gate — require a `grill-me` session before proceeding to implementation. Document the grill-me result in the impact report at `specs/IMPACT-<epic>-<story>.md`.
|