@punks/cli 2.1.11 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -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,46 +0,0 @@
|
|
|
1
|
-
# Router Phase
|
|
2
|
-
|
|
3
|
-
Use this file to choose the next delivery phase. Do not read other phase files
|
|
4
|
-
until this router selects one.
|
|
5
|
-
|
|
6
|
-
## Inputs To Inspect
|
|
7
|
-
|
|
8
|
-
- User request and explicit mode: full delivery, resume, HITL checkpoint, or closeout.
|
|
9
|
-
- Tracker item, issue, PR, branch, or spec folder named by the user.
|
|
10
|
-
- Existing `SPEC.md`, `PLAN.md`, implementation notes, review output, debug evidence, docs ingest notes, stack state, and validation evidence.
|
|
11
|
-
- Relevant repo guidance only when needed to identify ownership or validation surface.
|
|
12
|
-
|
|
13
|
-
## Routing Order
|
|
14
|
-
|
|
15
|
-
1. If goal bounds are unclear, stop and ask one concrete question.
|
|
16
|
-
2. If no reviewed matching spec exists, load [spec.md](spec.md).
|
|
17
|
-
3. If the spec exists but is stale, contradictory, or missing required child-story scope, load [spec.md](spec.md).
|
|
18
|
-
4. If no execution-ready matching plan exists, load [plan.md](plan.md).
|
|
19
|
-
5. If the plan exists but lacks dependencies, validation gates, owned paths, or mode choice, load [plan.md](plan.md).
|
|
20
|
-
6. If accepted plan work is incomplete, load [implement.md](implement.md).
|
|
21
|
-
7. If implementation exists but mandatory review is missing or stale, load [review.md](review.md).
|
|
22
|
-
8. If review found in-scope non-runtime blockers, route back to [implement.md](implement.md).
|
|
23
|
-
9. If validation or review produced runtime evidence, load [debug.md](debug.md).
|
|
24
|
-
10. If docs-affecting changes exist and ingest is missing, load [docs-ingest.md](docs-ingest.md).
|
|
25
|
-
11. Otherwise load [closeout.md](closeout.md).
|
|
26
|
-
|
|
27
|
-
## HITL Behavior
|
|
28
|
-
|
|
29
|
-
When the user asks for manual control, route only the requested phase and stop
|
|
30
|
-
after writing its phase handoff. Do not continue to the next phase in the same
|
|
31
|
-
turn unless the user explicitly asks.
|
|
32
|
-
|
|
33
|
-
## Resume Behavior
|
|
34
|
-
|
|
35
|
-
Assume earlier phases may have been completed manually through their direct
|
|
36
|
-
skills. Verify artifact freshness; do not re-run a phase only because
|
|
37
|
-
`delivery-phase` did not run it.
|
|
38
|
-
|
|
39
|
-
## Output
|
|
40
|
-
|
|
41
|
-
Report:
|
|
42
|
-
|
|
43
|
-
- selected phase
|
|
44
|
-
- evidence that selected it
|
|
45
|
-
- child skill or phase file to load next
|
|
46
|
-
- blocker question if no phase can be selected safely
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# Spec Phase
|
|
2
|
-
|
|
3
|
-
Use this phase when no reviewed matching `SPEC.md` exists, or the current spec is
|
|
4
|
-
stale, contradictory, or missing required scope.
|
|
5
|
-
|
|
6
|
-
## Delegate
|
|
7
|
-
|
|
8
|
-
Load `create-spec` only after this phase is selected.
|
|
9
|
-
|
|
10
|
-
## Checks Before Delegating
|
|
11
|
-
|
|
12
|
-
- Confirm the bounded goal, issue, tracker item, or requested capability.
|
|
13
|
-
- Reuse existing spec artifacts when they match the requested scope.
|
|
14
|
-
- Treat child stories, sub-issues, acceptance criteria, constraints, and non-goals as required input, not loose references.
|
|
15
|
-
- If requirements are still unsettled, stop and route to requirements work instead of inventing scope.
|
|
16
|
-
|
|
17
|
-
## Completion State
|
|
18
|
-
|
|
19
|
-
Write or verify:
|
|
20
|
-
|
|
21
|
-
- matching `SPEC.md`
|
|
22
|
-
- review status or explicit human approval state
|
|
23
|
-
- unresolved questions, if any
|
|
24
|
-
- source issue/tracker/spec folder
|
|
25
|
-
|
|
26
|
-
Then stop or re-enter `delivery-phase` for routing.
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# Artifact State
|
|
2
|
-
|
|
3
|
-
Use this reference when deciding whether a phase is complete enough to skip.
|
|
4
|
-
|
|
5
|
-
## Spec Complete
|
|
6
|
-
|
|
7
|
-
- `SPEC.md` exists and matches the requested goal.
|
|
8
|
-
- Scope includes required tracker children, acceptance criteria, constraints,
|
|
9
|
-
and non-goals.
|
|
10
|
-
- Open questions are parked, resolved, or explicitly blocking.
|
|
11
|
-
|
|
12
|
-
## Plan Complete
|
|
13
|
-
|
|
14
|
-
- `PLAN.md` exists and matches the spec.
|
|
15
|
-
- Tasks have order, dependencies, owned paths, and validation gates.
|
|
16
|
-
- Mode is explicit or derivable: `parallel: true` or `parallel: false`.
|
|
17
|
-
|
|
18
|
-
## Implementation Complete
|
|
19
|
-
|
|
20
|
-
- Plan tasks are complete or explicitly deferred.
|
|
21
|
-
- Implementation notes or equivalent evidence describe changed files, validation,
|
|
22
|
-
blockers, and debt.
|
|
23
|
-
|
|
24
|
-
## Review Complete
|
|
25
|
-
|
|
26
|
-
- `review-phase` ran after the latest implementation diff.
|
|
27
|
-
- Findings are resolved, accepted, routed to debug, or captured as follow-up.
|
|
28
|
-
|
|
29
|
-
## Debug Complete
|
|
30
|
-
|
|
31
|
-
- Runtime evidence was investigated.
|
|
32
|
-
- Fix or blocker is recorded.
|
|
33
|
-
- Relevant validation was rerun.
|
|
34
|
-
|
|
35
|
-
## Docs Complete
|
|
36
|
-
|
|
37
|
-
- Docs-affecting changes were ingested, or an explicit no-op reason exists.
|
|
38
|
-
|
|
39
|
-
## Closeout Complete
|
|
40
|
-
|
|
41
|
-
- Final report names what ran, what was skipped, validation evidence, docs
|
|
42
|
-
outcome, stack state when relevant, and remaining blockers.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Phase Handoff
|
|
2
|
-
|
|
3
|
-
Each phase must leave enough state for a later `delivery-phase` invocation to
|
|
4
|
-
resume without guessing.
|
|
5
|
-
|
|
6
|
-
## Minimum Handoff Shape
|
|
7
|
-
|
|
8
|
-
```text
|
|
9
|
-
Phase:
|
|
10
|
-
Status: complete | blocked | skipped
|
|
11
|
-
Scope:
|
|
12
|
-
Artifacts:
|
|
13
|
-
Validation:
|
|
14
|
-
Review/debug/docs state:
|
|
15
|
-
Next suggested route:
|
|
16
|
-
Blockers:
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Rules
|
|
20
|
-
|
|
21
|
-
- State what actually ran. Do not imply downstream phases ran.
|
|
22
|
-
- Prefer links or paths to durable artifacts over prose-only claims.
|
|
23
|
-
- If a phase is skipped, record the no-op reason.
|
|
24
|
-
- If the user requested HITL control, stop after the handoff even when the next
|
|
25
|
-
route is obvious.
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: docs-ingest-phase
|
|
3
|
-
description: Routes docs-affecting work into private/internal ingest and public-facing docs paths. Use when specs need durable domain capture, public docs need creation or material updates, wiki/Fumadocs routing changes, or code changes alter architecture, setup, contracts, operator workflow, or user-facing behavior.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Docs Ingest Phase
|
|
7
|
-
|
|
8
|
-
## Quick Start
|
|
9
|
-
|
|
10
|
-
`docs-ingest-phase` is a reusable docs router.
|
|
11
|
-
|
|
12
|
-
1. Read [phases/router.md](phases/router.md).
|
|
13
|
-
2. Inspect only enough source, diff, spec, notes, wiki, public docs, and root docs state to choose the current docs path.
|
|
14
|
-
3. Load exactly one phase file from `phases/`.
|
|
15
|
-
4. Complete that path, write the docs-ingest outcome, then stop or re-enter `docs-ingest-phase` to route again.
|
|
16
|
-
|
|
17
|
-
Completion of one path does not imply loading the other path.
|
|
18
|
-
|
|
19
|
-
## Entry Modes
|
|
20
|
-
|
|
21
|
-
- **Private/internal ingest:** durable capture for specs, project docs, wiki internals, root `docs/`, runbooks, operator workflow, routing metadata, or learning artifacts.
|
|
22
|
-
- **Public docs:** reader-facing product, usage, domain, command, onboarding, or changelog docs.
|
|
23
|
-
- **Mixed docs:** one change needs both private/internal capture and public-facing docs.
|
|
24
|
-
- **No-op check:** determine whether docs ingest is already complete or intentionally unnecessary.
|
|
25
|
-
|
|
26
|
-
## Phase Files
|
|
27
|
-
|
|
28
|
-
- [phases/router.md](phases/router.md): choose the next docs path from artifacts and audience.
|
|
29
|
-
- [phases/private-internal.md](phases/private-internal.md): ingest specs, project/wiki docs, root docs, routing metadata, and learning artifacts.
|
|
30
|
-
- [phases/public-docs.md](phases/public-docs.md): create or update reader-facing docs through the public writer flow.
|
|
31
|
-
|
|
32
|
-
## Router Rules
|
|
33
|
-
|
|
34
|
-
- Do not read path files other than `router.md` until the router selects them.
|
|
35
|
-
- Classify by audience first: internal/project/operator docs are private/internal; reader/adopter/scaffold-recipient docs are public.
|
|
36
|
-
- Use the repo's existing private and public docs surfaces. Do not create a second routed docs surface or hardcode Harness-specific route names in other repos.
|
|
37
|
-
- If both paths apply, prefer private/internal first when source capture, route policy, metadata, or durable writer artifact location is unresolved.
|
|
38
|
-
- Public docs work that runs the writer flow must include the fragment sufficiency checkpoint from [phases/public-docs.md](phases/public-docs.md).
|
|
39
|
-
- After a path completes, report enough state for future resume: selected path, inputs processed, docs written or skipped, validation, blockers, and next path if any.
|
|
40
|
-
|
|
41
|
-
## Stop Conditions
|
|
42
|
-
|
|
43
|
-
- Selected path completed and its resumable outcome was reported.
|
|
44
|
-
- Router finds no docs-affecting change and reports a no-op reason.
|
|
45
|
-
- Required docs surface, route policy, source artifact, or user guidance is missing.
|
|
46
|
-
- Public fragment sufficiency checkpoint is waiting for the user's answer.
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Docs Ingest Phase"
|
|
3
|
-
short_description: "Routes private/internal ingest and public docs updates"
|
|
4
|
-
default_prompt: "Use $docs-ingest-phase to route docs-affecting work between private/internal ingest and public docs. For public docs, present fragments and ask whether they are sufficient before beats, shape, or final writing."
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# Private/Internal Docs Path
|
|
2
|
-
|
|
3
|
-
Use this path for private/project/operator docs, root docs, wiki ingest,
|
|
4
|
-
route/navigation metadata, durable learning, and writer artifact placement.
|
|
5
|
-
|
|
6
|
-
## Load References
|
|
7
|
-
|
|
8
|
-
Read only the references that match the selected work:
|
|
9
|
-
|
|
10
|
-
- Spec or implementation-note ingest: [../references/wiki-ingest.md](../references/wiki-ingest.md)
|
|
11
|
-
- Durable bug or knowledge learning: [../references/learning-artifacts.md](../references/learning-artifacts.md)
|
|
12
|
-
- Routed wiki pages or navigation metadata: [../references/fumadocs-routing.md](../references/fumadocs-routing.md)
|
|
13
|
-
- Root `docs/` maintenance: [../references/repo-docs.md](../references/repo-docs.md)
|
|
14
|
-
|
|
15
|
-
## Workflow
|
|
16
|
-
|
|
17
|
-
1. Resolve `<wiki-root>` when wiki docs are in scope:
|
|
18
|
-
- monorepo: `apps/wiki`
|
|
19
|
-
- single-repo: `wiki`
|
|
20
|
-
2. Read `<wiki-root>/AGENTS.md` before touching wiki content.
|
|
21
|
-
3. Classify every target as private/internal or public by audience.
|
|
22
|
-
4. For private/internal ingest, run the required reference workflows in this order:
|
|
23
|
-
- scoped learning-artifact scan and refresh
|
|
24
|
-
- routed flow-writing phase
|
|
25
|
-
- routed concept-writing phase
|
|
26
|
-
- ingest bookkeeping
|
|
27
|
-
- route/navigation bookkeeping
|
|
28
|
-
- root `docs/` updates
|
|
29
|
-
5. If public docs are also needed, leave a handoff with the public target, source links, and durable writer artifact home. Re-enter `docs-ingest-phase` for the public path.
|
|
30
|
-
|
|
31
|
-
Flow pages must complete before concept pages because concept pages may
|
|
32
|
-
cross-link flows. If any required flow write fails, stop and report a resumable
|
|
33
|
-
failure.
|
|
34
|
-
|
|
35
|
-
## Output Contract
|
|
36
|
-
|
|
37
|
-
Report:
|
|
38
|
-
|
|
39
|
-
- source spec or docs-affecting change processed
|
|
40
|
-
- learning artifacts scanned, written, updated, consolidated, replaced, deleted, marked stale, or intentionally skipped
|
|
41
|
-
- flows written or skipped
|
|
42
|
-
- concepts written or skipped
|
|
43
|
-
- routed pages and `meta.json` updates
|
|
44
|
-
- ingest frontmatter/bookkeeping updates
|
|
45
|
-
- root `docs/` updates, if any
|
|
46
|
-
- public docs handoff, if any
|
|
47
|
-
- validation commands run
|
|
48
|
-
- no-op reasons or blockers
|
|
49
|
-
|
|
50
|
-
## Never Do
|
|
51
|
-
|
|
52
|
-
- Leave new or moved routed pages out of navigation metadata.
|
|
53
|
-
- Strip access-control frontmatter from routed pages.
|
|
54
|
-
- Proceed to concept writing after a flow write fails.
|
|
55
|
-
- Create duplicate routed docs surfaces, `domains/` owner layers, roadmap mirrors, or backlog mirrors.
|
|
56
|
-
- Create a separate `docs/solutions/` tree or hidden memory tree for canonical learning.
|
|
57
|
-
- Put agent task instructions inside human-facing docs pages.
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Public Docs Path
|
|
2
|
-
|
|
3
|
-
Use this path for reader-facing product, usage, domain, command, onboarding,
|
|
4
|
-
changelog, and scaffold-recipient docs.
|
|
5
|
-
|
|
6
|
-
## Load References
|
|
7
|
-
|
|
8
|
-
Always read [../references/public-docs.md](../references/public-docs.md).
|
|
9
|
-
|
|
10
|
-
Also read [../references/fumadocs-routing.md](../references/fumadocs-routing.md)
|
|
11
|
-
when routed pages or navigation metadata will change.
|
|
12
|
-
|
|
13
|
-
## Workflow
|
|
14
|
-
|
|
15
|
-
1. Infer the repo's public docs surface from existing pages, sidebars, `meta.json`, indexes, and repo guidance.
|
|
16
|
-
2. Confirm whether the change is substantial public-facing docs work or a small public-doc patch.
|
|
17
|
-
3. For small patches, edit directly and report why the writer flow was skipped.
|
|
18
|
-
4. For substantial work, choose or create one durable private writer artifact bundle for the public target.
|
|
19
|
-
5. Inspect existing `fragments.md` in that bundle.
|
|
20
|
-
6. If fragments are missing or stale, run `writing-fragments` in docs-ingest artifact mode to create or refresh `fragments.md`.
|
|
21
|
-
7. Present the existing or generated fragments to the user and ask whether they are sufficient to continue.
|
|
22
|
-
8. If the user says they are insufficient, asks for changes, or says more guidance is needed, ask for the missing guidance before running `writing-beats` or `writing-shape`.
|
|
23
|
-
9. Once fragments are confirmed sufficient or the user has supplied enough guidance to revise them, update `fragments.md` as needed.
|
|
24
|
-
10. Run `writing-beats`, then `writing-shape`, then write or merge the final public page.
|
|
25
|
-
11. Update routed metadata, sidebars, and indexes required by the repo's docs system.
|
|
26
|
-
|
|
27
|
-
## Fragment Sufficiency Checkpoint
|
|
28
|
-
|
|
29
|
-
This checkpoint is mandatory for substantial public-doc work.
|
|
30
|
-
|
|
31
|
-
When presenting fragments:
|
|
32
|
-
|
|
33
|
-
- Say whether they were existing or generated in this pass.
|
|
34
|
-
- Show a concise list of the current fragment claims, examples, constraints, and open questions.
|
|
35
|
-
- Ask directly: "Are these fragments sufficient to continue into beats and shape?"
|
|
36
|
-
- Ask directly: "If not, what guidance, examples, audience detail, tone, exclusions, or missing facts should I add?"
|
|
37
|
-
|
|
38
|
-
Do not continue to beats, shape, or final public page writing while the answer is
|
|
39
|
-
missing or the user has said guidance is needed but has not provided it.
|
|
40
|
-
|
|
41
|
-
## Output Contract
|
|
42
|
-
|
|
43
|
-
Report:
|
|
44
|
-
|
|
45
|
-
- public docs target and audience
|
|
46
|
-
- writer artifact bundle used
|
|
47
|
-
- fragments presented, confirmed, revised, or blocked for guidance
|
|
48
|
-
- beats and shape artifacts written or skipped
|
|
49
|
-
- public pages written, merged, or skipped
|
|
50
|
-
- routed metadata, sidebar, or index updates
|
|
51
|
-
- validation commands run
|
|
52
|
-
- no-op reasons or blockers
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# Router Phase
|
|
2
|
-
|
|
3
|
-
Use this file to choose the next docs-ingest path. Do not read other path files
|
|
4
|
-
until this router selects one.
|
|
5
|
-
|
|
6
|
-
## Inputs To Inspect
|
|
7
|
-
|
|
8
|
-
- User request and explicit mode: private/internal, public docs, mixed, resume, or no-op check.
|
|
9
|
-
- Source spec folder, `SPEC.md`, implementation notes, review/debug output, diff, PR, issue, branch, or docs target named by the user.
|
|
10
|
-
- Existing private/project wiki pages, public docs pages, root `docs/`, `meta.json`, sidebars, ingest frontmatter, writer artifacts, and validation evidence.
|
|
11
|
-
- Relevant repo guidance only when needed to identify docs ownership, route policy, or validation surface.
|
|
12
|
-
|
|
13
|
-
## Audience Definitions
|
|
14
|
-
|
|
15
|
-
- **Private/internal:** specs, plans, implementation notes, project knowledge, operator runbooks, setup/architecture decisions, root `docs/`, route metadata, learning artifacts, and durable writer artifacts.
|
|
16
|
-
- **Public:** reader-facing product, usage, domain, command, onboarding, changelog, or scaffold-recipient docs.
|
|
17
|
-
|
|
18
|
-
Audience is the primary signal. Route topology and permission metadata are secondary signals.
|
|
19
|
-
|
|
20
|
-
## Routing Order
|
|
21
|
-
|
|
22
|
-
1. If docs goal bounds or source artifacts are unclear, stop and ask one concrete question.
|
|
23
|
-
2. If no docs-affecting change exists, report a no-op and stop.
|
|
24
|
-
3. If audience classification is unclear after minimal inspection, stop and ask whether the target reader is internal/project/operator or public/adopter/user.
|
|
25
|
-
4. If a spec, project/wiki page, root `docs/`, operator workflow, route metadata, or learning artifact needs ingest and is missing or stale, load [private-internal.md](private-internal.md).
|
|
26
|
-
5. If both private/internal and public docs are required, route private/internal first unless its ingest outcome is already fresh and names the public target plus writer artifact location.
|
|
27
|
-
6. If reader-facing public docs are requested or materially affected, load [public-docs.md](public-docs.md).
|
|
28
|
-
7. Otherwise report a no-op with evidence.
|
|
29
|
-
|
|
30
|
-
## Resume Behavior
|
|
31
|
-
|
|
32
|
-
Assume either path may have been completed manually. Verify artifact freshness;
|
|
33
|
-
do not re-run a path only because `docs-ingest-phase` did not run it.
|
|
34
|
-
|
|
35
|
-
## Output
|
|
36
|
-
|
|
37
|
-
Report:
|
|
38
|
-
|
|
39
|
-
- selected path
|
|
40
|
-
- evidence that selected it
|
|
41
|
-
- path file to load next
|
|
42
|
-
- blocker question if no path can be selected safely
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# Concept Pages
|
|
2
|
-
|
|
3
|
-
Use this reference when `docs-ingest-phase` writes concepts into routed wiki docs.
|
|
4
|
-
|
|
5
|
-
## Input Expansion
|
|
6
|
-
|
|
7
|
-
For each extracted concept:
|
|
8
|
-
|
|
9
|
-
1. Read related routed flow pages under the routed output root selected by [fumadocs-routing.md](fumadocs-routing.md), if any exist.
|
|
10
|
-
2. Scan `<wiki-root>/raw/` recursively and collect files where frontmatter `ingested: false` or `ingested` is absent.
|
|
11
|
-
3. Use relevant raw content only as supplementary material. Do not mark raw files as ingested here.
|
|
12
|
-
|
|
13
|
-
## Output Contract
|
|
14
|
-
|
|
15
|
-
Synthesize concept content in this precedence order:
|
|
16
|
-
|
|
17
|
-
1. `IMPLEMENTATION-NOTES.md` deviations, surprises, and judgment calls
|
|
18
|
-
2. `SPEC.md` acceptance criteria, data model, and technical notes
|
|
19
|
-
3. relevant sections from routed flow pages
|
|
20
|
-
4. relevant raw file content
|
|
21
|
-
|
|
22
|
-
Determine status:
|
|
23
|
-
|
|
24
|
-
- `proposed` when only `SPEC.md` is present
|
|
25
|
-
- `implemented` when `IMPLEMENTATION-NOTES.md` is present
|
|
26
|
-
|
|
27
|
-
Derive the routed output path:
|
|
28
|
-
|
|
29
|
-
1. Use the domain's existing route section if the concept clearly belongs there.
|
|
30
|
-
2. Write only when an existing project section is a clear fit; otherwise skip the concept page and report the route-policy gap.
|
|
31
|
-
3. Slugify the concept name to kebab-case.
|
|
32
|
-
|
|
33
|
-
For Harness-style domains, prefer existing topical sections such as `foundations`, `prompt-surfaces`, `skills-and-packs`, `execution-modes`, `validation-and-tools`, and `lifecycle-flows` when they already exist.
|
|
34
|
-
|
|
35
|
-
## Page Shape
|
|
36
|
-
|
|
37
|
-
Every concept page must include frontmatter:
|
|
38
|
-
|
|
39
|
-
```yaml
|
|
40
|
-
---
|
|
41
|
-
title: <Concept Name>
|
|
42
|
-
description: <one sentence>
|
|
43
|
-
surface: project
|
|
44
|
-
permission: project
|
|
45
|
-
domain: <domain>
|
|
46
|
-
type: concept
|
|
47
|
-
status: proposed | implemented
|
|
48
|
-
source:
|
|
49
|
-
- <source path>
|
|
50
|
-
updated: YYYY-MM-DD
|
|
51
|
-
---
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
Every concept page should include:
|
|
55
|
-
|
|
56
|
-
- a definition or opening explanation
|
|
57
|
-
- the concept's invariants, attributes, or boundaries
|
|
58
|
-
- links to related flows or mechanics pages
|
|
59
|
-
- source links or a short source section when useful
|
|
60
|
-
|
|
61
|
-
## Merge Rules
|
|
62
|
-
|
|
63
|
-
When a routed concept page already exists:
|
|
64
|
-
|
|
65
|
-
- preserve established facts
|
|
66
|
-
- merge new implemented reality into the main article
|
|
67
|
-
- flag contradictions inline with a warning callout
|
|
68
|
-
- update `updated` and `source`
|
|
69
|
-
|
|
70
|
-
Update the nearest `meta.json` and section index page so the concept is discoverable.
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# Flow Pages
|
|
2
|
-
|
|
3
|
-
Use this reference when `docs-ingest-phase` writes flows into routed wiki docs.
|
|
4
|
-
|
|
5
|
-
## Output Contract
|
|
6
|
-
|
|
7
|
-
For each extracted flow:
|
|
8
|
-
|
|
9
|
-
1. Derive the routed output path:
|
|
10
|
-
- use the domain's existing flow section when one exists
|
|
11
|
-
- write only when an existing project section is a clear fit; otherwise skip the flow page and report the route-policy gap
|
|
12
|
-
- slugify the flow name to kebab-case
|
|
13
|
-
2. Determine status:
|
|
14
|
-
- `proposed` when only `SPEC.md` is present
|
|
15
|
-
- `implemented` when `IMPLEMENTATION-NOTES.md` is present
|
|
16
|
-
3. Reconcile implementation notes when present:
|
|
17
|
-
- use `SPEC.md` acceptance criteria as the skeleton
|
|
18
|
-
- override or annotate steps where `IMPLEMENTATION-NOTES.md` records a deviation, surprise, or judgment call
|
|
19
|
-
- mark blocked or unmet steps with a warning callout
|
|
20
|
-
4. Write or merge the routed flow page:
|
|
21
|
-
- preserve established facts
|
|
22
|
-
- integrate new implemented reality into the main flow
|
|
23
|
-
- flag contradictions inline with a warning callout
|
|
24
|
-
5. Update the nearest `meta.json` and section index page so the flow is discoverable.
|
|
25
|
-
|
|
26
|
-
For Harness-style domains, flow pages usually belong under `lifecycle-flows`.
|
|
27
|
-
|
|
28
|
-
## Page Shape
|
|
29
|
-
|
|
30
|
-
Every flow page must include frontmatter:
|
|
31
|
-
|
|
32
|
-
```yaml
|
|
33
|
-
---
|
|
34
|
-
title: <Flow Name>
|
|
35
|
-
description: <one sentence>
|
|
36
|
-
surface: project
|
|
37
|
-
permission: project
|
|
38
|
-
domain: <domain>
|
|
39
|
-
type: flow
|
|
40
|
-
status: proposed | implemented
|
|
41
|
-
source:
|
|
42
|
-
- <source path>
|
|
43
|
-
updated: YYYY-MM-DD
|
|
44
|
-
---
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
Every flow page should include:
|
|
48
|
-
|
|
49
|
-
- trigger
|
|
50
|
-
- actors
|
|
51
|
-
- ordered steps and decision points
|
|
52
|
-
- terminal outcome
|
|
53
|
-
- validation or closeout signal
|
|
54
|
-
- source links when useful
|
|
55
|
-
|
|
56
|
-
Use a Mermaid diagram only when it clarifies branching or sequencing. Do not force diagrams for simple flows.
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
# Fumadocs Routing
|
|
2
|
-
|
|
3
|
-
Use this reference when `docs-ingest-phase` updates routed Fumadocs docs.
|
|
4
|
-
|
|
5
|
-
## Canonical Routed Content
|
|
6
|
-
|
|
7
|
-
`apps/wiki` owns the wiki application and its documentation content. Routed MDX pages under `content/docs` are the canonical human-facing docs surface.
|
|
8
|
-
|
|
9
|
-
Private route root example from this repo:
|
|
10
|
-
|
|
11
|
-
- `<wiki-root>/content/docs/project`
|
|
12
|
-
|
|
13
|
-
Do not create or maintain a separate canonical `domains/` tree for concepts and flows. That split creates drift because one article then has two homes.
|
|
14
|
-
|
|
15
|
-
`<wiki-root>/specs`, `<wiki-root>/raw`, `<wiki-root>/index.md`, and `<wiki-root>/log.md` may remain source/input/bookkeeping surfaces. They are not duplicate article trees.
|
|
16
|
-
|
|
17
|
-
## Route Boundaries
|
|
18
|
-
|
|
19
|
-
Use the repo's private docs route for:
|
|
20
|
-
|
|
21
|
-
- specs
|
|
22
|
-
- plans
|
|
23
|
-
- implementation notes
|
|
24
|
-
- maintenance logs
|
|
25
|
-
- decisions
|
|
26
|
-
- repo guidance
|
|
27
|
-
- operator/project runbooks
|
|
28
|
-
- useful Linear/grill-derived management context
|
|
29
|
-
- project-specific projections
|
|
30
|
-
- docs-ingest-phase concept/flow output
|
|
31
|
-
- durable public-doc writer artifacts
|
|
32
|
-
|
|
33
|
-
Keep implementation specs and notes linked or summarized. Do not paste large source artifacts into routed pages.
|
|
34
|
-
|
|
35
|
-
Use the repo's public-facing docs routes for reader-facing product, usage, domain, command, changelog, and onboarding pages. Do not enforce this repo's public route names in other repos.
|
|
36
|
-
|
|
37
|
-
## Fumadocs Mechanics
|
|
38
|
-
|
|
39
|
-
Fumadocs uses file paths to determine route slugs. Examples:
|
|
40
|
-
|
|
41
|
-
- `content/docs/project/specs/index.mdx` -> `/docs/project/specs`
|
|
42
|
-
|
|
43
|
-
Each folder with an explicit `meta.json` `pages` array must list every page or child folder that should appear in the page tree. Update `meta.json` whenever pages are added, moved, or removed.
|
|
44
|
-
|
|
45
|
-
Use a root folder for the default project surface:
|
|
46
|
-
|
|
47
|
-
```json
|
|
48
|
-
{
|
|
49
|
-
"title": "Project",
|
|
50
|
-
"root": true
|
|
51
|
-
}
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
## Routed Page Frontmatter
|
|
55
|
-
|
|
56
|
-
Preserve access-control frontmatter on routed pages:
|
|
57
|
-
|
|
58
|
-
```yaml
|
|
59
|
-
surface: project
|
|
60
|
-
permission: project
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
Routed ingest pages should also carry durable metadata when useful:
|
|
64
|
-
|
|
65
|
-
```yaml
|
|
66
|
-
domain: <domain>
|
|
67
|
-
type: concept | flow | writer-artifact
|
|
68
|
-
status: proposed | implemented
|
|
69
|
-
source:
|
|
70
|
-
- apps/wiki/specs/<domain>/<spec>/SPEC.md
|
|
71
|
-
updated: YYYY-MM-DD
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
Do not implement full auth unless the repo already has the required auth primitives. When auth exists, prefer a small Fumadocs loader-level filter so restricted files are removed from the input source before page tree/search generation.
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
# Learning Artifacts
|
|
2
|
-
|
|
3
|
-
Use this reference when `docs-ingest-phase` receives a spec, implementation, bugfix, debugging result, review result, or operator workflow change that produced durable learning.
|
|
4
|
-
|
|
5
|
-
## Purpose
|
|
6
|
-
|
|
7
|
-
Close the loop so future discovery, planning, debugging, and review can reuse what was learned. Canonical learning lives in routed wiki/project docs, not in a separate `docs/solutions/` tree and not as a hidden memory mirror.
|
|
8
|
-
|
|
9
|
-
## Scope
|
|
10
|
-
|
|
11
|
-
Run a scoped scan around the current ingest's:
|
|
12
|
-
|
|
13
|
-
- domain
|
|
14
|
-
- module
|
|
15
|
-
- component
|
|
16
|
-
- referenced files
|
|
17
|
-
- source spec or implementation notes
|
|
18
|
-
|
|
19
|
-
Do not run broad repository archaeology by default.
|
|
20
|
-
|
|
21
|
-
## Learning Types
|
|
22
|
-
|
|
23
|
-
Every learning artifact must declare one type:
|
|
24
|
-
|
|
25
|
-
- `learning_type: bug`
|
|
26
|
-
- `learning_type: knowledge`
|
|
27
|
-
|
|
28
|
-
Shared fields:
|
|
29
|
-
|
|
30
|
-
- `date`
|
|
31
|
-
- `domain`
|
|
32
|
-
- `module`
|
|
33
|
-
- `component`
|
|
34
|
-
- `severity`
|
|
35
|
-
- `source`
|
|
36
|
-
- `referenced_files`
|
|
37
|
-
- `future_use_hooks`
|
|
38
|
-
|
|
39
|
-
Bug-only fields:
|
|
40
|
-
|
|
41
|
-
- `symptoms`
|
|
42
|
-
- `root_cause`
|
|
43
|
-
- `resolution_type`
|
|
44
|
-
- `prevention`
|
|
45
|
-
|
|
46
|
-
Knowledge-only fields:
|
|
47
|
-
|
|
48
|
-
- `applies_when`
|
|
49
|
-
- `guidance`
|
|
50
|
-
- `why_it_matters`
|
|
51
|
-
|
|
52
|
-
## Refresh Outcomes
|
|
53
|
-
|
|
54
|
-
Before writing a new learning artifact, check existing routed learning pages in the scoped area and choose exactly one outcome:
|
|
55
|
-
|
|
56
|
-
- `keep`: current learning is still accurate and this ingest adds nothing durable
|
|
57
|
-
- `update`: same learning needs fresher facts, references, examples, or prevention notes
|
|
58
|
-
- `consolidate`: overlapping learnings should become one canonical page
|
|
59
|
-
- `replace`: old guidance is misleading and a clear successor exists
|
|
60
|
-
- `delete`: old guidance is clearly obsolete, unreferenced, and no longer useful
|
|
61
|
-
- `mark_stale`: accuracy is ambiguous or needs a human decision
|
|
62
|
-
|
|
63
|
-
Record the outcome in the ingest report.
|
|
64
|
-
|
|
65
|
-
## Future-Use Hooks
|
|
66
|
-
|
|
67
|
-
Every learning artifact must expose at least one hook that makes future reuse likely:
|
|
68
|
-
|
|
69
|
-
- link from a routed flow, concept, or runbook
|
|
70
|
-
- link from spec or implementation notes
|
|
71
|
-
- compact memory note only for hard-to-discover gotchas or routing aids
|
|
72
|
-
- update a phase skill reference when the learning changes agent behavior
|
|
73
|
-
- add a prevention or test note to a validation/review checklist
|
|
74
|
-
|
|
75
|
-
Do not rely on search alone as the hook.
|
|
76
|
-
|
|
77
|
-
## Memory Boundary
|
|
78
|
-
|
|
79
|
-
Use memory notes sparingly.
|
|
80
|
-
|
|
81
|
-
- Canonical knowledge: routed learning artifact.
|
|
82
|
-
- Navigation/discovery: future-use hooks.
|
|
83
|
-
- Compact gotcha/routing aid: memory note.
|
|
84
|
-
|
|
85
|
-
Do not create memory notes for routine learnings, obvious file locations, or content that already has a routed page and future-use hooks.
|
|
86
|
-
|
|
87
|
-
## Output
|
|
88
|
-
|
|
89
|
-
For each scoped ingest, report:
|
|
90
|
-
|
|
91
|
-
- scoped search area
|
|
92
|
-
- existing learning artifacts considered
|
|
93
|
-
- chosen refresh outcome
|
|
94
|
-
- pages written or changed
|
|
95
|
-
- future-use hooks added
|
|
96
|
-
- memory note written or skipped with reason
|