@guanlin4924/devflow-pi 0.1.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 +164 -0
- package/docs/OMP-NATIVE-ARCHITECTURE.md +104 -0
- package/package.json +40 -0
- package/plugins/devflow-core/extensions/devflow-core.ts +1642 -0
- package/plugins/devflow-core/package.json +14 -0
- package/plugins/devflow-core/runtime/hooks/context_sync_gate.py +174 -0
- package/plugins/devflow-core/runtime/hooks/hook_common.py +696 -0
- package/plugins/devflow-core/runtime/hooks/index_gate.py +63 -0
- package/plugins/devflow-core/runtime/hooks/injection_code_specification.py +7 -0
- package/plugins/devflow-core/runtime/hooks/post_tool.py +44 -0
- package/plugins/devflow-core/runtime/hooks/start.py +288 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/SKILL.md +265 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/agents/openai.yaml +4 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/advance_state.rb +520 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/control_io.rb +42 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/init_state.rb +138 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/init_workflow.rb +121 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/inspect_state.rb +553 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/manage_lessons.rb +219 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/sync_artifacts.rb +168 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/update_triage_route.rb +110 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/validate_state.rb +565 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/templates/feature-development.yaml +783 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/templates/uat-remediation.yaml +143 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/templates/workflows-README.md +10 -0
- package/plugins/devflow-core/skills/workflow-pipeline/SKILL.md +117 -0
- package/plugins/devflow-core/skills/workflow-pipeline/references/pipeline-flow.md +167 -0
- package/plugins/devflow-core/skills/workflow-pipeline/references/slice-safety-guide.md +125 -0
- package/plugins/devflow-core/skills/workflow-project-context/SKILL.md +819 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/agents-md-template.md +25 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/codebase-backend-spec-template.md +68 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/codebase-frontend-spec-template.md +64 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/codebase-navigation-template.md +168 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/context-domain-index-template.md +43 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/context-spec-index-template.md +45 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/execution-contract-template.md +57 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/navigation-index-template.md +40 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/project-initialization-template.md +109 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/rules-index-template.md +80 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/run-manifest-template.json +40 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/directory-structure.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/engine.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/errors.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/locator.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/model.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/repository.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/router.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/scheduler.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/schema.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/service.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/testing.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/api-client.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/case-editor.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/components.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/directory-structure.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/forms.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/routing.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/state.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/frontend/testing.md +46 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/stack-spec-template.md +106 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/state-template.md +77 -0
- package/plugins/devflow-core/skills/workflow-project-context/assets/toolchain-template.md +37 -0
- package/plugins/devflow-core/skills/workflow-project-context/references/navigation-guide.md +262 -0
- package/plugins/devflow-core/skills/workflow-project-context/scripts/validate_initialization.py +545 -0
- package/plugins/devflow-design/agents/contract-auditor.md +18 -0
- package/plugins/devflow-design/extensions/devflow-design.ts +47 -0
- package/plugins/devflow-design/package.json +14 -0
- package/plugins/devflow-design/skills/workflow-api-call-guide/SKILL.md +142 -0
- package/plugins/devflow-design/skills/workflow-api-contract/SKILL.md +150 -0
- package/plugins/devflow-design/skills/workflow-api-supplement/SKILL.md +121 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/SKILL.md +257 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/assets/adr-template.md +57 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/assets/backend-spec-template.md +205 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/affected-module-exploration.md +59 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/backend-conventions.md +30 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/code-explore-guide.md +40 -0
- package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/project-rule-contract.md +66 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/SKILL.md +91 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/index.md +71 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/accessibility.md +31 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/component-library.md +31 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/design-systems.md +47 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/responsive-grid.md +29 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/stack-guidelines.md +31 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/ux-patterns.md +40 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tokens/project-tokens.md +19 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/SKILL.md +377 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/charts.csv +26 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/colors.csv +97 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/icons.csv +101 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/landing.csv +31 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/products.csv +97 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/styles.csv +68 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/typography.csv +58 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/scripts/core.py +253 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/scripts/search.py +114 -0
- package/plugins/devflow-design/skills/workflow-design-rule-pack/scripts/install.py +67 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/SKILL.md +370 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/assets/admin-system-template.md +57 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/assets/api-service-template.md +42 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/assets/c-end-system-template.md +25 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/assets/output-template.md +139 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/references/bug-rules.md +12 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/references/exception-checklist.md +31 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/references/trace-integrity-guide.md +153 -0
- package/plugins/devflow-design/skills/workflow-feature-breakdown/references/writing-guide.md +92 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/SKILL.md +223 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/assets/frontend-spec-template.md +204 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/affected-module-exploration.md +58 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/component-patterns.md +42 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/frontend-conventions.md +28 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/frontend-stack-slots/common-web.md +53 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/frontend-stack-slots/next.md +40 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/frontend-stack-slots/react.md +41 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/frontend-stack-slots/vue.md +41 -0
- package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/project-rule-contract.md +95 -0
- package/plugins/devflow-design/skills/workflow-integration-verify/SKILL.md +172 -0
- package/plugins/devflow-design/skills/workflow-ui-spec/SKILL.md +302 -0
- package/plugins/devflow-design/skills/workflow-ui-spec/assets/ui-spec-template.md +244 -0
- package/plugins/devflow-design/skills/workflow-ui-spec/references/affected-module-exploration.md +55 -0
- package/plugins/devflow-implementation/agents/implementation-worker.md +20 -0
- package/plugins/devflow-implementation/package.json +6 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/SKILL.md +124 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/references/INDEX.md +13 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/references/adversarial-review.md +35 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/references/first-principles.md +26 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/references/lesson-format.md +28 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/references/root-cause-ladder.md +51 -0
- package/plugins/devflow-implementation/skills/workflow-bug-fix/references/seam-analysis.md +30 -0
- package/plugins/devflow-implementation/skills/workflow-change-plan/SKILL.md +160 -0
- package/plugins/devflow-implementation/skills/workflow-change-plan/references/code-conventions.md +33 -0
- package/plugins/devflow-implementation/skills/workflow-change-plan/references/ddl-guidelines.md +60 -0
- package/plugins/devflow-implementation/skills/workflow-change-plan/references/output-template.md +217 -0
- package/plugins/devflow-implementation/skills/workflow-change-plan/references/project-rule-contract.md +55 -0
- package/plugins/devflow-implementation/skills/workflow-execute-phase/SKILL.md +271 -0
- package/plugins/devflow-implementation/skills/workflow-execute-phase/references/execute-phase.md +1251 -0
- package/plugins/devflow-implementation/skills/workflow-execute-phase/references/ui-brand.md +160 -0
- package/plugins/devflow-intel/agents/project-scout.md +27 -0
- package/plugins/devflow-intel/extensions/devflow-intel.ts +104 -0
- package/plugins/devflow-intel/package.json +14 -0
- package/plugins/devflow-intel/skills/code-index-query/SKILL.md +37 -0
- package/plugins/devflow-intel/skills/code-index-query/references/query-patterns.md +27 -0
- package/plugins/devflow-intel/skills/workflow-code-index/SKILL.md +68 -0
- package/plugins/devflow-intel/skills/workflow-code-index/references/adapter-contract.md +38 -0
- package/plugins/devflow-intel/skills/workflow-code-index/references/audit-checklist.md +10 -0
- package/plugins/devflow-intel/skills/workflow-code-index/references/confidence-rules.md +43 -0
- package/plugins/devflow-intel/skills/workflow-code-index/references/data-model.md +74 -0
- package/plugins/devflow-intel/skills/workflow-code-index/references/discovery.md +24 -0
- package/plugins/devflow-intel/skills/workflow-code-index/references/query-guide.md +20 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/adapters/__init__.py +1 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/adapters/base.py +30 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/adapters/generic_text.py +287 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/adapters/registry.py +17 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/code_index.py +437 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/__init__.py +1 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/discovery.py +139 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/hashing.py +11 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/scanner.py +115 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/schema.py +123 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/validators/__init__.py +1 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/validators/project_binding_check.py +66 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/validators/relation_check.py +36 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/validators/schema_validate.py +11 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/validators/stale_check.py +42 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/writers/__init__.py +1 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/writers/jsonl_writer.py +25 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/writers/markdown_writer.py +106 -0
- package/plugins/devflow-intel/skills/workflow-code-index/scripts/writers/sqlite_writer.py +143 -0
- package/plugins/devflow-intel/skills/workflow-context-sync/SKILL.md +381 -0
- package/plugins/devflow-intel/skills/workflow-context-sync/agents/openai.yaml +4 -0
- package/plugins/devflow-intel/skills/workflow-context-sync/scripts/context_sync_cursor.py +241 -0
- package/plugins/devflow-intel/skills/workflow-update-navigation/SKILL.md +186 -0
- package/plugins/devflow-intel/skills/workflow-update-navigation/references/incremental-update-guide.md +47 -0
- package/plugins/devflow-quality/agents/code-reviewer.md +18 -0
- package/plugins/devflow-quality/agents/verification-runner.md +21 -0
- package/plugins/devflow-quality/extensions/devflow-quality.ts +59 -0
- package/plugins/devflow-quality/package.json +14 -0
- package/plugins/devflow-quality/skills/code-review/SKILL.md +288 -0
- package/plugins/devflow-quality/skills/code-review/references/cross-layer-checklist.md +70 -0
- package/plugins/devflow-quality/skills/code-review/references/dao-checklist.md +70 -0
- package/plugins/devflow-quality/skills/code-review/references/handler-checklist.md +48 -0
- package/plugins/devflow-quality/skills/code-review/references/repository-checklist.md +44 -0
- package/plugins/devflow-quality/skills/code-review/references/service-checklist.md +57 -0
- package/plugins/devflow-quality/skills/code-review/references/spec-checklist.md +34 -0
- package/plugins/devflow-quality/skills/code-review/references/vo-checklist.md +26 -0
- package/plugins/devflow-quality/skills/workflow-audit-milestone/SKILL.md +31 -0
- package/plugins/devflow-quality/skills/workflow-audit-milestone/references/audit-milestone.md +328 -0
- package/plugins/devflow-quality/skills/workflow-complete-milestone/SKILL.md +132 -0
- package/plugins/devflow-quality/skills/workflow-complete-milestone/assets/milestone-archive.md +123 -0
- package/plugins/devflow-quality/skills/workflow-complete-milestone/references/complete-milestone.md +775 -0
- package/plugins/devflow-quality/skills/workflow-complete-milestone/references/milestone-archive.md +123 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/SKILL.md +126 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/api-mainflow-rules.md +27 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/codebase-discovery.md +54 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/intermediate-format.md +244 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/mainflow-selection.md +36 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/project-dsl-contract.md +190 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/ui-mainflow-rules.md +110 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/compile_dsl.py +583 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/discover_codebases.py +199 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/normalize_case_payloads.py +177 -0
- package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/validate_case_payloads.py +370 -0
- package/plugins/devflow-quality/skills/workflow-verify-work/SKILL.md +106 -0
- package/plugins/devflow-quality/skills/workflow-verify-work/assets/UAT.md +265 -0
- package/plugins/devflow-quality/skills/workflow-verify-work/references/verify-work.md +759 -0
- package/plugins/devflow-requirements/agents/requirements-auditor.md +20 -0
- package/plugins/devflow-requirements/package.json +6 -0
- package/plugins/devflow-requirements/skills/requirement-feasibility-review/SKILL.md +219 -0
- package/plugins/devflow-requirements/skills/requirement-feasibility-review/agents/openai.yaml +4 -0
- package/plugins/devflow-requirements/skills/requirement-feasibility-review/references/review-method.md +257 -0
- package/plugins/devflow-requirements/skills/requirement-feasibility-review/references/review-template.md +80 -0
- package/plugins/devflow-requirements/skills/workflow-demand-clarify/SKILL.md +325 -0
- package/plugins/devflow-requirements/skills/workflow-domain-modeling/SKILL.md +163 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/SKILL.md +748 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/assets/baseline-template.md +281 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/antipatterns.md +69 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/challenge-review-guide.md +158 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/decomposition-guide.md +115 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/project-context-guide.md +119 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/questioning.md +76 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/requirement-review-checklist.md +115 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-triage/SKILL.md +204 -0
- package/plugins/devflow-requirements/skills/workflow-wayfinder/SKILL.md +183 -0
- package/src/cli.ts +76 -0
- package/src/constants.ts +15 -0
- package/src/doctor.ts +66 -0
- package/src/paths.ts +37 -0
- package/src/platform-extension.ts +46 -0
- package/src/project-context.ts +165 -0
- package/src/runtime.ts +167 -0
- package/src/usage-stats.ts +101 -0
- package/templates/commands/start.md +58 -0
- package/templates/omp/AGENTS.md +36 -0
- package/templates/omp/config.yml +112 -0
- package/templates/omp/hook-config.json +18 -0
- package/templates/omp/index-policy.json +57 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Project Rules Index
|
|
2
|
+
|
|
3
|
+
<!-- project_context_run_id: {{run_id}}; code_index_status: {{code_index_status}}; code_index_skip_reason: {{code_index_skip_reason}} -->
|
|
4
|
+
|
|
5
|
+
## Quick Reference
|
|
6
|
+
|
|
7
|
+
| Rule File | Purpose | Status |
|
|
8
|
+
|-----------|---------|--------|
|
|
9
|
+
| `.planning/execution-contract.md` | Layer order, TDD strategy, codegen and verification gates | {{execution_contract_status}} |
|
|
10
|
+
| `.planning/toolchain.md` | Build, test, lint, mock, migration commands | {{toolchain_status}} |
|
|
11
|
+
| `.planning/lessons/README.md` | Cross-milestone lessons learned | {{lessons_status}} |
|
|
12
|
+
| `.planning/code-index/` | Machine code facts: symbols, relations, entrypoints, and data flow | {{code_index_status}} |
|
|
13
|
+
| `.context/spec/design/` | Frontend UI/UX recommendations and project-level design tokens | {{design_rule_pack_status}} |
|
|
14
|
+
| `.context/spec/index.md` | Generated technical spec registry and read order | {{context_spec_index_status}} |
|
|
15
|
+
| `.context/spec/stacks/` | Generated stack-level technical specs | {{stack_specs_status}} |
|
|
16
|
+
| `.context/workflow/` | Existing workflow gates (TDD, verification, checklist) | {{context_workflow_status}} |
|
|
17
|
+
| `.context/lessons/README.md` | Legacy project lessons | {{context_lessons_status}} |
|
|
18
|
+
| `AGENTS.md` / `CLAUDE.md` | Root agent instructions | {{root_instructions_status}} |
|
|
19
|
+
| `.cursorrules` | IDE-level AI rules | {{cursorrules_status}} |
|
|
20
|
+
|
|
21
|
+
## Frontend Rules
|
|
22
|
+
|
|
23
|
+
| Rule File | Path | Status |
|
|
24
|
+
|-----------|------|--------|
|
|
25
|
+
| Frontend Spec Index | `.context/spec/frontend/index.md` | {{frontend_spec_index_status}} |
|
|
26
|
+
| Frontend Specs | `.context/spec/frontend/` | {{frontend_specs_status}} |
|
|
27
|
+
| Design Specs | `.context/spec/design/` | {{design_specs_status}} |
|
|
28
|
+
|
|
29
|
+
## Backend Rules
|
|
30
|
+
|
|
31
|
+
| Rule File | Path | Status |
|
|
32
|
+
|-----------|------|--------|
|
|
33
|
+
| Backend Spec Index | `.context/spec/backend/index.md` | {{backend_spec_index_status}} |
|
|
34
|
+
| Backend Specs | `.context/spec/backend/` | {{backend_specs_status}} |
|
|
35
|
+
|
|
36
|
+
## Stack Specs
|
|
37
|
+
|
|
38
|
+
| Stack Key | Path | Codebases | Status |
|
|
39
|
+
|-----------|------|-----------|--------|
|
|
40
|
+
| {{stack_key}} | `.context/spec/stacks/{{stack_key}}.md` | {{codebases}} | {{stack_spec_status}} |
|
|
41
|
+
|
|
42
|
+
## Codebase Specs
|
|
43
|
+
|
|
44
|
+
| Codebase | Type | Stack Key | Path | Status |
|
|
45
|
+
|----------|------|-----------|------|--------|
|
|
46
|
+
| {{codebase_name}} | {{codebase_type}} | {{stack_key}} | `.context/spec/{{domain}}/{{codebase_name}}.md` | {{codebase_spec_status}} |
|
|
47
|
+
|
|
48
|
+
## Spec Read Contract
|
|
49
|
+
|
|
50
|
+
Downstream skills must read technical rules in this order:
|
|
51
|
+
|
|
52
|
+
1. `.planning/rules/INDEX.md`
|
|
53
|
+
2. `.context/spec/index.md`
|
|
54
|
+
3. Matching `.context/spec/stacks/{stack_key}.md`
|
|
55
|
+
4. Matching `.context/spec/frontend|backend/{codebase}.md`
|
|
56
|
+
5. Matching `.context/spec/{domain}/index.md` and applicable depth specs
|
|
57
|
+
6. Matching `.planning/navigation/{codebase}.md`
|
|
58
|
+
7. `.planning/code-index/` machine symbols/relations for source-level relation facts; if fast mode skipped generation, refresh through `workflow-code-index` or record fallback
|
|
59
|
+
8. Actual source files
|
|
60
|
+
|
|
61
|
+
## Workflow Rules
|
|
62
|
+
|
|
63
|
+
| Rule File | Path | Status |
|
|
64
|
+
|-----------|------|--------|
|
|
65
|
+
| TDD Gate | `.context/workflow/tdd.md` | {{tdd_status}} |
|
|
66
|
+
| Verification Gate | `.context/workflow/verification.md` | {{verification_status}} |
|
|
67
|
+
| Checklist | `.context/workflow/checklist.md` | {{checklist_status}} |
|
|
68
|
+
|
|
69
|
+
## History Model
|
|
70
|
+
|
|
71
|
+
| Source | Role | Status |
|
|
72
|
+
|--------|------|--------|
|
|
73
|
+
| `.planning/milestones/` | Archived milestone summaries | {{milestones_status}} |
|
|
74
|
+
| `.planning/requirements/` | Requirement baselines | {{requirements_status}} |
|
|
75
|
+
| `.planning/lessons/` | Cross-milestone lessons | {{planning_lessons_status}} |
|
|
76
|
+
| `.planning/*/CONTEXT.md` | Phase/session decisions | {{context_md_status}} |
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
*Generated during project initialization. This index is the first file downstream skills read. Update as rule files are added or change status.*
|
package/plugins/devflow-core/skills/workflow-project-context/assets/run-manifest-template.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"run_id": "{{run_id}}",
|
|
4
|
+
"started_at": "{{run_started_at}}",
|
|
5
|
+
"mode": "{{full_or_fast}}",
|
|
6
|
+
"code_index_status": "{{complete_or_skipped}}",
|
|
7
|
+
"code_index_skip_reason": "{{code_index_skip_reason}}",
|
|
8
|
+
"design_rule_pack": {
|
|
9
|
+
"status": "{{installed_or_not_applicable}}",
|
|
10
|
+
"reason": "{{design_rule_pack_reason}}",
|
|
11
|
+
"source": "{{design_rule_pack_source_or_none}}",
|
|
12
|
+
"assets": ["{{verified_design_asset_or_none}}"]
|
|
13
|
+
},
|
|
14
|
+
"topic_inventory": [
|
|
15
|
+
{
|
|
16
|
+
"codebase": "{{codebase_name}}",
|
|
17
|
+
"domain": "{{backend_or_frontend}}",
|
|
18
|
+
"candidate_topics": ["{{candidate_topic}}"],
|
|
19
|
+
"discovered_topics": ["{{discovered_topic}}"]
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"depth_specs": [
|
|
23
|
+
{
|
|
24
|
+
"codebase": "{{codebase_name}}",
|
|
25
|
+
"codebase_root": "{{absolute_or_project_relative_codebase_root}}",
|
|
26
|
+
"domain": "{{backend_or_frontend}}",
|
|
27
|
+
"topic": "{{topic}}",
|
|
28
|
+
"path": "{{depth_spec_path}}",
|
|
29
|
+
"source_paths": ["{{relative_source_path}}"],
|
|
30
|
+
"source_fingerprint": "{{source_fingerprint}}"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"not_applicable_topics": [
|
|
34
|
+
{
|
|
35
|
+
"codebase": "{{codebase_name}}",
|
|
36
|
+
"domain": "{{backend_or_frontend}}",
|
|
37
|
+
"topic": "{{topic}}"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Directory Structure Specification
|
|
2
|
+
|
|
3
|
+
## Generation Metadata
|
|
4
|
+
|
|
5
|
+
- Run ID: `{{run_id}}`
|
|
6
|
+
- Generated at: {{generated_at}}
|
|
7
|
+
- Source fingerprint: `{{source_fingerprint}}`
|
|
8
|
+
- Regenerate when: matched source paths or navigation facts change.
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
This file constrains the `{{codebase_path}}` directory layout and source ownership.
|
|
13
|
+
|
|
14
|
+
## Source Summary
|
|
15
|
+
|
|
16
|
+
| Source | Type | Confidence |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
{{source_summary}}
|
|
19
|
+
|
|
20
|
+
## Stack-Specific Conventions
|
|
21
|
+
|
|
22
|
+
<!-- Extract from the matching `## Per-Layer Rules` subsection in the stack spec. -->
|
|
23
|
+
{{stack_layer_rules}}
|
|
24
|
+
|
|
25
|
+
## Observed Patterns
|
|
26
|
+
|
|
27
|
+
<!-- Extract from navigation scan, call-chain tracing, explicit rule files, and lessons. -->
|
|
28
|
+
{{observed_rules}}
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
| Rule | Strength | Source | Notes |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
{{rules_table}}
|
|
35
|
+
|
|
36
|
+
## Current Directory Layout
|
|
37
|
+
|
|
38
|
+
{{directory_tree}}
|
|
39
|
+
|
|
40
|
+
## Not Applicable
|
|
41
|
+
|
|
42
|
+
{{not_applicable}}
|
|
43
|
+
|
|
44
|
+
## Pending Confirmation
|
|
45
|
+
|
|
46
|
+
{{pending}}
|
package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/engine.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Engine Specification
|
|
2
|
+
|
|
3
|
+
## Generation Metadata
|
|
4
|
+
|
|
5
|
+
- Run ID: `{{run_id}}`
|
|
6
|
+
- Generated at: {{generated_at}}
|
|
7
|
+
- Source fingerprint: `{{source_fingerprint}}`
|
|
8
|
+
- Regenerate when: matched source paths or navigation facts change.
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
This file constrains execution engine modules in `{{scope_path}}`.
|
|
13
|
+
|
|
14
|
+
## Source Summary
|
|
15
|
+
|
|
16
|
+
| Source | Type | Confidence |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
{{source_summary}}
|
|
19
|
+
|
|
20
|
+
## Stack-Specific Conventions
|
|
21
|
+
|
|
22
|
+
<!-- Extract from the matching `## Per-Layer Rules` subsection in the stack spec. -->
|
|
23
|
+
{{stack_layer_rules}}
|
|
24
|
+
|
|
25
|
+
## Observed Patterns
|
|
26
|
+
|
|
27
|
+
<!-- Extract from navigation scan, call-chain tracing, explicit rule files, and lessons. -->
|
|
28
|
+
{{observed_rules}}
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
| Rule | Strength | Source | Notes |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
{{rules_table}}
|
|
35
|
+
|
|
36
|
+
## Current Project Shape
|
|
37
|
+
|
|
38
|
+
{{current_shape}}
|
|
39
|
+
|
|
40
|
+
## Not Applicable
|
|
41
|
+
|
|
42
|
+
{{not_applicable}}
|
|
43
|
+
|
|
44
|
+
## Pending Confirmation
|
|
45
|
+
|
|
46
|
+
{{pending}}
|
package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/errors.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Errors Specification
|
|
2
|
+
|
|
3
|
+
## Generation Metadata
|
|
4
|
+
|
|
5
|
+
- Run ID: `{{run_id}}`
|
|
6
|
+
- Generated at: {{generated_at}}
|
|
7
|
+
- Source fingerprint: `{{source_fingerprint}}`
|
|
8
|
+
- Regenerate when: matched source paths or navigation facts change.
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
This file constrains backend error handling and response mapping.
|
|
13
|
+
|
|
14
|
+
## Source Summary
|
|
15
|
+
|
|
16
|
+
| Source | Type | Confidence |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
{{source_summary}}
|
|
19
|
+
|
|
20
|
+
## Stack-Specific Conventions
|
|
21
|
+
|
|
22
|
+
<!-- Extract from the matching `## Per-Layer Rules` subsection in the stack spec. -->
|
|
23
|
+
{{stack_layer_rules}}
|
|
24
|
+
|
|
25
|
+
## Observed Patterns
|
|
26
|
+
|
|
27
|
+
<!-- Extract from navigation scan, call-chain tracing, explicit rule files, and lessons. -->
|
|
28
|
+
{{observed_rules}}
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
| Rule | Strength | Source | Notes |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
{{rules_table}}
|
|
35
|
+
|
|
36
|
+
## Current Project Shape
|
|
37
|
+
|
|
38
|
+
{{current_shape}}
|
|
39
|
+
|
|
40
|
+
## Not Applicable
|
|
41
|
+
|
|
42
|
+
{{not_applicable}}
|
|
43
|
+
|
|
44
|
+
## Pending Confirmation
|
|
45
|
+
|
|
46
|
+
{{pending}}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Locator Specification
|
|
2
|
+
|
|
3
|
+
## Generation Metadata
|
|
4
|
+
|
|
5
|
+
- Run ID: `{{run_id}}`
|
|
6
|
+
- Generated at: {{generated_at}}
|
|
7
|
+
- Source fingerprint: `{{source_fingerprint}}`
|
|
8
|
+
- Regenerate when: matched source paths or navigation facts change.
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
This file constrains UI locator scan/validate behavior.
|
|
13
|
+
|
|
14
|
+
## Source Summary
|
|
15
|
+
|
|
16
|
+
| Source | Type | Confidence |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
{{source_summary}}
|
|
19
|
+
|
|
20
|
+
## Stack-Specific Conventions
|
|
21
|
+
|
|
22
|
+
<!-- Extract from the matching `## Per-Layer Rules` subsection in the stack spec. -->
|
|
23
|
+
{{stack_layer_rules}}
|
|
24
|
+
|
|
25
|
+
## Observed Patterns
|
|
26
|
+
|
|
27
|
+
<!-- Extract from navigation scan, call-chain tracing, explicit rule files, and lessons. -->
|
|
28
|
+
{{observed_rules}}
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
| Rule | Strength | Source | Notes |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
{{rules_table}}
|
|
35
|
+
|
|
36
|
+
## Current Project Shape
|
|
37
|
+
|
|
38
|
+
{{current_shape}}
|
|
39
|
+
|
|
40
|
+
## Not Applicable
|
|
41
|
+
|
|
42
|
+
{{not_applicable}}
|
|
43
|
+
|
|
44
|
+
## Pending Confirmation
|
|
45
|
+
|
|
46
|
+
{{pending}}
|
package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/model.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Model Specification
|
|
2
|
+
|
|
3
|
+
## Generation Metadata
|
|
4
|
+
|
|
5
|
+
- Run ID: `{{run_id}}`
|
|
6
|
+
- Generated at: {{generated_at}}
|
|
7
|
+
- Source fingerprint: `{{source_fingerprint}}`
|
|
8
|
+
- Regenerate when: matched source paths or navigation facts change.
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
This file constrains ORM models and database setup in `{{scope_path}}`.
|
|
13
|
+
|
|
14
|
+
## Source Summary
|
|
15
|
+
|
|
16
|
+
| Source | Type | Confidence |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
{{source_summary}}
|
|
19
|
+
|
|
20
|
+
## Stack-Specific Conventions
|
|
21
|
+
|
|
22
|
+
<!-- Extract from the matching `## Per-Layer Rules` subsection in the stack spec. -->
|
|
23
|
+
{{stack_layer_rules}}
|
|
24
|
+
|
|
25
|
+
## Observed Patterns
|
|
26
|
+
|
|
27
|
+
<!-- Extract from navigation scan, call-chain tracing, explicit rule files, and lessons. -->
|
|
28
|
+
{{observed_rules}}
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
| Rule | Strength | Source | Notes |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
{{rules_table}}
|
|
35
|
+
|
|
36
|
+
## Current Project Shape
|
|
37
|
+
|
|
38
|
+
{{current_shape}}
|
|
39
|
+
|
|
40
|
+
## Not Applicable
|
|
41
|
+
|
|
42
|
+
{{not_applicable}}
|
|
43
|
+
|
|
44
|
+
## Pending Confirmation
|
|
45
|
+
|
|
46
|
+
{{pending}}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Repository / DAO Specification
|
|
2
|
+
|
|
3
|
+
## Generation Metadata
|
|
4
|
+
|
|
5
|
+
- Run ID: `{{run_id}}`
|
|
6
|
+
- Generated at: {{generated_at}}
|
|
7
|
+
- Source fingerprint: `{{source_fingerprint}}`
|
|
8
|
+
- Regenerate when: matched source paths or navigation facts change.
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
This file constrains repository, DAO, and persistence adapter modules in `{{scope_path}}`.
|
|
13
|
+
|
|
14
|
+
## Source Summary
|
|
15
|
+
|
|
16
|
+
| Source | Type | Confidence |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
{{source_summary}}
|
|
19
|
+
|
|
20
|
+
## Stack-Specific Conventions
|
|
21
|
+
|
|
22
|
+
<!-- Extract from the matching `## Per-Layer Rules` subsection in the stack spec. -->
|
|
23
|
+
{{stack_layer_rules}}
|
|
24
|
+
|
|
25
|
+
## Observed Patterns
|
|
26
|
+
|
|
27
|
+
<!-- Extract from navigation scan, call-chain tracing, explicit rule files, and lessons. -->
|
|
28
|
+
{{observed_rules}}
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
| Rule | Strength | Source | Notes |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
{{rules_table}}
|
|
35
|
+
|
|
36
|
+
## Current Project Shape
|
|
37
|
+
|
|
38
|
+
{{current_shape}}
|
|
39
|
+
|
|
40
|
+
## Not Applicable
|
|
41
|
+
|
|
42
|
+
{{not_applicable}}
|
|
43
|
+
|
|
44
|
+
## Pending Confirmation
|
|
45
|
+
|
|
46
|
+
{{pending}}
|
package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/router.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Router Specification
|
|
2
|
+
|
|
3
|
+
## Generation Metadata
|
|
4
|
+
|
|
5
|
+
- Run ID: `{{run_id}}`
|
|
6
|
+
- Generated at: {{generated_at}}
|
|
7
|
+
- Source fingerprint: `{{source_fingerprint}}`
|
|
8
|
+
- Regenerate when: matched source paths or navigation facts change.
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
This file constrains router modules in `{{scope_path}}`.
|
|
13
|
+
|
|
14
|
+
## Source Summary
|
|
15
|
+
|
|
16
|
+
| Source | Type | Confidence |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
{{source_summary}}
|
|
19
|
+
|
|
20
|
+
## Stack-Specific Conventions
|
|
21
|
+
|
|
22
|
+
<!-- Extract from the matching `## Per-Layer Rules` subsection in the stack spec. -->
|
|
23
|
+
{{stack_layer_rules}}
|
|
24
|
+
|
|
25
|
+
## Observed Patterns
|
|
26
|
+
|
|
27
|
+
<!-- Extract from navigation scan, call-chain tracing, explicit rule files, and lessons. -->
|
|
28
|
+
{{observed_rules}}
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
| Rule | Strength | Source | Notes |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
{{rules_table}}
|
|
35
|
+
|
|
36
|
+
## Current Project Shape
|
|
37
|
+
|
|
38
|
+
{{current_shape}}
|
|
39
|
+
|
|
40
|
+
## Not Applicable
|
|
41
|
+
|
|
42
|
+
{{not_applicable}}
|
|
43
|
+
|
|
44
|
+
## Pending Confirmation
|
|
45
|
+
|
|
46
|
+
{{pending}}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Scheduler Specification
|
|
2
|
+
|
|
3
|
+
## Generation Metadata
|
|
4
|
+
|
|
5
|
+
- Run ID: `{{run_id}}`
|
|
6
|
+
- Generated at: {{generated_at}}
|
|
7
|
+
- Source fingerprint: `{{source_fingerprint}}`
|
|
8
|
+
- Regenerate when: matched source paths or navigation facts change.
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
This file constrains scheduled task behavior in `{{scope_path}}`.
|
|
13
|
+
|
|
14
|
+
## Source Summary
|
|
15
|
+
|
|
16
|
+
| Source | Type | Confidence |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
{{source_summary}}
|
|
19
|
+
|
|
20
|
+
## Stack-Specific Conventions
|
|
21
|
+
|
|
22
|
+
<!-- Extract from the matching `## Per-Layer Rules` subsection in the stack spec. -->
|
|
23
|
+
{{stack_layer_rules}}
|
|
24
|
+
|
|
25
|
+
## Observed Patterns
|
|
26
|
+
|
|
27
|
+
<!-- Extract from navigation scan, call-chain tracing, explicit rule files, and lessons. -->
|
|
28
|
+
{{observed_rules}}
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
| Rule | Strength | Source | Notes |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
{{rules_table}}
|
|
35
|
+
|
|
36
|
+
## Current Project Shape
|
|
37
|
+
|
|
38
|
+
{{current_shape}}
|
|
39
|
+
|
|
40
|
+
## Not Applicable
|
|
41
|
+
|
|
42
|
+
{{not_applicable}}
|
|
43
|
+
|
|
44
|
+
## Pending Confirmation
|
|
45
|
+
|
|
46
|
+
{{pending}}
|
package/plugins/devflow-core/skills/workflow-project-context/assets/spec-templates/backend/schema.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Schema Specification
|
|
2
|
+
|
|
3
|
+
## Generation Metadata
|
|
4
|
+
|
|
5
|
+
- Run ID: `{{run_id}}`
|
|
6
|
+
- Generated at: {{generated_at}}
|
|
7
|
+
- Source fingerprint: `{{source_fingerprint}}`
|
|
8
|
+
- Regenerate when: matched source paths or navigation facts change.
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
This file constrains Pydantic/{{type_label}} schemas in `{{scope_path}}`.
|
|
13
|
+
|
|
14
|
+
## Source Summary
|
|
15
|
+
|
|
16
|
+
| Source | Type | Confidence |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
{{source_summary}}
|
|
19
|
+
|
|
20
|
+
## Stack-Specific Conventions
|
|
21
|
+
|
|
22
|
+
<!-- Extract from the matching `## Per-Layer Rules` subsection in the stack spec. -->
|
|
23
|
+
{{stack_layer_rules}}
|
|
24
|
+
|
|
25
|
+
## Observed Patterns
|
|
26
|
+
|
|
27
|
+
<!-- Extract from navigation scan, call-chain tracing, explicit rule files, and lessons. -->
|
|
28
|
+
{{observed_rules}}
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
| Rule | Strength | Source | Notes |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
{{rules_table}}
|
|
35
|
+
|
|
36
|
+
## Current Project Shape
|
|
37
|
+
|
|
38
|
+
{{current_shape}}
|
|
39
|
+
|
|
40
|
+
## Not Applicable
|
|
41
|
+
|
|
42
|
+
{{not_applicable}}
|
|
43
|
+
|
|
44
|
+
## Pending Confirmation
|
|
45
|
+
|
|
46
|
+
{{pending}}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Service Specification
|
|
2
|
+
|
|
3
|
+
## Generation Metadata
|
|
4
|
+
|
|
5
|
+
- Run ID: `{{run_id}}`
|
|
6
|
+
- Generated at: {{generated_at}}
|
|
7
|
+
- Source fingerprint: `{{source_fingerprint}}`
|
|
8
|
+
- Regenerate when: matched source paths or navigation facts change.
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
This file constrains service modules in `{{scope_path}}`.
|
|
13
|
+
|
|
14
|
+
## Source Summary
|
|
15
|
+
|
|
16
|
+
| Source | Type | Confidence |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
{{source_summary}}
|
|
19
|
+
|
|
20
|
+
## Stack-Specific Conventions
|
|
21
|
+
|
|
22
|
+
<!-- Extract from the matching `## Per-Layer Rules` subsection in the stack spec. -->
|
|
23
|
+
{{stack_layer_rules}}
|
|
24
|
+
|
|
25
|
+
## Observed Patterns
|
|
26
|
+
|
|
27
|
+
<!-- Extract from navigation scan, call-chain tracing, explicit rule files, and lessons. -->
|
|
28
|
+
{{observed_rules}}
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
| Rule | Strength | Source | Notes |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
{{rules_table}}
|
|
35
|
+
|
|
36
|
+
## Current Project Shape
|
|
37
|
+
|
|
38
|
+
{{current_shape}}
|
|
39
|
+
|
|
40
|
+
## Not Applicable
|
|
41
|
+
|
|
42
|
+
{{not_applicable}}
|
|
43
|
+
|
|
44
|
+
## Pending Confirmation
|
|
45
|
+
|
|
46
|
+
{{pending}}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Testing Specification
|
|
2
|
+
|
|
3
|
+
## Generation Metadata
|
|
4
|
+
|
|
5
|
+
- Run ID: `{{run_id}}`
|
|
6
|
+
- Generated at: {{generated_at}}
|
|
7
|
+
- Source fingerprint: `{{source_fingerprint}}`
|
|
8
|
+
- Regenerate when: matched source paths or navigation facts change.
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
This file constrains backend verification for changes under `{{scope_path}}`.
|
|
13
|
+
|
|
14
|
+
## Source Summary
|
|
15
|
+
|
|
16
|
+
| Source | Type | Confidence |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
{{source_summary}}
|
|
19
|
+
|
|
20
|
+
## Stack-Specific Conventions
|
|
21
|
+
|
|
22
|
+
<!-- Extract from the matching `## Per-Layer Rules` subsection in the stack spec. -->
|
|
23
|
+
{{stack_layer_rules}}
|
|
24
|
+
|
|
25
|
+
## Observed Patterns
|
|
26
|
+
|
|
27
|
+
<!-- Extract from navigation scan, call-chain tracing, explicit rule files, and lessons. -->
|
|
28
|
+
{{observed_rules}}
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
| Rule | Strength | Source | Notes |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
{{rules_table}}
|
|
35
|
+
|
|
36
|
+
## Current Project Shape
|
|
37
|
+
|
|
38
|
+
{{current_shape}}
|
|
39
|
+
|
|
40
|
+
## Not Applicable
|
|
41
|
+
|
|
42
|
+
{{not_applicable}}
|
|
43
|
+
|
|
44
|
+
## Pending Confirmation
|
|
45
|
+
|
|
46
|
+
{{pending}}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# API Client Specification
|
|
2
|
+
|
|
3
|
+
## Generation Metadata
|
|
4
|
+
|
|
5
|
+
- Run ID: `{{run_id}}`
|
|
6
|
+
- Generated at: {{generated_at}}
|
|
7
|
+
- Source fingerprint: `{{source_fingerprint}}`
|
|
8
|
+
- Regenerate when: matched source paths or navigation facts change.
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
This file constrains API communication in the frontend codebase.
|
|
13
|
+
|
|
14
|
+
## Source Summary
|
|
15
|
+
|
|
16
|
+
| Source | Type | Confidence |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
{{source_summary}}
|
|
19
|
+
|
|
20
|
+
## Stack-Specific Conventions
|
|
21
|
+
|
|
22
|
+
<!-- Extract from the matching `## Per-Layer Rules` subsection in the stack spec. -->
|
|
23
|
+
{{stack_layer_rules}}
|
|
24
|
+
|
|
25
|
+
## Observed Patterns
|
|
26
|
+
|
|
27
|
+
<!-- Extract from navigation scan, call-chain tracing, explicit rule files, and lessons. -->
|
|
28
|
+
{{observed_rules}}
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
| Rule | Strength | Source | Notes |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
{{rules_table}}
|
|
35
|
+
|
|
36
|
+
## Current Project Shape
|
|
37
|
+
|
|
38
|
+
{{current_shape}}
|
|
39
|
+
|
|
40
|
+
## Not Applicable
|
|
41
|
+
|
|
42
|
+
{{not_applicable}}
|
|
43
|
+
|
|
44
|
+
## Pending Confirmation
|
|
45
|
+
|
|
46
|
+
{{pending}}
|