@punks/cli 2.1.11 → 2.2.1
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/README.md +15 -1
- package/dist/index.js +0 -0
- package/package.json +1 -1
- package/dist/data/AGENTS.md +0 -119
- package/dist/data/catalog/hooks.ts +0 -26
- package/dist/data/catalog/lint.ts +0 -266
- package/dist/data/catalog/packs.ts +0 -327
- package/dist/data/catalog/skills.ts +0 -449
- package/dist/data/catalog/tools.ts +0 -48
- package/dist/data/control-plane.json +0 -3
- package/dist/data/hooks/format-edited-file.mjs +0 -699
- package/dist/data/hooks/format-edited-file.sh +0 -37
- package/dist/data/hooks/require-tests-for-pr.mjs +0 -206
- package/dist/data/hooks/scaffold-update-check.mjs +0 -181
- package/dist/data/hooks.test.ts +0 -109
- package/dist/data/scripts/sync-subagents.mjs +0 -524
- package/dist/data/subagents/manifest.mjs +0 -487
- package/dist/data/subagents/manifest.test.ts +0 -40
- package/dist/skills/agnostic/backend/backend-domain-structure/SKILL.md +0 -50
- package/dist/skills/agnostic/backend/backend-domain-structure/agents/openai.yaml +0 -4
- package/dist/skills/agnostic/backend/backend-domain-structure/references/layout.md +0 -167
- package/dist/skills/agnostic/backend/backend-recoverable-actions/SKILL.md +0 -49
- package/dist/skills/agnostic/backend/backend-recoverable-actions/agents/openai.yaml +0 -4
- package/dist/skills/agnostic/backend/backend-recoverable-actions/references/strategy-matrix.md +0 -34
- package/dist/skills/agnostic/backend/backend-recoverable-actions/references/test-matrix.md +0 -34
- package/dist/skills/agnostic/backend/logging-best-practices/SKILL.md +0 -127
- package/dist/skills/agnostic/backend/logging-best-practices/rules/context.md +0 -157
- package/dist/skills/agnostic/backend/logging-best-practices/rules/pitfalls.md +0 -118
- package/dist/skills/agnostic/backend/logging-best-practices/rules/structure.md +0 -193
- package/dist/skills/agnostic/backend/logging-best-practices/rules/wide-events.md +0 -113
- package/dist/skills/agnostic/cli/dp-cli/SKILL.md +0 -125
- package/dist/skills/agnostic/cli/dp-cli/references/commands.md +0 -70
- package/dist/skills/agnostic/cli/dp-cli/references/post-command-flow.md +0 -70
- package/dist/skills/agnostic/debug/debug-agent/SKILL.md +0 -184
- package/dist/skills/agnostic/docs/docs-onboarding/SKILL.md +0 -46
- package/dist/skills/agnostic/docs/docs-onboarding/agents/openai.yaml +0 -4
- package/dist/skills/agnostic/docs/docs-onboarding/references/artifact-contract.md +0 -67
- package/dist/skills/agnostic/docs/writing-beats/SKILL.md +0 -69
- package/dist/skills/agnostic/docs/writing-fragments/SKILL.md +0 -76
- package/dist/skills/agnostic/docs/writing-shape/SKILL.md +0 -75
- package/dist/skills/agnostic/frontend/agent-browser/.clawdhub/origin.json +0 -7
- package/dist/skills/agnostic/frontend/agent-browser/SKILL.md +0 -229
- package/dist/skills/agnostic/frontend/agent-browser/references/authentication.md +0 -202
- package/dist/skills/agnostic/frontend/agent-browser/references/commands.md +0 -259
- package/dist/skills/agnostic/frontend/agent-browser/references/proxy-support.md +0 -188
- package/dist/skills/agnostic/frontend/agent-browser/references/session-management.md +0 -193
- package/dist/skills/agnostic/frontend/agent-browser/references/snapshot-refs.md +0 -194
- package/dist/skills/agnostic/frontend/agent-browser/references/video-recording.md +0 -173
- package/dist/skills/agnostic/frontend/agent-browser/templates/authenticated-session.sh +0 -97
- package/dist/skills/agnostic/frontend/agent-browser/templates/capture-workflow.sh +0 -69
- package/dist/skills/agnostic/frontend/agent-browser/templates/form-automation.sh +0 -62
- package/dist/skills/agnostic/frontend/design-taste-frontend/SKILL.md +0 -226
- package/dist/skills/agnostic/frontend/frontend-domain-structure/SKILL.md +0 -55
- package/dist/skills/agnostic/frontend/frontend-domain-structure/agents/openai.yaml +0 -4
- package/dist/skills/agnostic/frontend/frontend-domain-structure/references/react/structure.md +0 -102
- package/dist/skills/agnostic/frontend/frontend-domain-structure/references/structure.md +0 -257
- package/dist/skills/agnostic/frontend/gpt-taste/SKILL.md +0 -74
- package/dist/skills/agnostic/frontend/image-taste-frontend/SKILL.md +0 -1102
- package/dist/skills/agnostic/frontend/redesign-existing-projects/SKILL.md +0 -178
- package/dist/skills/agnostic/generic/handoff/SKILL.md +0 -15
- package/dist/skills/agnostic/planning/create-plan/REFERENCE.md +0 -37
- package/dist/skills/agnostic/planning/create-plan/SKILL.md +0 -88
- package/dist/skills/agnostic/planning/create-plan/references/backlog-sync.md +0 -44
- package/dist/skills/agnostic/planning/create-plan/references/grill-phase.md +0 -87
- package/dist/skills/agnostic/planning/create-plan/references/plan-schema.md +0 -90
- package/dist/skills/agnostic/planning/create-plan/references/planner-phase.md +0 -42
- package/dist/skills/agnostic/planning/create-plan/references/stop-conditions.md +0 -18
- package/dist/skills/agnostic/planning/create-plan/references/tdd-phase.md +0 -48
- package/dist/skills/agnostic/planning/create-spec/SKILL.md +0 -111
- package/dist/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md +0 -91
- package/dist/skills/agnostic/planning/create-spec/references/backlog-sync.md +0 -49
- package/dist/skills/agnostic/planning/create-spec/references/discovery.md +0 -54
- package/dist/skills/agnostic/planning/create-spec/references/folder-naming.md +0 -33
- package/dist/skills/agnostic/planning/create-spec/references/grill-phase.md +0 -47
- package/dist/skills/agnostic/planning/create-spec/references/handoff.md +0 -47
- package/dist/skills/agnostic/planning/create-spec/references/questioning.md +0 -51
- package/dist/skills/agnostic/planning/create-spec/references/spec-quality-bar.md +0 -58
- package/dist/skills/agnostic/planning/create-spec/references/wiki-bookkeeping.md +0 -50
- package/dist/skills/agnostic/planning/grill-me/SKILL.md +0 -28
- package/dist/skills/agnostic/planning/implement-spec/SKILL.md +0 -99
- package/dist/skills/agnostic/planning/implement-spec/assets/IMPLEMENTATION-NOTES-TEMPLATE.md +0 -53
- package/dist/skills/agnostic/planning/implement-spec/references/lifecycle.md +0 -199
- package/dist/skills/agnostic/planning/implement-spec/references/parallel-orchestration.md +0 -102
- package/dist/skills/agnostic/planning/implement-spec/references/parallel-worker-brief.md +0 -74
- package/dist/skills/agnostic/planning/implement-spec/references/parallel.md +0 -56
- package/dist/skills/agnostic/planning/implement-spec/references/sequential.md +0 -43
- package/dist/skills/agnostic/planning/stack/SKILL.md +0 -89
- package/dist/skills/agnostic/planning/swarm-planner/SKILL.md +0 -179
- package/dist/skills/agnostic/quality/autoreview/SKILL.md +0 -191
- package/dist/skills/agnostic/quality/autoreview/scripts/autoreview +0 -1176
- package/dist/skills/agnostic/quality/autoreview/scripts/test-review-harness +0 -176
- package/dist/skills/agnostic/quality/simplify/SKILL.md +0 -14
- package/dist/skills/agnostic/quality/tdd/SKILL.md +0 -138
- package/dist/skills/agnostic/quality/tdd/deep-modules.md +0 -33
- package/dist/skills/agnostic/quality/tdd/interface-design.md +0 -31
- package/dist/skills/agnostic/quality/tdd/mocking.md +0 -59
- package/dist/skills/agnostic/quality/tdd/refactoring.md +0 -10
- package/dist/skills/agnostic/quality/tdd/tests.md +0 -61
- package/dist/skills/agnostic/requirements/requirements-grill/SKILL.md +0 -44
- package/dist/skills/agnostic/requirements/requirements-grill/references/artifact-output.md +0 -157
- package/dist/skills/agnostic/requirements/requirements-grill/references/grilling-flow.md +0 -69
- package/dist/skills/agnostic/requirements/requirements-grill/references/wiki-output.md +0 -101
- package/dist/skills/agnostic/requirements/write-backlog/EXAMPLES.md +0 -67
- package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +0 -262
- package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +0 -71
- package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +0 -69
- package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +0 -66
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +0 -63
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +0 -224
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +0 -76
- package/dist/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +0 -146
- package/dist/skills/agnostic/research/improve-codebase-architecture/REFERENCE.md +0 -78
- package/dist/skills/agnostic/research/improve-codebase-architecture/SKILL.md +0 -76
- package/dist/skills/agnostic/research/parallel-research/SKILL.md +0 -68
- package/dist/skills/agnostic/research/parallel-research/agents/openai.yaml +0 -4
- package/dist/skills/agnostic/subagents/swarm-planner/SKILL.md +0 -179
- package/dist/skills/agnostic/write-a-skill/SKILL.md +0 -117
- package/dist/skills/frameworks/better-auth/better-auth-best-practices/SKILL.md +0 -166
- package/dist/skills/frameworks/better-auth/better-auth-security-best-practices/SKILL.MD +0 -432
- package/dist/skills/frameworks/effect/effect-authoring/SKILL.md +0 -116
- package/dist/skills/frameworks/effect/effect-authoring/references/branded-types.md +0 -98
- package/dist/skills/frameworks/effect/effect-authoring/references/effect-atom-patterns.md +0 -257
- package/dist/skills/frameworks/effect/effect-authoring/references/effect-primitives.md +0 -144
- package/dist/skills/frameworks/effect/effect-authoring/references/error-patterns.md +0 -156
- package/dist/skills/frameworks/effect/effect-authoring/references/otel-patterns.md +0 -113
- package/dist/skills/frameworks/effect/effect-authoring/references/test-patterns.md +0 -146
- package/dist/skills/frameworks/effect/effect-backend-structure/SKILL.md +0 -96
- package/dist/skills/frameworks/effect/effect-backend-structure/agents/openai.yaml +0 -4
- package/dist/skills/frameworks/effect/effect-backend-structure/references/layout.md +0 -68
- package/dist/skills/frameworks/effect/effect-best-practices/SKILL.md +0 -517
- package/dist/skills/frameworks/effect/effect-best-practices/references/anti-patterns.md +0 -392
- package/dist/skills/frameworks/effect/effect-best-practices/references/effect-atom-patterns.md +0 -653
- package/dist/skills/frameworks/effect/effect-best-practices/references/error-patterns.md +0 -464
- package/dist/skills/frameworks/effect/effect-best-practices/references/language-server.md +0 -287
- package/dist/skills/frameworks/effect/effect-best-practices/references/layer-patterns.md +0 -495
- package/dist/skills/frameworks/effect/effect-best-practices/references/observability-patterns.md +0 -342
- package/dist/skills/frameworks/effect/effect-best-practices/references/rpc-cluster-patterns.md +0 -418
- package/dist/skills/frameworks/effect/effect-best-practices/references/schema-patterns.md +0 -353
- package/dist/skills/frameworks/effect/effect-best-practices/references/service-patterns.md +0 -299
- package/dist/skills/frameworks/effect/effect-recoverable-actions/SKILL.md +0 -65
- package/dist/skills/frameworks/effect/effect-recoverable-actions/agents/openai.yaml +0 -4
- package/dist/skills/frameworks/effect/effect-recoverable-actions/references/flow-examples.md +0 -154
- package/dist/skills/frameworks/effect/effect-recoverable-actions/references/source-backed-primitives.md +0 -104
- package/dist/skills/frameworks/effect/effect-recoverable-actions/references/strategy-matrix.md +0 -34
- package/dist/skills/frameworks/effect/effect-recoverable-actions/references/test-matrix.md +0 -36
- package/dist/skills/frameworks/elysia/elysiajs/SKILL.md +0 -475
- package/dist/skills/frameworks/elysia/elysiajs/examples/basic.ts +0 -9
- package/dist/skills/frameworks/elysia/elysiajs/examples/body-parser.ts +0 -33
- package/dist/skills/frameworks/elysia/elysiajs/examples/complex.ts +0 -112
- package/dist/skills/frameworks/elysia/elysiajs/examples/cookie.ts +0 -45
- package/dist/skills/frameworks/elysia/elysiajs/examples/error.ts +0 -38
- package/dist/skills/frameworks/elysia/elysiajs/examples/file.ts +0 -10
- package/dist/skills/frameworks/elysia/elysiajs/examples/guard.ts +0 -34
- package/dist/skills/frameworks/elysia/elysiajs/examples/map-response.ts +0 -15
- package/dist/skills/frameworks/elysia/elysiajs/examples/redirect.ts +0 -6
- package/dist/skills/frameworks/elysia/elysiajs/examples/rename.ts +0 -32
- package/dist/skills/frameworks/elysia/elysiajs/examples/schema.ts +0 -61
- package/dist/skills/frameworks/elysia/elysiajs/examples/state.ts +0 -6
- package/dist/skills/frameworks/elysia/elysiajs/examples/upload-file.ts +0 -20
- package/dist/skills/frameworks/elysia/elysiajs/examples/websocket.ts +0 -25
- package/dist/skills/frameworks/elysia/elysiajs/integrations/ai-sdk.md +0 -92
- package/dist/skills/frameworks/elysia/elysiajs/integrations/astro.md +0 -59
- package/dist/skills/frameworks/elysia/elysiajs/integrations/better-auth.md +0 -117
- package/dist/skills/frameworks/elysia/elysiajs/integrations/cloudflare-worker.md +0 -95
- package/dist/skills/frameworks/elysia/elysiajs/integrations/deno.md +0 -34
- package/dist/skills/frameworks/elysia/elysiajs/integrations/drizzle.md +0 -258
- package/dist/skills/frameworks/elysia/elysiajs/integrations/expo.md +0 -95
- package/dist/skills/frameworks/elysia/elysiajs/integrations/nextjs.md +0 -103
- package/dist/skills/frameworks/elysia/elysiajs/integrations/nodejs.md +0 -64
- package/dist/skills/frameworks/elysia/elysiajs/integrations/nuxt.md +0 -67
- package/dist/skills/frameworks/elysia/elysiajs/integrations/prisma.md +0 -93
- package/dist/skills/frameworks/elysia/elysiajs/integrations/react-email.md +0 -134
- package/dist/skills/frameworks/elysia/elysiajs/integrations/sveltekit.md +0 -53
- package/dist/skills/frameworks/elysia/elysiajs/integrations/tanstack-start.md +0 -87
- package/dist/skills/frameworks/elysia/elysiajs/integrations/vercel.md +0 -55
- package/dist/skills/frameworks/elysia/elysiajs/patterns/mvc.md +0 -380
- package/dist/skills/frameworks/elysia/elysiajs/plugins/bearer.md +0 -30
- package/dist/skills/frameworks/elysia/elysiajs/plugins/cors.md +0 -141
- package/dist/skills/frameworks/elysia/elysiajs/plugins/cron.md +0 -265
- package/dist/skills/frameworks/elysia/elysiajs/plugins/graphql-apollo.md +0 -90
- package/dist/skills/frameworks/elysia/elysiajs/plugins/graphql-yoga.md +0 -87
- package/dist/skills/frameworks/elysia/elysiajs/plugins/html.md +0 -188
- package/dist/skills/frameworks/elysia/elysiajs/plugins/jwt.md +0 -197
- package/dist/skills/frameworks/elysia/elysiajs/plugins/openapi.md +0 -246
- package/dist/skills/frameworks/elysia/elysiajs/plugins/opentelemetry.md +0 -167
- package/dist/skills/frameworks/elysia/elysiajs/plugins/server-timing.md +0 -71
- package/dist/skills/frameworks/elysia/elysiajs/plugins/static.md +0 -84
- package/dist/skills/frameworks/elysia/elysiajs/references/bun-fullstack-dev-server.md +0 -129
- package/dist/skills/frameworks/elysia/elysiajs/references/cookie.md +0 -187
- package/dist/skills/frameworks/elysia/elysiajs/references/deployment.md +0 -413
- package/dist/skills/frameworks/elysia/elysiajs/references/eden.md +0 -158
- package/dist/skills/frameworks/elysia/elysiajs/references/lifecycle.md +0 -198
- package/dist/skills/frameworks/elysia/elysiajs/references/macro.md +0 -83
- package/dist/skills/frameworks/elysia/elysiajs/references/plugin.md +0 -207
- package/dist/skills/frameworks/elysia/elysiajs/references/route.md +0 -331
- package/dist/skills/frameworks/elysia/elysiajs/references/testing.md +0 -385
- package/dist/skills/frameworks/elysia/elysiajs/references/validation.md +0 -491
- package/dist/skills/frameworks/elysia/elysiajs/references/websocket.md +0 -250
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/.github/workflows/branch-protection.yml +0 -24
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/.github/workflows/deploy.yml +0 -61
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/AGENTS.md +0 -5958
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/SKILL.md +0 -130
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-use-dto-serialization.md +0 -182
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-use-interceptors.md +0 -202
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-use-pipes.md +0 -205
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-versioning.md +0 -191
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-avoid-circular-deps.md +0 -80
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-feature-modules.md +0 -82
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-module-sharing.md +0 -141
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-single-responsibility.md +0 -106
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-use-events.md +0 -108
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-use-repository-pattern.md +0 -97
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/db-avoid-n-plus-one.md +0 -139
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/db-use-migrations.md +0 -129
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/db-use-transactions.md +0 -140
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/devops-graceful-shutdown.md +0 -222
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/devops-use-config-module.md +0 -167
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/devops-use-logging.md +0 -232
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-avoid-service-locator.md +0 -104
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-interface-segregation.md +0 -165
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-liskov-substitution.md +0 -221
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-prefer-constructor-injection.md +0 -86
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-scope-awareness.md +0 -94
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-use-interfaces-tokens.md +0 -101
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/error-handle-async-errors.md +0 -125
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/error-throw-http-exceptions.md +0 -114
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/error-use-exception-filters.md +0 -140
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/micro-use-health-checks.md +0 -226
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/micro-use-patterns.md +0 -167
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/micro-use-queues.md +0 -252
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-async-hooks.md +0 -109
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-lazy-loading.md +0 -121
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-optimize-database.md +0 -131
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-use-caching.md +0 -128
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-auth-jwt.md +0 -146
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-rate-limiting.md +0 -125
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-sanitize-output.md +0 -139
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-use-guards.md +0 -135
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-validate-all-input.md +0 -150
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/test-e2e-supertest.md +0 -178
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/test-mock-external-services.md +0 -179
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/test-use-testing-module.md +0 -153
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/build-agents.ts +0 -299
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/build.sh +0 -16
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/package-lock.json +0 -237
- package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/package.json +0 -15
- package/dist/skills/frameworks/nestjs/nestjs-expert/SKILL.md +0 -208
- package/dist/skills/frameworks/nestjs/nestjs-expert/references/authentication.md +0 -166
- package/dist/skills/frameworks/nestjs/nestjs-expert/references/controllers-routing.md +0 -111
- package/dist/skills/frameworks/nestjs/nestjs-expert/references/dtos-validation.md +0 -153
- package/dist/skills/frameworks/nestjs/nestjs-expert/references/migration-from-express.md +0 -1237
- package/dist/skills/frameworks/nestjs/nestjs-expert/references/services-di.md +0 -140
- package/dist/skills/frameworks/nestjs/nestjs-expert/references/testing-patterns.md +0 -186
- package/dist/skills/frameworks/nextjs/next-best-practices/SKILL.md +0 -153
- package/dist/skills/frameworks/nextjs/next-best-practices/async-patterns.md +0 -87
- package/dist/skills/frameworks/nextjs/next-best-practices/bundling.md +0 -180
- package/dist/skills/frameworks/nextjs/next-best-practices/data-patterns.md +0 -297
- package/dist/skills/frameworks/nextjs/next-best-practices/debug-tricks.md +0 -105
- package/dist/skills/frameworks/nextjs/next-best-practices/directives.md +0 -73
- package/dist/skills/frameworks/nextjs/next-best-practices/error-handling.md +0 -227
- package/dist/skills/frameworks/nextjs/next-best-practices/file-conventions.md +0 -140
- package/dist/skills/frameworks/nextjs/next-best-practices/font.md +0 -245
- package/dist/skills/frameworks/nextjs/next-best-practices/functions.md +0 -108
- package/dist/skills/frameworks/nextjs/next-best-practices/hydration-error.md +0 -91
- package/dist/skills/frameworks/nextjs/next-best-practices/image.md +0 -173
- package/dist/skills/frameworks/nextjs/next-best-practices/metadata.md +0 -301
- package/dist/skills/frameworks/nextjs/next-best-practices/parallel-routes.md +0 -287
- package/dist/skills/frameworks/nextjs/next-best-practices/route-handlers.md +0 -146
- package/dist/skills/frameworks/nextjs/next-best-practices/rsc-boundaries.md +0 -159
- package/dist/skills/frameworks/nextjs/next-best-practices/runtime-selection.md +0 -39
- package/dist/skills/frameworks/nextjs/next-best-practices/scripts.md +0 -141
- package/dist/skills/frameworks/nextjs/next-best-practices/self-hosting.md +0 -371
- package/dist/skills/frameworks/nextjs/next-best-practices/suspense-boundaries.md +0 -67
- package/dist/skills/frameworks/nextjs/next-cache-components/SKILL.md +0 -360
- package/dist/skills/frameworks/react/async-react-patterns/SKILL.md +0 -78
- package/dist/skills/frameworks/react/vercel-composition-patterns/AGENTS.md +0 -946
- package/dist/skills/frameworks/react/vercel-composition-patterns/SKILL.md +0 -89
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/architecture-avoid-boolean-props.md +0 -100
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/architecture-compound-components.md +0 -112
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/patterns-children-over-render-props.md +0 -87
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/patterns-explicit-variants.md +0 -100
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/react19-no-forwardref.md +0 -42
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/state-context-interface.md +0 -191
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/state-decouple-implementation.md +0 -113
- package/dist/skills/frameworks/react/vercel-composition-patterns/rules/state-lift-state.md +0 -125
- package/dist/skills/frameworks/react/vercel-react-best-practices/AGENTS.md +0 -3750
- package/dist/skills/frameworks/react/vercel-react-best-practices/SKILL.md +0 -148
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-effect-event-deps.md +0 -56
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-event-handler-refs.md +0 -55
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-init-once.md +0 -42
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-use-latest.md +0 -39
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-api-routes.md +0 -38
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-cheap-condition-before-await.md +0 -37
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-defer-await.md +0 -82
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-dependencies.md +0 -51
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-parallel.md +0 -28
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-suspense-boundaries.md +0 -99
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-barrel-imports.md +0 -60
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-conditional.md +0 -31
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-defer-third-party.md +0 -49
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-dynamic-imports.md +0 -35
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-preload.md +0 -50
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-event-listeners.md +0 -74
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-localstorage-schema.md +0 -71
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-passive-event-listeners.md +0 -48
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-swr-dedup.md +0 -56
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-batch-dom-css.md +0 -107
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-cache-function-results.md +0 -80
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-cache-property-access.md +0 -28
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-cache-storage.md +0 -70
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-combine-iterations.md +0 -32
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-early-exit.md +0 -50
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-flatmap-filter.md +0 -60
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-hoist-regexp.md +0 -45
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-index-maps.md +0 -37
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-length-check-first.md +0 -49
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-min-max-loop.md +0 -82
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-request-idle-callback.md +0 -105
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-set-map-lookups.md +0 -24
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-tosorted-immutable.md +0 -57
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-activity.md +0 -26
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-animate-svg-wrapper.md +0 -47
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-conditional-render.md +0 -40
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-content-visibility.md +0 -38
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-hoist-jsx.md +0 -46
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-hydration-no-flicker.md +0 -82
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-hydration-suppress-warning.md +0 -30
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-resource-hints.md +0 -85
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-script-defer-async.md +0 -68
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-svg-precision.md +0 -28
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-usetransition-loading.md +0 -75
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-defer-reads.md +0 -39
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-dependencies.md +0 -45
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-derived-state-no-effect.md +0 -40
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-derived-state.md +0 -29
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-functional-setstate.md +0 -74
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-lazy-state-init.md +0 -58
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-memo-with-default-value.md +0 -38
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-memo.md +0 -44
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-move-effect-to-event.md +0 -45
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-no-inline-components.md +0 -82
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-simple-expression-in-memo.md +0 -35
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-split-combined-hooks.md +0 -64
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-transitions.md +0 -40
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-use-deferred-value.md +0 -59
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-use-ref-transient-values.md +0 -73
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-after-nonblocking.md +0 -73
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-auth-actions.md +0 -96
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-cache-lru.md +0 -41
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-cache-react.md +0 -76
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-dedup-props.md +0 -65
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-hoist-static-io.md +0 -149
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-no-shared-module-state.md +0 -50
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-parallel-fetching.md +0 -83
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-parallel-nested-fetching.md +0 -34
- package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-serialization.md +0 -38
- package/dist/skills/frameworks/tanstack-query/tanstack-query/.claude-plugin/plugin.json +0 -12
- package/dist/skills/frameworks/tanstack-query/tanstack-query/SKILL.md +0 -849
- package/dist/skills/frameworks/tanstack-query/tanstack-query/assets/example-template.txt +0 -14
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/best-practices.md +0 -304
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/common-patterns.md +0 -271
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/example-reference.md +0 -26
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/testing.md +0 -282
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/top-errors.md +0 -332
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/typescript-patterns.md +0 -291
- package/dist/skills/frameworks/tanstack-query/tanstack-query/references/v4-to-v5-migration.md +0 -231
- package/dist/skills/frameworks/tanstack-query/tanstack-query/rules/tanstack-query.md +0 -126
- package/dist/skills/frameworks/tanstack-query/tanstack-query/scripts/example-script.sh +0 -15
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/custom-hooks-pattern.tsx +0 -281
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/devtools-setup.tsx +0 -248
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/error-boundary.tsx +0 -243
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/package.json +0 -31
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/provider-setup.tsx +0 -50
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/query-client-config.ts +0 -72
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-infinite-query.tsx +0 -214
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-mutation-basic.tsx +0 -201
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-mutation-optimistic.tsx +0 -234
- package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-query-basic.tsx +0 -119
- package/dist/skills/frameworks/tanstack-start/tanstack-start/SKILL.md +0 -250
- package/dist/skills/frameworks/trpc/tanstack-query/.claude-plugin/plugin.json +0 -12
- package/dist/skills/frameworks/trpc/tanstack-query/SKILL.md +0 -1058
- package/dist/skills/frameworks/trpc/tanstack-query/assets/example-template.txt +0 -14
- package/dist/skills/frameworks/trpc/tanstack-query/references/best-practices.md +0 -304
- package/dist/skills/frameworks/trpc/tanstack-query/references/common-patterns.md +0 -271
- package/dist/skills/frameworks/trpc/tanstack-query/references/example-reference.md +0 -26
- package/dist/skills/frameworks/trpc/tanstack-query/references/testing.md +0 -282
- package/dist/skills/frameworks/trpc/tanstack-query/references/top-errors.md +0 -332
- package/dist/skills/frameworks/trpc/tanstack-query/references/typescript-patterns.md +0 -291
- package/dist/skills/frameworks/trpc/tanstack-query/references/v4-to-v5-migration.md +0 -231
- package/dist/skills/frameworks/trpc/tanstack-query/rules/tanstack-query.md +0 -126
- package/dist/skills/frameworks/trpc/tanstack-query/scripts/example-script.sh +0 -15
- package/dist/skills/frameworks/trpc/tanstack-query/templates/custom-hooks-pattern.tsx +0 -281
- package/dist/skills/frameworks/trpc/tanstack-query/templates/devtools-setup.tsx +0 -248
- package/dist/skills/frameworks/trpc/tanstack-query/templates/error-boundary.tsx +0 -243
- package/dist/skills/frameworks/trpc/tanstack-query/templates/package.json +0 -31
- package/dist/skills/frameworks/trpc/tanstack-query/templates/provider-setup.tsx +0 -50
- package/dist/skills/frameworks/trpc/tanstack-query/templates/query-client-config.ts +0 -72
- package/dist/skills/frameworks/trpc/tanstack-query/templates/use-infinite-query.tsx +0 -214
- package/dist/skills/frameworks/trpc/tanstack-query/templates/use-mutation-basic.tsx +0 -201
- package/dist/skills/frameworks/trpc/tanstack-query/templates/use-mutation-optimistic.tsx +0 -234
- package/dist/skills/frameworks/trpc/tanstack-query/templates/use-query-basic.tsx +0 -119
- package/dist/skills/frameworks/turborepo/turborepo/SKILL.md +0 -914
- package/dist/skills/frameworks/turborepo/turborepo/command/turborepo.md +0 -70
- package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/RULE.md +0 -241
- package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/dependencies.md +0 -246
- package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/packages.md +0 -335
- package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/structure.md +0 -270
- package/dist/skills/frameworks/turborepo/turborepo/references/boundaries/RULE.md +0 -126
- package/dist/skills/frameworks/turborepo/turborepo/references/caching/RULE.md +0 -107
- package/dist/skills/frameworks/turborepo/turborepo/references/caching/gotchas.md +0 -169
- package/dist/skills/frameworks/turborepo/turborepo/references/caching/remote-cache.md +0 -127
- package/dist/skills/frameworks/turborepo/turborepo/references/ci/RULE.md +0 -79
- package/dist/skills/frameworks/turborepo/turborepo/references/ci/github-actions.md +0 -162
- package/dist/skills/frameworks/turborepo/turborepo/references/ci/patterns.md +0 -145
- package/dist/skills/frameworks/turborepo/turborepo/references/ci/vercel.md +0 -103
- package/dist/skills/frameworks/turborepo/turborepo/references/cli/RULE.md +0 -100
- package/dist/skills/frameworks/turborepo/turborepo/references/cli/commands.md +0 -297
- package/dist/skills/frameworks/turborepo/turborepo/references/configuration/RULE.md +0 -211
- package/dist/skills/frameworks/turborepo/turborepo/references/configuration/global-options.md +0 -187
- package/dist/skills/frameworks/turborepo/turborepo/references/configuration/gotchas.md +0 -348
- package/dist/skills/frameworks/turborepo/turborepo/references/configuration/tasks.md +0 -285
- package/dist/skills/frameworks/turborepo/turborepo/references/environment/RULE.md +0 -96
- package/dist/skills/frameworks/turborepo/turborepo/references/environment/gotchas.md +0 -141
- package/dist/skills/frameworks/turborepo/turborepo/references/environment/modes.md +0 -101
- package/dist/skills/frameworks/turborepo/turborepo/references/filtering/RULE.md +0 -148
- package/dist/skills/frameworks/turborepo/turborepo/references/filtering/patterns.md +0 -152
- package/dist/skills/frameworks/turborepo/turborepo/references/watch/RULE.md +0 -99
- package/dist/skills/languages/python/async-python-patterns/SKILL.md +0 -735
- package/dist/skills/languages/python/python-code-style/SKILL.md +0 -360
- package/dist/skills/languages/python/python-design-patterns/SKILL.md +0 -433
- package/dist/skills/languages/python/python-project-structure/SKILL.md +0 -252
- package/dist/skills/languages/python/python-testing-patterns/SKILL.md +0 -622
- package/dist/skills/languages/python/python-testing-patterns/references/advanced-patterns.md +0 -411
- package/dist/skills/languages/typescript/quality-types/SKILL.md +0 -93
- package/dist/skills/phases/bug-discovery-phase/REFERENCE.md +0 -170
- package/dist/skills/phases/bug-discovery-phase/SKILL.md +0 -85
- package/dist/skills/phases/bug-resolution-phase/REFERENCE.md +0 -160
- package/dist/skills/phases/bug-resolution-phase/SKILL.md +0 -64
- package/dist/skills/phases/debugging-phase/SKILL.md +0 -88
- package/dist/skills/phases/delivery-phase/SKILL.md +0 -50
- package/dist/skills/phases/delivery-phase/phases/closeout.md +0 -33
- package/dist/skills/phases/delivery-phase/phases/debug.md +0 -30
- package/dist/skills/phases/delivery-phase/phases/docs-ingest.md +0 -27
- package/dist/skills/phases/delivery-phase/phases/implement.md +0 -30
- package/dist/skills/phases/delivery-phase/phases/plan.md +0 -27
- package/dist/skills/phases/delivery-phase/phases/review.md +0 -29
- package/dist/skills/phases/delivery-phase/phases/router.md +0 -46
- package/dist/skills/phases/delivery-phase/phases/spec.md +0 -26
- package/dist/skills/phases/delivery-phase/references/artifact-state.md +0 -42
- package/dist/skills/phases/delivery-phase/references/phase-handoff.md +0 -25
- package/dist/skills/phases/docs-ingest-phase/SKILL.md +0 -46
- package/dist/skills/phases/docs-ingest-phase/agents/openai.yaml +0 -4
- package/dist/skills/phases/docs-ingest-phase/phases/private-internal.md +0 -57
- package/dist/skills/phases/docs-ingest-phase/phases/public-docs.md +0 -52
- package/dist/skills/phases/docs-ingest-phase/phases/router.md +0 -42
- package/dist/skills/phases/docs-ingest-phase/references/concept-pages.md +0 -70
- package/dist/skills/phases/docs-ingest-phase/references/flow-pages.md +0 -56
- package/dist/skills/phases/docs-ingest-phase/references/fumadocs-routing.md +0 -74
- package/dist/skills/phases/docs-ingest-phase/references/learning-artifacts.md +0 -96
- package/dist/skills/phases/docs-ingest-phase/references/public-docs.md +0 -90
- package/dist/skills/phases/docs-ingest-phase/references/repo-docs.md +0 -38
- package/dist/skills/phases/docs-ingest-phase/references/wiki-ingest.md +0 -133
- package/dist/skills/phases/goalify/EXAMPLES.md +0 -78
- package/dist/skills/phases/goalify/SKILL.md +0 -129
- package/dist/skills/phases/requirements-phase/SKILL.md +0 -70
- package/dist/skills/phases/resolve-debt-phase/SKILL.md +0 -87
- package/dist/skills/phases/review-phase/SKILL.md +0 -118
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: stack
|
|
3
|
-
description: Use the local squash-safe `stack` CLI for stacked PR inspection, sync, merge, and undo workflows when backlog-dependent work is represented by open parent PRs.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Stack
|
|
7
|
-
|
|
8
|
-
Use the local `stack` CLI for squash-safe stacked PR workflows. It is for repos
|
|
9
|
-
where dependent PRs may be open at the same time and GitHub squash-merges parent
|
|
10
|
-
PRs.
|
|
11
|
-
|
|
12
|
-
Keep ordinary editing and commits on plain `git`. Use `stack` only for stack
|
|
13
|
-
intent, stack inspection, sync, merge, and undo workflows.
|
|
14
|
-
|
|
15
|
-
## Mental Model
|
|
16
|
-
|
|
17
|
-
```text
|
|
18
|
-
main
|
|
19
|
-
└─ parent-branch #101
|
|
20
|
-
└─ child-branch #102
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
The GitHub PR base is the source of truth for ordinary stack inference. A child
|
|
24
|
-
PR should use its parent PR branch as its base. Independent PRs stay based on
|
|
25
|
-
trunk and do not need fake stack tracking.
|
|
26
|
-
|
|
27
|
-
## Core Commands
|
|
28
|
-
|
|
29
|
-
- `stack status`: inspect the current tracked or inferred stack.
|
|
30
|
-
- `stack sync --dry-run`: required inspection gate before stack mutation.
|
|
31
|
-
- `stack sync`: approved mutation gate after the dry-run preview is correct.
|
|
32
|
-
- `stack merge --auto`: merge the current stack root with GitHub auto-merge,
|
|
33
|
-
wait for it to land, and repair descendants.
|
|
34
|
-
- `stack undo --apply`: restore the previous applied stack mutation when a
|
|
35
|
-
repair or merge needs to be rolled back.
|
|
36
|
-
|
|
37
|
-
## Harness Workflow Rules
|
|
38
|
-
|
|
39
|
-
- Missing `stack` blocks stack-dependent workflows only. It does not block
|
|
40
|
-
independent trunk-based work.
|
|
41
|
-
- `create-spec` records stack intent through `Dependency Readiness` and
|
|
42
|
-
`Branch/Base Intent`; it does not mutate git state.
|
|
43
|
-
- `create-plan` preserves and validates those sections; it does not decide stack
|
|
44
|
-
topology.
|
|
45
|
-
- `implement-spec` executes recorded branch/base intent before coding and runs
|
|
46
|
-
stack sync only after PR base metadata exists.
|
|
47
|
-
- `delivery-phase` owns stack mutation and cleanliness.
|
|
48
|
-
- `review-phase` stays readonly and reports stack evidence.
|
|
49
|
-
|
|
50
|
-
## Normal Stacked PR Flow
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
git checkout -b team/name/child team/name/parent
|
|
54
|
-
# implement, commit, push
|
|
55
|
-
gh pr create --base team/name/parent --head team/name/child
|
|
56
|
-
stack sync --dry-run
|
|
57
|
-
stack sync
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Use `stack track <branch> --onto <parent>` only when GitHub PR bases cannot
|
|
61
|
-
encode the stack clearly. Prefer PR bases over hand-maintained metadata.
|
|
62
|
-
|
|
63
|
-
## Delivery Closeout
|
|
64
|
-
|
|
65
|
-
When a PR exists, run:
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
stack status
|
|
69
|
-
stack sync --dry-run
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
If the PR is stack-dependent and the dry-run reports pending changes, run:
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
stack sync
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Then rerun `stack status` if the final report needs evidence.
|
|
79
|
-
|
|
80
|
-
## Recovery
|
|
81
|
-
|
|
82
|
-
For the most recent applied stack mutation:
|
|
83
|
-
|
|
84
|
-
```bash
|
|
85
|
-
stack undo
|
|
86
|
-
stack undo --apply
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
Run the dry-run form first unless the user explicitly asks for immediate restore.
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: swarm-planner
|
|
3
|
-
description: >
|
|
4
|
-
[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel
|
|
5
|
-
multi-agent execution.
|
|
6
|
-
metadata:
|
|
7
|
-
invocation: explicit-only
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Swarm-Ready Planner
|
|
11
|
-
|
|
12
|
-
Create implementation plans with explicit task dependencies optimized for parallel agent execution. This skill can be ran inside or outside of Plan Mode.
|
|
13
|
-
|
|
14
|
-
## Core Principles
|
|
15
|
-
|
|
16
|
-
1. **Explore Codebase**: Investigate architecture, patterns, existing implementations, dependencies, and frameworks in use.
|
|
17
|
-
2. **Fresh Documentation First**: Use Context7 for ANY external library, framework, or API before planning tasks
|
|
18
|
-
3. **Ask Questions**: Clarify ambiguities and seek clarification on scope, constraints, or priorities throughout the planning process. At any time.
|
|
19
|
-
4. **Explicit Dependencies**: Every task declares what it depends on, enabling maximum parallelization
|
|
20
|
-
5. **Atomic Tasks**: Each task is independently executable by a single agent
|
|
21
|
-
6. **Review Before Yield**: A subagent reviews the plan for gaps before finalizing
|
|
22
|
-
|
|
23
|
-
## Process
|
|
24
|
-
|
|
25
|
-
### 1. Research
|
|
26
|
-
|
|
27
|
-
**Codebase investigation:**
|
|
28
|
-
- Architecture, patterns, existing implementations
|
|
29
|
-
- Dependencies and frameworks in use
|
|
30
|
-
|
|
31
|
-
### 1a. Optional: Stop to Clarification Questions
|
|
32
|
-
|
|
33
|
-
- If the architecture is unclear or missing STOP AND YIELD to the user, and request user input (AskUserQuestions) before moving on. Always offer recommendations for clarification questions.
|
|
34
|
-
- If architecture is present, skip 1a and move onto next step.
|
|
35
|
-
|
|
36
|
-
### 2. Documentation
|
|
37
|
-
|
|
38
|
-
**Documentation retrieval (REQUIRED for external dependencies):**
|
|
39
|
-
|
|
40
|
-
Use Context7 skill or MCP to fetch current docs for any libraries/frameworks or APIs that are or will be used in project. If Context7 is not available, use web search.
|
|
41
|
-
|
|
42
|
-
This ensures version-accurate APIs, correct parameters, and current best practices.
|
|
43
|
-
|
|
44
|
-
### 3. STOP and Request User Input
|
|
45
|
-
|
|
46
|
-
When anything is unclear or could reasonably be done multiple ways:
|
|
47
|
-
- Stop and ask clarifying questions immediately
|
|
48
|
-
- Do not make assumptions about scope, constraints, or priorities
|
|
49
|
-
- Questions should reduce risk and eliminate ambiguity
|
|
50
|
-
- Always offer recommendations for clarification questions.
|
|
51
|
-
- Use request_user_input or AskUserQuestion tool if available.
|
|
52
|
-
|
|
53
|
-
### 4. Create Dependency-Aware Plan
|
|
54
|
-
|
|
55
|
-
Structure the plan with explicit task dependencies using this format:
|
|
56
|
-
|
|
57
|
-
#### Task Dependency Format
|
|
58
|
-
|
|
59
|
-
Each task MUST include:
|
|
60
|
-
- **id**: Unique identifier (e.g., `T1`, `T2.1`)
|
|
61
|
-
- **depends_on**: Array of task IDs that must complete first (empty `[]` for root tasks)
|
|
62
|
-
- **description**: What the task accomplishes
|
|
63
|
-
- **location**: File paths involved
|
|
64
|
-
- **validation**: How to verify completion
|
|
65
|
-
|
|
66
|
-
**Example:**
|
|
67
|
-
```
|
|
68
|
-
T1: [depends_on: []] Create database schema migration
|
|
69
|
-
T2: [depends_on: []] Install required packages
|
|
70
|
-
T3: [depends_on: [T1]] Create repository layer
|
|
71
|
-
T4: [depends_on: [T1]] Create service interfaces
|
|
72
|
-
T5: [depends_on: [T3, T4]] Implement business logic
|
|
73
|
-
T6: [depends_on: [T2, T5]] Add API endpoints
|
|
74
|
-
T7: [depends_on: [T6]] Write integration tests
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
Tasks with empty/satisfied dependencies can run in parallel (T1, T2 above).
|
|
78
|
-
|
|
79
|
-
### 4. Save Plan
|
|
80
|
-
|
|
81
|
-
Save to `<topic>-plan.md` in the CWD.
|
|
82
|
-
|
|
83
|
-
### 5. Subagent Review
|
|
84
|
-
|
|
85
|
-
After saving, spawn a subagent to review the plan:
|
|
86
|
-
|
|
87
|
-
```
|
|
88
|
-
Review this implementation plan for:
|
|
89
|
-
1. Missing dependencies between tasks
|
|
90
|
-
2. Ordering issues that would cause failures
|
|
91
|
-
3. Missing error handling or edge cases
|
|
92
|
-
4. Gaps, holes, gotchas.
|
|
93
|
-
|
|
94
|
-
Provide specific, actionable feedback. Do not ask questions.
|
|
95
|
-
|
|
96
|
-
Plan location: [file path]
|
|
97
|
-
Context: [brief context about the task]
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
If the subagent provides actionable feedback, revise the plan before yielding.
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
## Plan Template
|
|
104
|
-
|
|
105
|
-
```markdown
|
|
106
|
-
# Plan: [Task Name]
|
|
107
|
-
|
|
108
|
-
**Generated**: [Date]
|
|
109
|
-
|
|
110
|
-
## Overview
|
|
111
|
-
[Summary of task and approach]
|
|
112
|
-
|
|
113
|
-
## Prerequisites
|
|
114
|
-
- [Tools, libraries, access needed]
|
|
115
|
-
|
|
116
|
-
## Dependency Graph
|
|
117
|
-
|
|
118
|
-
```
|
|
119
|
-
[Visual representation of task dependencies]
|
|
120
|
-
T1 ──┬── T3 ──┐
|
|
121
|
-
│ ├── T5 ── T6 ── T7
|
|
122
|
-
T2 ──┴── T4 ──┘
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
## Tasks
|
|
126
|
-
|
|
127
|
-
### T1: [Name]
|
|
128
|
-
- **depends_on**: []
|
|
129
|
-
- **location**: [file paths]
|
|
130
|
-
- **description**: [what to do]
|
|
131
|
-
- **validation**: [how to verify]
|
|
132
|
-
- **status**: Not Completed
|
|
133
|
-
- **log**: [leave empty, to be filled out later]
|
|
134
|
-
- **files edited/created**: [leave empty, to be filled out later]
|
|
135
|
-
|
|
136
|
-
### T2: [Name]
|
|
137
|
-
- **depends_on**: []
|
|
138
|
-
- **location**: [file paths]
|
|
139
|
-
- **description**: [what to do]
|
|
140
|
-
- **validation**: [how to verify]
|
|
141
|
-
- **status**: Not Completed
|
|
142
|
-
- **log**: [leave empty, to be filled out later]
|
|
143
|
-
- **files edited/created**: [leave empty, to be filled out later]
|
|
144
|
-
|
|
145
|
-
### T3: [Name]
|
|
146
|
-
- **depends_on**: [T1]
|
|
147
|
-
- **location**: [file paths]
|
|
148
|
-
- **description**: [what to do]
|
|
149
|
-
- **validation**: [how to verify]
|
|
150
|
-
- **status**: Not Completed
|
|
151
|
-
- **log**: [leave empty, to be filled out later]
|
|
152
|
-
- **files edited/created**: [leave empty, to be filled out later]
|
|
153
|
-
|
|
154
|
-
[... continue for all tasks ...]
|
|
155
|
-
|
|
156
|
-
## Parallel Execution Groups
|
|
157
|
-
|
|
158
|
-
| Wave | Tasks | Can Start When |
|
|
159
|
-
|------|-------|----------------|
|
|
160
|
-
| 1 | T1, T2 | Immediately |
|
|
161
|
-
| 2 | T3, T4 | Wave 1 complete |
|
|
162
|
-
| 3 | T5 | T3, T4 complete |
|
|
163
|
-
| ... | ... | ... |
|
|
164
|
-
|
|
165
|
-
## Testing Strategy
|
|
166
|
-
- [How to test]
|
|
167
|
-
- [What to verify]
|
|
168
|
-
|
|
169
|
-
## Risks & Mitigations
|
|
170
|
-
- [What could go wrong + how to handle]
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
## Important
|
|
174
|
-
|
|
175
|
-
- Every task must have explicit `depends_on` field
|
|
176
|
-
- Root tasks (no dependencies) can be executed in parallel immediately
|
|
177
|
-
- Do NOT implement - only create the plan
|
|
178
|
-
- Always use Context7 for external dependencies before finalizing tasks
|
|
179
|
-
- Always ask questions where ambiguity exists
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: autoreview
|
|
3
|
-
description: "Auto Review closeout. Codex review is the default when no engine is set and is the recommended reviewer."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Auto Review
|
|
7
|
-
|
|
8
|
-
Run the bundled structured review helper as a closeout check. This is code review, not Guardian `auto_review` approval routing.
|
|
9
|
-
|
|
10
|
-
Codex review is the default when no engine is set. It usually delivers the best review results and should remain the normal final closeout engine.
|
|
11
|
-
|
|
12
|
-
Use when:
|
|
13
|
-
|
|
14
|
-
- user asks for Codex review / Claude review / autoreview / second-model review
|
|
15
|
-
- after non-trivial code edits, before final/commit/ship
|
|
16
|
-
- reviewing a local branch or PR branch after fixes
|
|
17
|
-
|
|
18
|
-
## Contract
|
|
19
|
-
|
|
20
|
-
- Treat review output as advisory. Never blindly apply it.
|
|
21
|
-
- Verify every finding by reading the real code path and adjacent files.
|
|
22
|
-
- Read dependency docs/source/types when the finding depends on external behavior.
|
|
23
|
-
- Reject unrealistic edge cases, speculative risks, broad rewrites, and fixes that over-complicate the codebase.
|
|
24
|
-
- Prefer small fixes at the right ownership boundary; no refactor unless it clearly improves the bug class.
|
|
25
|
-
- Keep going until structured review returns no accepted/actionable findings.
|
|
26
|
-
- If a review-triggered fix changes code, rerun focused tests and rerun the structured review helper.
|
|
27
|
-
- For security-audit suppression changes, verify accepted findings remain auditable: suppressed findings stay in structured output, active output keeps an unsuppressible suppression notice, and aggregate findings cannot hide unrelated active risk.
|
|
28
|
-
- Never switch or override the requested review engine/model. If the review hits model capacity, retry the same command a few times with the same engine/model.
|
|
29
|
-
- Be patient with large bundles. Structured review can take up to 30 minutes while the model call is active, especially with Codex tools or web search.
|
|
30
|
-
- Treat heartbeat lines like `review still running: ... elapsed=... pid=...` as healthy progress, not a hang. Let the helper continue while heartbeats are advancing. Pass `--stream-engine-output` when live engine text is useful; Codex and Claude filter tool/file chatter, other engines pass raw output through.
|
|
31
|
-
- Do not kill a review just because it has been quiet for 2-5 minutes, or because it is still running under the 30-minute window. Inspect the process only after missing multiple expected heartbeats, after 30 minutes, or after an obviously failed subprocess; prefer letting the same helper command finish.
|
|
32
|
-
- Tools are useful in review mode. The helper allows read-only inspection tools and web search by default so reviewers can check dependency contracts, upstream docs, and current behavior.
|
|
33
|
-
- Security perspective is always included, but it should not cripple legitimate functionality. Report security findings only when the change creates a concrete, actionable risk or removes an important safety check.
|
|
34
|
-
- For regression provenance, keep roles separate: blamed code author, blamed PR author, PR merger/committer, current PR author, and PR/date. If no blamed PR is traceable, use the blamed commit as the provenance: commit SHA, date, and author username. Do not guess a merger or frame missing PR metadata as a separate finding.
|
|
35
|
-
- If the blamed PR was merged by `clawsweeper[bot]` or another automation, identify the human trigger when practical. Check timeline/comments first; if rate-limited, use gitcrawl/cache or public PR HTML. Look for maintainer commands such as `@clawsweeper automerge`, `/landpr`, or labels/status comments that armed automerge. Report `automerge triggered by @login`; if not found, say trigger unknown.
|
|
36
|
-
- Do not invoke built-in `codex review`, nested reviewers, or reviewer panels from inside the review. The helper builds one bundle, calls one selected engine, validates one structured result, and stops.
|
|
37
|
-
- Stop as soon as the helper exits 0 with no accepted/actionable findings. Do not run an extra review just to get a nicer "clean" line, a second opinion, or clearer closeout wording.
|
|
38
|
-
- Treat the helper's successful exit plus absence of actionable findings as the clean review result, even if the underlying Codex CLI output is terse.
|
|
39
|
-
- Multi-reviewer panels are opt-in only. Use them when explicitly requested or when risk justifies the extra spend; the main agent still verifies every accepted finding before fixing.
|
|
40
|
-
- If rejecting a finding as intentional/not worth fixing, add a brief inline code comment only when it explains a real invariant or ownership decision that future reviewers should know.
|
|
41
|
-
- If `gh`/Gitcrawl reports `database disk image is malformed`, run `gitcrawl doctor --json` once to let the portable cache repair before retrying review; do not bypass the shim unless repair fails and freshness requires live GitHub.
|
|
42
|
-
- If Gitcrawl reports a portable manifest mismatch, source/runtime DB health error, or stale portable-store checkout, run `gitcrawl doctor --json` and inspect `source_db_health`, `runtime_db_health`, and `portable_store_status` before falling back to live GitHub.
|
|
43
|
-
- Do not push just to review. Push only when the user requested push/ship/PR update.
|
|
44
|
-
|
|
45
|
-
## Pick Target
|
|
46
|
-
|
|
47
|
-
Dirty local work:
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
<autoreview-helper> --mode local
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
Use this only when the patch is actually unstaged/staged/untracked in the
|
|
54
|
-
current checkout. For committed, pushed, or PR work, point the helper at the commit
|
|
55
|
-
or branch diff instead; do not force `--mode local` / `--uncommitted` just
|
|
56
|
-
because the helper docs mention dirty work first. A clean local review
|
|
57
|
-
only proves there is no local patch.
|
|
58
|
-
|
|
59
|
-
Branch/PR work:
|
|
60
|
-
|
|
61
|
-
```bash
|
|
62
|
-
<autoreview-helper> --mode branch --base origin/main
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Optional review context is first-class:
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
<autoreview-helper> --mode branch --base origin/main --prompt-file /tmp/review-notes.md --dataset /tmp/evidence.json
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
If an open PR exists, use its actual base:
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
base=$(gh pr view --json baseRefName --jq .baseRefName)
|
|
75
|
-
<autoreview-helper> --mode branch --base "origin/$base"
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
Committed single change:
|
|
79
|
-
|
|
80
|
-
```bash
|
|
81
|
-
<autoreview-helper> --mode commit --commit HEAD
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
or with the helper:
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
/Users/steipete/Projects/agent-scripts/skills/autoreview/scripts/autoreview --mode commit --commit HEAD
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
Use commit review for already-landed or already-pushed work on `main`. Reviewing
|
|
91
|
-
clean `main` against `origin/main` is usually an empty diff after push. For a
|
|
92
|
-
small stack, review each commit explicitly or review the branch before merging
|
|
93
|
-
with `--base`.
|
|
94
|
-
|
|
95
|
-
## Parallel Closeout
|
|
96
|
-
|
|
97
|
-
Format first if formatting can change line locations. Then it is OK to run tests and review in parallel:
|
|
98
|
-
|
|
99
|
-
```bash
|
|
100
|
-
scripts/autoreview --parallel-tests "<focused test command>"
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
Tradeoff: tests may force code changes that stale the review. If tests or review lead to code edits, rerun the affected tests and rerun review until no accepted/actionable findings remain. Once that rerun exits cleanly, stop; do not spend another long review cycle on redundant confirmation.
|
|
104
|
-
|
|
105
|
-
## Review Panels
|
|
106
|
-
|
|
107
|
-
Run multiple reviewers against one frozen bundle:
|
|
108
|
-
|
|
109
|
-
```bash
|
|
110
|
-
<autoreview-helper> --reviewers codex,claude
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
`--panel` is shorthand for Codex plus Claude unless `--engine` changes the first reviewer:
|
|
114
|
-
|
|
115
|
-
```bash
|
|
116
|
-
<autoreview-helper> --panel
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
Set reviewer models and thinking/effort explicitly:
|
|
120
|
-
|
|
121
|
-
```bash
|
|
122
|
-
<autoreview-helper> --reviewers codex,claude --model codex=gpt-5.1 --thinking codex=high --model claude=sonnet --thinking claude=max
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
Inline syntax is also supported:
|
|
126
|
-
|
|
127
|
-
```bash
|
|
128
|
-
<autoreview-helper> --reviewers codex:gpt-5.1:high,claude:sonnet:max
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
Codex maps thinking to `model_reasoning_effort` and accepts `low`, `medium`,
|
|
132
|
-
`high`, or `xhigh`. Claude maps thinking to `--effort` and also accepts `max`.
|
|
133
|
-
Engines without a real thinking knob reject `--thinking`.
|
|
134
|
-
|
|
135
|
-
## Context Efficiency
|
|
136
|
-
|
|
137
|
-
Run the helper directly so target selection, engine choice, structured validation, and exit status all stay in one path. If output is noisy, summarize the completed helper output after it returns; do not ask another agent or reviewer to rerun the review.
|
|
138
|
-
|
|
139
|
-
## Helper
|
|
140
|
-
|
|
141
|
-
OpenClaw repo-local helper:
|
|
142
|
-
|
|
143
|
-
```bash
|
|
144
|
-
.agents/skills/autoreview/scripts/autoreview --help
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
`agent-scripts` checkout helper:
|
|
148
|
-
|
|
149
|
-
```bash
|
|
150
|
-
skills/autoreview/scripts/autoreview --help
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
Global helper from `agent-scripts`:
|
|
154
|
-
|
|
155
|
-
```bash
|
|
156
|
-
~/.codex/skills/agent-scripts/autoreview/scripts/autoreview --help
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
If installed from `agent-scripts`, path is:
|
|
160
|
-
|
|
161
|
-
```bash
|
|
162
|
-
/Users/steipete/Projects/agent-scripts/skills/autoreview/scripts/autoreview --help
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
The helper:
|
|
166
|
-
|
|
167
|
-
- chooses dirty local changes first
|
|
168
|
-
- otherwise uses current PR base if `gh pr view` works
|
|
169
|
-
- otherwise uses `origin/main` for non-main branches
|
|
170
|
-
- supports `--engine codex`, `claude`, `droid`, and `copilot`; default is `AUTOREVIEW_ENGINE` or `codex`; Codex should remain the default when nothing is set
|
|
171
|
-
- use `--mode commit --commit <ref>` for already-committed work, especially clean `main` after landing
|
|
172
|
-
- should be left in `--mode auto` or forced to `--mode branch` for PR/branch work; do not force `--mode local` after committing
|
|
173
|
-
- writes only to stdout unless `--output`, `--json-output`, or live streamed engine stderr is set
|
|
174
|
-
- supports `--dry-run`, `--parallel-tests`, `--prompt`, `--prompt-file`, `--dataset`, `--no-tools`, `--no-web-search`, and commit refs
|
|
175
|
-
- supports `--stream-engine-output` or `AUTOREVIEW_STREAM_ENGINE_OUTPUT=1` for live engine text while preserving structured validation; Codex and Claude hide tool/file event details, emit compact activity summaries, and report usage at turn completion
|
|
176
|
-
- supports opt-in review panels with `--panel` / `--reviewers`, plus per-engine `--model` and `--thinking`
|
|
177
|
-
- allows read-only tools and web search by default where the selected CLI supports them; forbids nested review in the prompt; Codex is run through `codex exec` with read-only sandbox and structured output
|
|
178
|
-
- prints `review still running: <engine> elapsed=<seconds>s pid=<pid>` to stderr at long-running intervals while waiting for the selected review engine, unless streamed output or compact Codex activity has been visible recently
|
|
179
|
-
- prints `autoreview clean: no accepted/actionable findings reported` when the selected review command exits 0
|
|
180
|
-
- exits nonzero when accepted/actionable findings are present
|
|
181
|
-
|
|
182
|
-
## Final Report
|
|
183
|
-
|
|
184
|
-
Include:
|
|
185
|
-
|
|
186
|
-
- review command used
|
|
187
|
-
- tests/proof run
|
|
188
|
-
- findings accepted/rejected, briefly why
|
|
189
|
-
- the clean review result from the final helper/review run, or why a remaining finding was consciously rejected
|
|
190
|
-
|
|
191
|
-
Do not run another review solely to improve the final report wording. If the final helper run exited 0 and produced no accepted/actionable findings, report that exact run as clean.
|