universal-dev-standards 4.2.0 → 5.0.0-beta.10
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 -3
- package/bin/uds.js +165 -5
- package/bundled/core/acceptance-test-driven-development.md +19 -721
- package/bundled/core/accessibility-standards.md +862 -0
- package/bundled/core/ai-agreement-standards.md +95 -0
- package/bundled/core/ai-friendly-architecture.md +2 -0
- package/bundled/core/ai-instruction-standards.md +2 -0
- package/bundled/core/anti-hallucination.md +90 -637
- package/bundled/core/behavior-driven-development.md +20 -735
- package/bundled/core/changelog-standards.md +4 -0
- package/bundled/core/checkin-standards.md +21 -4
- package/bundled/core/code-review-checklist.md +3 -0
- package/bundled/core/commit-message-guide.md +14 -3
- package/bundled/core/deployment-standards.md +296 -0
- package/bundled/core/developer-memory.md +568 -0
- package/bundled/core/documentation-structure.md +114 -18
- package/bundled/core/documentation-writing-standards.md +272 -2
- package/bundled/core/error-code-standards.md +3 -0
- package/bundled/core/forward-derivation-standards.md +134 -8
- package/bundled/core/git-workflow.md +72 -686
- package/bundled/core/guides/anti-hallucination-guide.md +517 -0
- package/bundled/core/guides/git-workflow-guide.md +954 -0
- package/bundled/core/guides/performance-guide.md +508 -0
- package/bundled/core/guides/refactoring-guide.md +608 -0
- package/bundled/core/guides/security-guide.md +485 -0
- package/bundled/core/logging-standards.md +337 -2
- package/bundled/core/performance-standards.md +231 -0
- package/bundled/core/project-context-memory.md +180 -0
- package/bundled/core/project-structure.md +315 -2
- package/bundled/core/refactoring-standards.md +81 -761
- package/bundled/core/requirement-engineering.md +39 -0
- package/bundled/core/reverse-engineering-standards.md +6 -4
- package/bundled/core/security-standards.md +244 -0
- package/bundled/core/spec-driven-development.md +20 -319
- package/bundled/core/test-completeness-dimensions.md +213 -11
- package/bundled/core/test-driven-development.md +22 -978
- package/bundled/core/testing-standards.md +222 -2903
- package/bundled/core/versioning.md +16 -55
- package/bundled/core/virtual-organization-standards.md +85 -0
- package/bundled/locales/README.md +4 -4
- package/bundled/locales/zh-CN/CHANGELOG.md +18 -18
- package/bundled/locales/zh-CN/CLAUDE.md +3 -3
- package/bundled/locales/zh-CN/MAINTENANCE.md +7 -7
- package/bundled/locales/zh-CN/README.md +2 -2
- package/bundled/locales/zh-CN/STANDARDS-MAPPING.md +1 -1
- package/bundled/locales/zh-CN/adoption/ADOPTION-GUIDE.md +3 -3
- package/bundled/locales/zh-CN/adoption/DAILY-WORKFLOW-GUIDE.md +66 -7
- package/bundled/locales/zh-CN/adoption/STATIC-DYNAMIC-GUIDE.md +22 -22
- package/bundled/locales/zh-CN/adoption/checklists/enterprise.md +5 -5
- package/bundled/locales/zh-CN/adoption/checklists/minimal.md +4 -4
- package/bundled/locales/zh-CN/adoption/checklists/recommended.md +5 -5
- package/bundled/locales/zh-CN/ai/MAINTENANCE.md +13 -13
- package/bundled/locales/zh-CN/core/ai-instruction-standards.md +1 -1
- package/bundled/locales/zh-CN/core/anti-hallucination.md +39 -3
- package/bundled/locales/zh-CN/core/checkin-standards.md +18 -5
- package/bundled/locales/zh-CN/core/commit-message-guide.md +1 -1
- package/bundled/locales/zh-CN/core/developer-memory.md +576 -0
- package/bundled/locales/zh-CN/core/documentation-structure.md +43 -5
- package/bundled/locales/zh-CN/core/documentation-writing-standards.md +146 -5
- package/bundled/locales/zh-CN/core/git-workflow.md +179 -4
- package/bundled/locales/zh-CN/core/logging-standards.md +177 -4
- package/bundled/locales/zh-CN/core/project-structure.md +117 -5
- package/bundled/locales/zh-CN/core/refactoring-standards.md +3 -3
- package/bundled/locales/zh-CN/core/reverse-engineering-standards.md +6 -6
- package/bundled/locales/zh-CN/core/spec-driven-development.md +516 -14
- package/bundled/locales/zh-CN/core/test-completeness-dimensions.md +155 -24
- package/bundled/locales/zh-CN/core/test-driven-development.md +71 -20
- package/bundled/locales/zh-CN/core/testing-standards.md +4 -4
- package/bundled/locales/zh-CN/core/versioning.md +1 -1
- package/bundled/locales/zh-CN/docs/AI-AGENT-ROADMAP.md +90 -51
- package/bundled/locales/zh-CN/docs/CHEATSHEET.md +184 -0
- package/bundled/locales/zh-CN/docs/CLI-FLOW.md +239 -0
- package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +320 -0
- package/bundled/locales/zh-CN/docs/OPERATION-WORKFLOW.md +43 -43
- package/bundled/locales/zh-CN/docs/STANDARDS-REFERENCE.md +440 -0
- package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +1 -1
- package/bundled/locales/zh-CN/docs/WINDOWS-GUIDE.md +1 -1
- package/bundled/locales/zh-CN/integrations/codex/README.md +3 -3
- package/bundled/locales/zh-CN/integrations/gemini-cli/README.md +3 -3
- package/bundled/locales/zh-CN/integrations/github-copilot/README.md +5 -5
- package/bundled/locales/zh-CN/integrations/github-copilot/copilot-instructions.md +9 -9
- package/bundled/locales/zh-CN/integrations/github-copilot/skills-mapping.md +18 -6
- package/bundled/locales/zh-CN/integrations/google-antigravity/README.md +2 -2
- package/bundled/locales/zh-CN/integrations/opencode/README.md +3 -3
- package/bundled/locales/zh-CN/integrations/opencode/skills-mapping.md +22 -10
- package/bundled/locales/zh-CN/integrations/openspec/README.md +1 -1
- package/bundled/locales/zh-CN/integrations/spec-kit/AGENTS.md +3 -3
- package/bundled/locales/zh-CN/integrations/spec-kit/README.md +1 -1
- package/bundled/locales/zh-CN/options/commit-message/bilingual.md +1 -1
- package/bundled/locales/zh-CN/options/commit-message/english.md +1 -1
- package/bundled/locales/zh-CN/options/commit-message/traditional-chinese.md +1 -1
- package/bundled/locales/zh-CN/options/git-workflow/gitflow.md +1 -1
- package/bundled/locales/zh-CN/options/git-workflow/github-flow.md +1 -1
- package/bundled/locales/zh-CN/options/git-workflow/merge-commit.md +1 -1
- package/bundled/locales/zh-CN/options/git-workflow/rebase-ff.md +1 -1
- package/bundled/locales/zh-CN/options/git-workflow/squash-merge.md +1 -1
- package/bundled/locales/zh-CN/options/git-workflow/trunk-based.md +1 -1
- package/bundled/locales/zh-CN/options/project-structure/dotnet.md +1 -1
- package/bundled/locales/zh-CN/options/project-structure/go.md +1 -1
- package/bundled/locales/zh-CN/options/project-structure/java.md +1 -1
- package/bundled/locales/zh-CN/options/project-structure/nodejs.md +1 -1
- package/bundled/locales/zh-CN/options/project-structure/python.md +1 -1
- package/bundled/locales/zh-CN/options/testing/e2e-testing.md +1 -1
- package/bundled/locales/zh-CN/options/testing/integration-testing.md +1 -1
- package/bundled/locales/zh-CN/options/testing/system-testing.md +1 -1
- package/bundled/locales/zh-CN/options/testing/unit-testing.md +1 -1
- package/bundled/locales/zh-CN/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +2 -2
- package/bundled/locales/zh-CN/skills/README.md +131 -81
- package/bundled/locales/zh-CN/skills/agents/README.md +281 -0
- package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +10 -10
- package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +8 -8
- package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +8 -8
- package/bundled/locales/zh-CN/skills/ai-friendly-architecture/SKILL.md +221 -0
- package/bundled/locales/zh-CN/skills/ai-instruction-standards/SKILL.md +214 -0
- package/bundled/locales/zh-CN/skills/atdd-assistant/SKILL.md +71 -0
- package/bundled/locales/zh-CN/skills/atdd-assistant/acceptance-criteria-guide.md +428 -0
- package/bundled/locales/zh-CN/skills/atdd-assistant/atdd-workflow.md +484 -0
- package/bundled/locales/zh-CN/skills/atdd-assistant/guide.md +368 -0
- package/bundled/locales/zh-CN/skills/bdd-assistant/SKILL.md +68 -0
- package/bundled/locales/zh-CN/skills/bdd-assistant/bdd-workflow.md +406 -0
- package/bundled/locales/zh-CN/skills/bdd-assistant/gherkin-guide.md +454 -0
- package/bundled/locales/zh-CN/skills/bdd-assistant/guide.md +324 -0
- package/bundled/locales/zh-CN/skills/changelog-guide/SKILL.md +64 -0
- package/bundled/locales/zh-CN/skills/{claude-code/changelog-guide/SKILL.md → changelog-guide/guide.md} +6 -7
- package/bundled/locales/zh-CN/skills/checkin-assistant/SKILL.md +56 -0
- package/bundled/locales/zh-CN/skills/{claude-code/checkin-assistant/SKILL.md → checkin-assistant/guide.md} +6 -7
- package/bundled/locales/zh-CN/skills/code-review-assistant/SKILL.md +56 -0
- package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +4 -4
- package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant/SKILL.md → code-review-assistant/guide.md} +5 -6
- package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +4 -4
- package/bundled/locales/zh-CN/skills/{claude-code/commands → commands}/bdd.md +2 -2
- package/bundled/locales/zh-CN/skills/{claude-code/commands → commands}/methodology.md +3 -3
- package/bundled/locales/zh-CN/skills/{claude-code/commands → commands}/refactor.md +3 -3
- package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +61 -0
- package/bundled/locales/zh-CN/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +4 -4
- package/bundled/locales/zh-CN/skills/{claude-code/commit-standards/SKILL.md → commit-standards/guide.md} +5 -6
- package/bundled/locales/zh-CN/skills/{claude-code/commit-standards → commit-standards}/language-options.md +3 -3
- package/bundled/locales/zh-CN/skills/docs-generator/SKILL.md +59 -0
- package/bundled/locales/zh-CN/skills/docs-generator/guide.md +262 -0
- package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +7 -8
- package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +4 -4
- package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +3 -3
- package/bundled/locales/zh-CN/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +6 -6
- package/bundled/locales/zh-CN/skills/forward-derivation/SKILL.md +62 -0
- package/bundled/locales/zh-CN/skills/forward-derivation/guide.md +130 -0
- package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +6 -6
- package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +3 -3
- package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +4 -4
- package/bundled/locales/zh-CN/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +6 -6
- package/bundled/locales/zh-CN/skills/methodology-system/SKILL.md +78 -0
- package/bundled/locales/zh-CN/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +2 -2
- package/bundled/locales/zh-CN/skills/{claude-code/methodology-system/SKILL.md → methodology-system/guide.md} +2 -2
- package/bundled/locales/zh-CN/skills/{claude-code/methodology-system → methodology-system}/runtime.md +3 -3
- package/bundled/locales/zh-CN/skills/project-discovery/SKILL.md +66 -0
- package/bundled/locales/zh-CN/skills/project-discovery/guide.md +371 -0
- package/bundled/locales/zh-CN/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +4 -4
- package/bundled/locales/zh-CN/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +1 -1
- package/bundled/locales/zh-CN/skills/refactoring-assistant/SKILL.md +67 -0
- package/bundled/locales/zh-CN/skills/{claude-code/refactoring-assistant/SKILL.md → refactoring-assistant/guide.md} +7 -8
- package/bundled/locales/zh-CN/skills/release-standards/SKILL.md +64 -0
- package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/changelog-format.md +3 -3
- package/bundled/locales/zh-CN/skills/{claude-code/release-standards/SKILL.md → release-standards/guide.md} +5 -6
- package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/release-workflow.md +7 -7
- package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +3 -3
- package/bundled/locales/zh-CN/skills/requirement-assistant/SKILL.md +67 -0
- package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant/SKILL.md → requirement-assistant/guide.md} +4 -5
- package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +3 -3
- package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +3 -3
- package/bundled/locales/zh-CN/skills/reverse-engineer/SKILL.md +67 -0
- package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +2 -2
- package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer/SKILL.md → reverse-engineer/guide.md} +17 -18
- package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +2 -2
- package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +3 -3
- package/bundled/locales/zh-CN/skills/spec-driven-dev/SKILL.md +75 -0
- package/bundled/locales/zh-CN/skills/{claude-code/spec-driven-dev/SKILL.md → spec-driven-dev/guide.md} +10 -11
- package/bundled/locales/zh-CN/skills/tdd-assistant/SKILL.md +66 -0
- package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant/SKILL.md → tdd-assistant/guide.md} +12 -16
- package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
- package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +3 -3
- package/bundled/locales/zh-CN/skills/test-coverage-assistant/SKILL.md +65 -0
- package/bundled/locales/zh-CN/skills/test-coverage-assistant/guide.md +284 -0
- package/bundled/locales/zh-CN/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +8 -8
- package/bundled/locales/zh-CN/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +4 -4
- package/bundled/locales/zh-CN/skills/{cline → tools/cline}/README.md +1 -1
- package/bundled/locales/zh-CN/skills/{copilot → tools/copilot}/README.md +1 -1
- package/bundled/locales/zh-CN/skills/{copilot → tools/copilot}/copilot-instructions.md +1 -1
- package/bundled/locales/zh-CN/skills/{cursor → tools/cursor}/README.md +1 -1
- package/bundled/locales/zh-CN/skills/{windsurf → tools/windsurf}/README.md +1 -1
- package/bundled/locales/zh-TW/CHANGELOG.md +16 -16
- package/bundled/locales/zh-TW/CLAUDE.md +3 -3
- package/bundled/locales/zh-TW/MAINTENANCE.md +7 -7
- package/bundled/locales/zh-TW/README.md +13 -7
- package/bundled/locales/zh-TW/STANDARDS-MAPPING.md +1 -1
- package/bundled/locales/zh-TW/adoption/ADOPTION-GUIDE.md +4 -4
- package/bundled/locales/zh-TW/adoption/DAILY-WORKFLOW-GUIDE.md +66 -7
- package/bundled/locales/zh-TW/adoption/STATIC-DYNAMIC-GUIDE.md +22 -22
- package/bundled/locales/zh-TW/adoption/checklists/enterprise.md +5 -5
- package/bundled/locales/zh-TW/adoption/checklists/minimal.md +4 -4
- package/bundled/locales/zh-TW/adoption/checklists/recommended.md +5 -5
- package/bundled/locales/zh-TW/ai/MAINTENANCE.md +13 -13
- package/bundled/locales/zh-TW/ai/standards/anti-hallucination.ai.yaml +3 -2
- package/bundled/locales/zh-TW/ai/standards/git-workflow.ai.yaml +4 -3
- package/bundled/locales/zh-TW/ai/standards/spec-driven-development.ai.yaml +3 -3
- package/bundled/locales/zh-TW/ai/standards/testing.ai.yaml +1 -0
- package/bundled/locales/zh-TW/core/ai-instruction-standards.md +1 -1
- package/bundled/locales/zh-TW/core/anti-hallucination.md +38 -701
- package/bundled/locales/zh-TW/core/changelog-standards.md +1 -1
- package/bundled/locales/zh-TW/core/checkin-standards.md +18 -5
- package/bundled/locales/zh-TW/core/code-review-checklist.md +1 -1
- package/bundled/locales/zh-TW/core/commit-message-guide.md +1 -1
- package/bundled/locales/zh-TW/core/developer-memory.md +576 -0
- package/bundled/locales/zh-TW/core/documentation-structure.md +115 -22
- package/bundled/locales/zh-TW/core/documentation-writing-standards.md +126 -5
- package/bundled/locales/zh-TW/core/forward-derivation-standards.md +2 -2
- package/bundled/locales/zh-TW/core/git-workflow.md +38 -812
- package/bundled/locales/zh-TW/core/guides/anti-hallucination-guide.md +779 -0
- package/bundled/locales/zh-TW/core/guides/git-workflow-guide.md +1016 -0
- package/bundled/locales/zh-TW/core/guides/refactoring-guide.md +864 -0
- package/bundled/locales/zh-TW/core/guides/testing-guide.md +2280 -0
- package/bundled/locales/zh-TW/core/logging-standards.md +159 -4
- package/bundled/locales/zh-TW/core/project-structure.md +102 -9
- package/bundled/locales/zh-TW/core/refactoring-standards.md +37 -823
- package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +6 -6
- package/bundled/locales/zh-TW/core/spec-driven-development.md +17 -268
- package/bundled/locales/zh-TW/core/test-completeness-dimensions.md +128 -14
- package/bundled/locales/zh-TW/core/test-driven-development.md +20 -983
- package/bundled/locales/zh-TW/core/testing-standards.md +120 -2105
- package/bundled/locales/zh-TW/core/versioning.md +13 -55
- package/bundled/locales/zh-TW/docs/AI-AGENT-ROADMAP.md +90 -51
- package/bundled/locales/zh-TW/docs/CHEATSHEET.md +184 -0
- package/bundled/locales/zh-TW/docs/CLI-FLOW.md +239 -0
- package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +320 -0
- package/bundled/locales/zh-TW/docs/MIGRATION-V5.md +71 -0
- package/bundled/locales/zh-TW/docs/OPERATION-WORKFLOW.md +42 -42
- package/bundled/locales/zh-TW/docs/STANDARDS-REFERENCE.md +440 -0
- package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +1 -1
- package/bundled/locales/zh-TW/docs/WINDOWS-GUIDE.md +1 -1
- package/bundled/locales/zh-TW/integrations/claude-code/README.md +44 -0
- package/bundled/locales/zh-TW/integrations/github-copilot/copilot-instructions.md +3 -3
- package/bundled/locales/zh-TW/integrations/github-copilot/skills-mapping.md +18 -6
- package/bundled/locales/zh-TW/integrations/opencode/skills-mapping.md +22 -10
- package/bundled/locales/zh-TW/methodologies/guides/sdd-guide.md +338 -0
- package/bundled/locales/zh-TW/methodologies/guides/tdd-guide.md +1055 -0
- package/bundled/locales/zh-TW/options/commit-message/bilingual.md +1 -1
- package/bundled/locales/zh-TW/options/commit-message/english.md +1 -1
- package/bundled/locales/zh-TW/options/commit-message/traditional-chinese.md +1 -1
- package/bundled/locales/zh-TW/options/git-workflow/gitflow.md +1 -1
- package/bundled/locales/zh-TW/options/git-workflow/github-flow.md +1 -1
- package/bundled/locales/zh-TW/options/git-workflow/merge-commit.md +1 -1
- package/bundled/locales/zh-TW/options/git-workflow/rebase-ff.md +1 -1
- package/bundled/locales/zh-TW/options/git-workflow/squash-merge.md +1 -1
- package/bundled/locales/zh-TW/options/git-workflow/trunk-based.md +1 -1
- package/bundled/locales/zh-TW/options/project-structure/dotnet.md +1 -1
- package/bundled/locales/zh-TW/options/project-structure/go.md +1 -1
- package/bundled/locales/zh-TW/options/project-structure/java.md +1 -1
- package/bundled/locales/zh-TW/options/project-structure/nodejs.md +1 -1
- package/bundled/locales/zh-TW/options/project-structure/python.md +1 -1
- package/bundled/locales/zh-TW/options/testing/e2e-testing.md +1 -1
- package/bundled/locales/zh-TW/options/testing/integration-testing.md +1 -1
- package/bundled/locales/zh-TW/options/testing/system-testing.md +1 -1
- package/bundled/locales/zh-TW/options/testing/unit-testing.md +1 -1
- package/bundled/locales/zh-TW/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +2 -2
- package/bundled/locales/zh-TW/skills/README.md +131 -79
- package/bundled/locales/zh-TW/skills/agents/README.md +281 -0
- package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +7 -7
- package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +8 -8
- package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +8 -8
- package/bundled/locales/zh-TW/skills/ai-friendly-architecture/SKILL.md +221 -0
- package/bundled/locales/zh-TW/skills/ai-instruction-standards/SKILL.md +214 -0
- package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +71 -0
- package/bundled/locales/zh-TW/skills/atdd-assistant/acceptance-criteria-guide.md +428 -0
- package/bundled/locales/zh-TW/skills/atdd-assistant/atdd-workflow.md +484 -0
- package/bundled/locales/zh-TW/skills/atdd-assistant/guide.md +368 -0
- package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +68 -0
- package/bundled/locales/zh-TW/skills/bdd-assistant/bdd-workflow.md +406 -0
- package/bundled/locales/zh-TW/skills/bdd-assistant/gherkin-guide.md +454 -0
- package/bundled/locales/zh-TW/skills/bdd-assistant/guide.md +324 -0
- package/bundled/locales/zh-TW/skills/changelog-guide/SKILL.md +64 -0
- package/bundled/locales/zh-TW/skills/{claude-code/changelog-guide/SKILL.md → changelog-guide/guide.md} +6 -7
- package/bundled/locales/zh-TW/skills/checkin-assistant/SKILL.md +56 -0
- package/bundled/locales/zh-TW/skills/{claude-code/checkin-assistant/SKILL.md → checkin-assistant/guide.md} +6 -7
- package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +56 -0
- package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +4 -4
- package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant/SKILL.md → code-review-assistant/guide.md} +2 -3
- package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +4 -4
- package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/bdd.md +2 -2
- package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/methodology.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/refactor.md +3 -3
- package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +61 -0
- package/bundled/locales/zh-TW/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +4 -4
- package/bundled/locales/zh-TW/skills/{claude-code/commit-standards/SKILL.md → commit-standards/guide.md} +5 -6
- package/bundled/locales/zh-TW/skills/{claude-code/commit-standards → commit-standards}/language-options.md +3 -3
- package/bundled/locales/zh-TW/skills/docs-generator/SKILL.md +59 -0
- package/bundled/locales/zh-TW/skills/docs-generator/guide.md +262 -0
- package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +7 -8
- package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +4 -4
- package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +6 -6
- package/bundled/locales/zh-TW/skills/forward-derivation/SKILL.md +62 -0
- package/bundled/locales/zh-TW/skills/{claude-code/forward-derivation/SKILL.md → forward-derivation/guide.md} +24 -19
- package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +4 -4
- package/bundled/locales/zh-TW/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +6 -6
- package/bundled/locales/zh-TW/skills/methodology-system/SKILL.md +78 -0
- package/bundled/locales/zh-TW/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +2 -2
- package/bundled/locales/zh-TW/skills/{claude-code/methodology-system/SKILL.md → methodology-system/guide.md} +2 -2
- package/bundled/locales/zh-TW/skills/{claude-code/methodology-system → methodology-system}/runtime.md +3 -3
- package/bundled/locales/zh-TW/skills/project-discovery/SKILL.md +66 -0
- package/bundled/locales/zh-TW/skills/project-discovery/guide.md +371 -0
- package/bundled/locales/zh-TW/skills/project-discovery/workflow.md +574 -0
- package/bundled/locales/zh-TW/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +4 -4
- package/bundled/locales/zh-TW/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +1 -1
- package/bundled/locales/zh-TW/skills/refactoring-assistant/SKILL.md +67 -0
- package/bundled/locales/zh-TW/skills/{claude-code/refactoring-assistant/SKILL.md → refactoring-assistant/guide.md} +7 -8
- package/bundled/locales/zh-TW/skills/release-standards/SKILL.md +64 -0
- package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/changelog-format.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/release-standards/SKILL.md → release-standards/guide.md} +2 -3
- package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/release-workflow.md +60 -28
- package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +3 -3
- package/bundled/locales/zh-TW/skills/requirement-assistant/SKILL.md +67 -0
- package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant/SKILL.md → requirement-assistant/guide.md} +2 -3
- package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +3 -3
- package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +67 -0
- package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +2 -2
- package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer/SKILL.md → reverse-engineer/guide.md} +17 -18
- package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +2 -2
- package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +3 -3
- package/bundled/locales/zh-TW/skills/spec-driven-dev/SKILL.md +75 -0
- package/bundled/locales/zh-TW/skills/{claude-code/spec-driven-dev/SKILL.md → spec-driven-dev/guide.md} +9 -10
- package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +66 -0
- package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant/SKILL.md → tdd-assistant/guide.md} +9 -10
- package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +3 -3
- package/bundled/locales/zh-TW/skills/test-coverage-assistant/SKILL.md +65 -0
- package/bundled/locales/zh-TW/skills/{claude-code/test-coverage-assistant/SKILL.md → test-coverage-assistant/guide.md} +27 -24
- package/bundled/locales/zh-TW/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +6 -6
- package/bundled/locales/zh-TW/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +4 -4
- package/bundled/locales/zh-TW/skills/{cline → tools/cline}/README.md +1 -1
- package/bundled/locales/zh-TW/skills/{copilot → tools/copilot}/README.md +1 -1
- package/bundled/locales/zh-TW/skills/{copilot → tools/copilot}/copilot-instructions.md +1 -1
- package/bundled/locales/zh-TW/skills/{cursor → tools/cursor}/README.md +1 -1
- package/bundled/locales/zh-TW/skills/{windsurf → tools/windsurf}/README.md +1 -1
- package/bundled/skills/INTEGRATION-GUIDE.md +210 -0
- package/bundled/skills/README.md +95 -0
- package/bundled/skills/_shared/README.md +60 -0
- package/bundled/skills/{claude-code/agents → agents}/README.md +2 -2
- package/bundled/skills/{claude-code/agents → agents}/code-architect.md +1 -1
- package/bundled/skills/{claude-code/agents → agents}/doc-writer.md +1 -1
- package/bundled/skills/{claude-code/agents → agents}/reviewer.md +1 -1
- package/bundled/skills/{claude-code/agents → agents}/spec-analyst.md +1 -1
- package/bundled/skills/{claude-code/agents → agents}/test-specialist.md +1 -1
- package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +28 -5
- package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +24 -5
- package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +31 -6
- package/bundled/skills/ai-friendly-architecture/SKILL.md +216 -0
- package/bundled/skills/ai-instruction-standards/SKILL.md +209 -0
- package/bundled/skills/atdd-assistant/SKILL.md +74 -0
- package/bundled/skills/{claude-code/atdd-assistant → atdd-assistant}/acceptance-criteria-guide.md +1 -1
- package/bundled/skills/{claude-code/atdd-assistant → atdd-assistant}/atdd-workflow.md +1 -1
- package/bundled/skills/{claude-code/atdd-assistant/SKILL.md → atdd-assistant/guide.md} +11 -11
- package/bundled/skills/bdd-assistant/SKILL.md +70 -0
- package/bundled/skills/{claude-code/bdd-assistant → bdd-assistant}/bdd-workflow.md +1 -1
- package/bundled/skills/{claude-code/bdd-assistant → bdd-assistant}/gherkin-guide.md +1 -1
- package/bundled/skills/{claude-code/bdd-assistant/SKILL.md → bdd-assistant/guide.md} +11 -11
- package/bundled/skills/changelog-guide/SKILL.md +66 -0
- package/bundled/skills/{claude-code/changelog-guide/SKILL.md → changelog-guide/guide.md} +8 -6
- package/bundled/skills/checkin-assistant/SKILL.md +52 -0
- package/bundled/skills/{claude-code/checkin-assistant/SKILL.md → checkin-assistant/guide.md} +6 -6
- package/bundled/skills/code-review-assistant/SKILL.md +53 -0
- package/bundled/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +3 -3
- package/bundled/skills/{claude-code/code-review-assistant/SKILL.md → code-review-assistant/guide.md} +7 -5
- package/bundled/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +3 -3
- package/bundled/skills/commands/COMMAND-FAMILY-OVERVIEW.md +290 -0
- package/bundled/skills/{claude-code/commands → commands}/README.md +13 -3
- package/bundled/skills/{claude-code/commands → commands}/atdd.md +3 -3
- package/bundled/skills/{claude-code/commands → commands}/bdd.md +2 -2
- package/bundled/skills/commands/changelog.md +58 -0
- package/bundled/skills/{claude-code/commands → commands}/check.md +1 -1
- package/bundled/skills/commands/checkin.md +53 -0
- package/bundled/skills/{claude-code/commands → commands}/commit.md +3 -3
- package/bundled/skills/{claude-code/commands → commands}/config.md +1 -1
- package/bundled/skills/{claude-code/commands → commands}/coverage.md +5 -4
- package/bundled/skills/commands/derive-all.md +53 -0
- package/bundled/skills/commands/derive-atdd.md +49 -0
- package/bundled/skills/commands/derive-bdd.md +47 -0
- package/bundled/skills/commands/derive-tdd.md +48 -0
- package/bundled/skills/commands/derive.md +72 -0
- package/bundled/skills/commands/discover.md +80 -0
- package/bundled/skills/commands/docgen.md +61 -0
- package/bundled/skills/commands/docs.md +59 -0
- package/bundled/skills/commands/guide.md +44 -0
- package/bundled/skills/{claude-code/commands → commands}/init.md +2 -2
- package/bundled/skills/{claude-code/commands → commands}/methodology.md +32 -16
- package/bundled/skills/{claude-code/commands → commands}/refactor.md +2 -2
- package/bundled/skills/commands/release.md +56 -0
- package/bundled/skills/{claude-code/commands → commands}/requirement.md +3 -3
- package/bundled/skills/commands/reverse-bdd.md +47 -0
- package/bundled/skills/commands/reverse-sdd.md +51 -0
- package/bundled/skills/commands/reverse-tdd.md +51 -0
- package/bundled/skills/commands/reverse.md +63 -0
- package/bundled/skills/{claude-code/commands → commands}/review.md +3 -3
- package/bundled/skills/commands/sdd.md +135 -0
- package/bundled/skills/{claude-code/commands → commands}/tdd.md +3 -3
- package/bundled/skills/{claude-code/commands → commands}/update.md +2 -2
- package/bundled/skills/commit-standards/SKILL.md +60 -0
- package/bundled/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +3 -3
- package/bundled/skills/{claude-code/commit-standards/SKILL.md → commit-standards/guide.md} +17 -5
- package/bundled/skills/{claude-code/commit-standards → commit-standards}/language-options.md +2 -2
- package/bundled/skills/docs-generator/SKILL.md +69 -0
- package/bundled/skills/docs-generator/guide.md +258 -0
- package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +7 -7
- package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +3 -3
- package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +2 -2
- package/bundled/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +7 -5
- package/bundled/skills/forward-derivation/SKILL.md +61 -0
- package/bundled/skills/{claude-code/forward-derivation/SKILL.md → forward-derivation/guide.md} +44 -29
- package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +7 -5
- package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +2 -2
- package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +3 -3
- package/bundled/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +7 -5
- package/bundled/skills/methodology-system/SKILL.md +75 -0
- package/bundled/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +1 -1
- package/bundled/skills/{claude-code/methodology-system/SKILL.md → methodology-system/guide.md} +51 -16
- package/bundled/skills/methodology-system/integrated-flow.md +454 -0
- package/bundled/skills/{claude-code/methodology-system → methodology-system}/runtime.md +2 -2
- package/bundled/skills/project-discovery/SKILL.md +63 -0
- package/bundled/skills/project-discovery/guide.md +367 -0
- package/bundled/skills/project-discovery/workflow.md +566 -0
- package/bundled/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +14 -4
- package/bundled/skills/refactoring-assistant/SKILL.md +78 -0
- package/bundled/skills/{claude-code/refactoring-assistant/SKILL.md → refactoring-assistant/guide.md} +7 -7
- package/bundled/skills/release-standards/SKILL.md +61 -0
- package/bundled/skills/{claude-code/release-standards → release-standards}/changelog-format.md +2 -2
- package/bundled/skills/{claude-code/release-standards/SKILL.md → release-standards/guide.md} +7 -5
- package/bundled/skills/{claude-code/release-standards → release-standards}/release-workflow.md +59 -24
- package/bundled/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +2 -2
- package/bundled/skills/requirement-assistant/SKILL.md +66 -0
- package/bundled/skills/{claude-code/requirement-assistant/SKILL.md → requirement-assistant/guide.md} +14 -6
- package/bundled/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +2 -2
- package/bundled/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +2 -2
- package/bundled/skills/reverse-engineer/SKILL.md +64 -0
- package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +1 -1
- package/bundled/skills/{claude-code/reverse-engineer/SKILL.md → reverse-engineer/guide.md} +21 -18
- package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +1 -1
- package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +2 -2
- package/bundled/skills/spec-driven-dev/SKILL.md +80 -0
- package/bundled/skills/{claude-code/spec-driven-dev/SKILL.md → spec-driven-dev/guide.md} +50 -8
- package/bundled/skills/tdd-assistant/SKILL.md +65 -0
- package/bundled/skills/{claude-code/tdd-assistant/SKILL.md → tdd-assistant/guide.md} +10 -10
- package/bundled/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
- package/bundled/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +2 -2
- package/bundled/skills/test-coverage-assistant/SKILL.md +63 -0
- package/bundled/skills/{claude-code/test-coverage-assistant/SKILL.md → test-coverage-assistant/guide.md} +39 -24
- package/bundled/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +12 -7
- package/bundled/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +3 -3
- package/bundled/skills/testing-guide/testing-theory.md +2291 -0
- package/bundled/skills/tools/cline/.clinerules +79 -0
- package/bundled/skills/tools/cline/README.md +50 -0
- package/bundled/skills/tools/copilot/README.md +99 -0
- package/bundled/skills/tools/copilot/copilot-instructions.md +71 -0
- package/bundled/skills/tools/cursor/.cursorrules +101 -0
- package/bundled/skills/tools/cursor/README.md +50 -0
- package/bundled/skills/tools/windsurf/.windsurfrules +76 -0
- package/bundled/skills/tools/windsurf/README.md +51 -0
- package/bundled/skills/{claude-code/workflows → workflows}/README.md +1 -1
- package/bundled/skills/workflows/release.workflow.yaml +893 -0
- package/package.json +4 -1
- package/src/commands/check.js +195 -130
- package/src/commands/config.js +1262 -0
- package/src/commands/configure.js +3 -950
- package/src/commands/fix.js +53 -0
- package/src/commands/hitl.js +19 -0
- package/src/commands/init.js +320 -1030
- package/src/commands/list.js +1 -1
- package/src/commands/simulate.js +61 -0
- package/src/commands/spec.js +288 -0
- package/src/commands/start.js +373 -0
- package/src/commands/sweep.js +142 -0
- package/src/commands/update.js +136 -19
- package/src/commands/workflow.js +265 -1
- package/src/config/ai-agent-paths.js +89 -29
- package/src/core/constants.js +7 -1
- package/src/core/manifest.js +1 -0
- package/src/flows/init-flow.js +243 -0
- package/src/hitl/checkpoint.js +80 -0
- package/src/hitl/classifier.js +54 -0
- package/src/hitl/manager.js +88 -0
- package/src/i18n/messages.js +907 -99
- package/src/index.js +1 -0
- package/src/installers/integration-installer.js +237 -0
- package/src/installers/manifest-installer.js +131 -0
- package/src/installers/skills-installer.js +286 -0
- package/src/installers/standards-installer.js +193 -0
- package/src/missions/MissionManager.js +501 -0
- package/src/prompts/init.js +228 -130
- package/src/prompts/integrations.js +13 -1
- package/src/schemas/standard.schema.json +117 -0
- package/src/utils/agents-installer.js +2 -2
- package/src/utils/config-loader.js +47 -0
- package/src/utils/config-manager.js +108 -0
- package/src/utils/config-merger.js +47 -0
- package/src/utils/github.js +22 -18
- package/src/utils/inquirer-patch.js +98 -0
- package/src/utils/integration-generator.js +392 -58
- package/src/utils/reference-sync.js +69 -19
- package/src/utils/skills-installer.js +6 -3
- package/src/utils/standard-fixer.js +141 -0
- package/src/utils/standard-validator.js +329 -0
- package/src/utils/workflow-executor.js +886 -0
- package/src/utils/workflow-state.js +404 -0
- package/src/utils/workflows-installer.js +2 -2
- package/src/vibe/auto-sweep.js +349 -0
- package/src/vibe/micro-spec.js +428 -0
- package/standards-registry.json +278 -102
- package/bundled/locales/zh-CN/skills/claude-code/README.md +0 -174
- package/bundled/locales/zh-CN/skills/claude-code/test-coverage-assistant/SKILL.md +0 -282
- package/bundled/locales/zh-TW/skills/claude-code/README.md +0 -174
- package/bundled/skills/claude-code/README.md +0 -215
- package/bundled/skills/claude-code/commands/changelog.md +0 -57
- package/bundled/skills/claude-code/commands/derive-all.md +0 -214
- package/bundled/skills/claude-code/commands/derive-atdd.md +0 -177
- package/bundled/skills/claude-code/commands/derive-bdd.md +0 -158
- package/bundled/skills/claude-code/commands/derive-tdd.md +0 -259
- package/bundled/skills/claude-code/commands/docs.md +0 -75
- package/bundled/skills/claude-code/commands/release.md +0 -50
- package/bundled/skills/claude-code/commands/reverse-bdd.md +0 -264
- package/bundled/skills/claude-code/commands/reverse-spec.md +0 -185
- package/bundled/skills/claude-code/commands/reverse-tdd.md +0 -351
- package/bundled/skills/claude-code/commands/spec.md +0 -69
- package/bundled/skills/claude-code/methodology-system/integrated-flow.md +0 -322
- /package/bundled/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +0 -0
- /package/bundled/skills/{claude-code/ai → ai}/standards/checkin.ai.yaml +0 -0
- /package/bundled/skills/{claude-code/ai → ai}/standards/commit.ai.yaml +0 -0
- /package/bundled/skills/{claude-code/ai → ai}/standards/refactoring.ai.yaml +0 -0
- /package/bundled/skills/{claude-code/ai → ai}/standards/testing.ai.yaml +0 -0
- /package/bundled/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +0 -0
- /package/bundled/skills/{claude-code/workflows → workflows}/code-review.workflow.yaml +0 -0
- /package/bundled/skills/{claude-code/workflows → workflows}/feature-dev.workflow.yaml +0 -0
- /package/bundled/skills/{claude-code/workflows → workflows}/integrated-flow.workflow.yaml +0 -0
- /package/bundled/skills/{claude-code/workflows → workflows}/large-codebase-analysis.workflow.yaml +0 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# Project Context Memory Standards
|
|
2
|
+
|
|
3
|
+
> **Language**: English | [繁體中文](../locales/zh-TW/core/project-context-memory.md)
|
|
4
|
+
|
|
5
|
+
**Version**: 1.0.0
|
|
6
|
+
**Last Updated**: 2026-02-09
|
|
7
|
+
**Applicability**: All software projects using AI assistants
|
|
8
|
+
**Scope**: uds-specific
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
|
|
14
|
+
This standard defines a structured system for capturing, retrieving, and enforcing **project-specific** context, architectural decisions, and domain knowledge. Unlike Developer Memory (which is universal and transferable), Project Context Memory acts as the "long-term brain" for a specific codebase, ensuring AI assistants adhere to local conventions and historical decisions.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Quick Reference
|
|
19
|
+
|
|
20
|
+
### Memory Entry Schema
|
|
21
|
+
|
|
22
|
+
| Field | Type | Description |
|
|
23
|
+
|-------|------|-------------|
|
|
24
|
+
| `id` | string | Unique identifier (`PRJ-YYYY-NNNN`) |
|
|
25
|
+
| `type` | enum | `decision` / `convention` / `structure` / `glossary` |
|
|
26
|
+
| `summary` | string | One-sentence summary of the context |
|
|
27
|
+
| `status` | enum | `active` / `proposed` / `deprecated` |
|
|
28
|
+
| `scope` | list | Files or directories this applies to |
|
|
29
|
+
|
|
30
|
+
### Storage Location
|
|
31
|
+
|
|
32
|
+
Entries are stored in **Markdown with YAML Frontmatter** to ensure both human readability (documentation) and machine parsability.
|
|
33
|
+
|
|
34
|
+
- **Directory**: `.project-context/`
|
|
35
|
+
- **Format**: `.md` files
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 1. Memory Schema
|
|
40
|
+
|
|
41
|
+
### 1.1 Full Schema Definition
|
|
42
|
+
|
|
43
|
+
```markdown
|
|
44
|
+
---
|
|
45
|
+
id: "PRJ-2026-0001" # Required: Unique ID
|
|
46
|
+
type: decision # Required: Category
|
|
47
|
+
status: active # Required: active | proposed | deprecated
|
|
48
|
+
created_at: "2026-02-09" # Required: ISO date
|
|
49
|
+
confidence: 1.0 # Required: 0.0–1.0 (Project facts usually start high)
|
|
50
|
+
authors: ["user-name", "ai-assistant"]
|
|
51
|
+
|
|
52
|
+
# Scope & Triggers (Context Awareness)
|
|
53
|
+
scope: # Where this rule applies
|
|
54
|
+
- "src/api/**"
|
|
55
|
+
- "src/services/**"
|
|
56
|
+
triggers: # Keywords/patterns to wake up this memory
|
|
57
|
+
- "error handling"
|
|
58
|
+
- "API response"
|
|
59
|
+
- "try-catch"
|
|
60
|
+
|
|
61
|
+
# Relationships
|
|
62
|
+
related: ["PRJ-2026-0004"] # Related project memories
|
|
63
|
+
supersedes: [] # IDs of decisions this replaces
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
# Unified API Error Handling
|
|
67
|
+
|
|
68
|
+
## Context
|
|
69
|
+
We previously handled errors inconsistently across controllers, leading to frontend parsing issues.
|
|
70
|
+
|
|
71
|
+
## Decision
|
|
72
|
+
All API endpoints must return errors in the `StandardErrorResponse` format defined in `src/types/api.ts`.
|
|
73
|
+
Do not throw raw exceptions in controllers; wrap them in `ApiError` class.
|
|
74
|
+
|
|
75
|
+
## Constraint
|
|
76
|
+
- Forbidden: `res.status(500).json({ error: err.message })`
|
|
77
|
+
- Required: `next(new ApiError(500, 'internal_error', err.message))`
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### 1.2 ID Format
|
|
81
|
+
|
|
82
|
+
| Component | Format | Example |
|
|
83
|
+
|-----------|--------|---------|
|
|
84
|
+
| Prefix | `PRJ` | `PRJ` |
|
|
85
|
+
| Year | `YYYY` | `2026` |
|
|
86
|
+
| Sequence | `NNNN` | `0001` |
|
|
87
|
+
| Full | `PRJ-YYYY-NNNN` | `PRJ-2026-0001` |
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## 2. Memory Categories (Taxonomy)
|
|
92
|
+
|
|
93
|
+
| Category | Description | Example |
|
|
94
|
+
|----------|-------------|---------|
|
|
95
|
+
| `decision` | Architectural Decision Records (Lightweight ADRs) | "Use Hexagonal Architecture for core domain" |
|
|
96
|
+
| `convention` | Mandatory coding styles or patterns | "All interface names must start with 'I'" |
|
|
97
|
+
| `structure` | Directory responsibilities and boundaries | "`src/shared` must not import from `src/features`" |
|
|
98
|
+
| `glossary` | Ubiquitous Language / Domain Terms | "'User' refers to Admin; 'Customer' is the end-user" |
|
|
99
|
+
| `constraint` | Hard technical limits or bans | "No usage of `lodash` (use native ES6+)" |
|
|
100
|
+
| `workflow` | Process-specific rules | "Migrations must be generated via CLI, not manual SQL" |
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## 3. Operations Protocol
|
|
105
|
+
|
|
106
|
+
### 3.1 Proactive Extraction (Record)
|
|
107
|
+
|
|
108
|
+
The AI must actively listen for "Consensus Moments" in the conversation.
|
|
109
|
+
|
|
110
|
+
**Triggers:**
|
|
111
|
+
* "Let's agree to..."
|
|
112
|
+
* "From now on, we use..."
|
|
113
|
+
* "The architecture should be..."
|
|
114
|
+
* Repeatedly correcting the AI on the same project-specific rule.
|
|
115
|
+
|
|
116
|
+
**Workflow:**
|
|
117
|
+
1. AI detects a consensus or rule.
|
|
118
|
+
2. AI proposes: "This seems like a project-level decision. Should I save it to Project Context?"
|
|
119
|
+
3. User confirms.
|
|
120
|
+
4. AI generates a `.project-context/topic-name.md` file.
|
|
121
|
+
|
|
122
|
+
### 3.2 Context Injection (Query)
|
|
123
|
+
|
|
124
|
+
**Triggers:**
|
|
125
|
+
* **Planning Phase**: When the user asks to "build a feature", scan `structure` and `decision` memories.
|
|
126
|
+
* **Coding Phase**: When editing a file in `scope`, scan `convention` memories.
|
|
127
|
+
* **Review Phase**: Check if code violates `constraint` memories.
|
|
128
|
+
|
|
129
|
+
**Behavior:**
|
|
130
|
+
* AI must **read** relevant context files *before* generating code.
|
|
131
|
+
* AI must **cite** the memory ID when enforcing a rule (e.g., "Per PRJ-2026-0012, I'm using the factory pattern here").
|
|
132
|
+
|
|
133
|
+
### 3.3 Lifecycle Management (Review)
|
|
134
|
+
|
|
135
|
+
**Staleness Detection:**
|
|
136
|
+
* If a file path mentioned in `scope` no longer exists.
|
|
137
|
+
* If a code pattern mentioned in `Constraint` is nowhere to be found.
|
|
138
|
+
* AI should proactively ask: "Is PRJ-2025-0045 still active?"
|
|
139
|
+
|
|
140
|
+
**Deprecation:**
|
|
141
|
+
* When a new `decision` contradicts an old one, the old one's `status` changes to `deprecated`, and `supersedes` field is updated in the new one.
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## 4. Comparison with Developer Memory
|
|
146
|
+
|
|
147
|
+
| Feature | Developer Memory (`core/developer-memory.md`) | Project Context Memory (`core/project-context-memory.md`) |
|
|
148
|
+
| :--- | :--- | :--- |
|
|
149
|
+
| **Scope** | Universal / Cross-Project | **Local / Project-Specific** |
|
|
150
|
+
| **Privacy** | De-identified (Strict) | **Identified** (Specific paths/names allowed) |
|
|
151
|
+
| **Content** | "How to use React useEffect" | "How WE use React in THIS app" |
|
|
152
|
+
| **Storage** | `.memory/` (Global/User) | `.project-context/` (Repo) |
|
|
153
|
+
| **Goal** | Skill Acquisition | **Consistency & Compliance** |
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## 5. Architecture Decision
|
|
158
|
+
|
|
159
|
+
### 5.1 "Always-On" Protocol
|
|
160
|
+
Like Developer Memory, Project Context is an **Always-On Protocol**. The AI does not need explicit commands to use it. It is part of the "Physics" of the agent's environment.
|
|
161
|
+
|
|
162
|
+
### 5.2 Storage Strategy
|
|
163
|
+
We use **Split-File Storage** (one Markdown file per topic) rather than a single huge `GEMINI.md` or JSON file.
|
|
164
|
+
* **Reason 1**: Git-friendly diffs.
|
|
165
|
+
* **Reason 2**: Lower token usage (AI only reads relevant files based on `scope/triggers`).
|
|
166
|
+
* **Reason 3**: Human-readable documentation.
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## Version History
|
|
171
|
+
|
|
172
|
+
| Version | Date | Changes |
|
|
173
|
+
|---------|------|---------|
|
|
174
|
+
| 1.0.0 | 2026-02-09 | Initial standard definition |
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
## License
|
|
179
|
+
|
|
180
|
+
This standard is released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
# Project Structure Standard
|
|
2
2
|
|
|
3
|
-
**Version**: 1.0
|
|
4
|
-
**Last Updated**:
|
|
3
|
+
**Version**: 1.1.0
|
|
4
|
+
**Last Updated**: 2026-01-24
|
|
5
5
|
**Applicability**: All software projects
|
|
6
|
+
**Scope**: partial
|
|
7
|
+
**Industry Standards**: Maven Standard Directory Layout
|
|
8
|
+
**References**: [github.com](https://github.com/golang-standards/project-layout)
|
|
6
9
|
|
|
7
10
|
**English** | [繁體中文](../locales/zh-TW/core/project-structure.md)
|
|
8
11
|
|
|
@@ -222,6 +225,311 @@ project-root/
|
|
|
222
225
|
|
|
223
226
|
---
|
|
224
227
|
|
|
228
|
+
## Monorepo vs Polyrepo Decision Guide
|
|
229
|
+
|
|
230
|
+
### Decision Matrix
|
|
231
|
+
|
|
232
|
+
Use this matrix to determine which approach fits your project:
|
|
233
|
+
|
|
234
|
+
| Factor | Monorepo Favored | Polyrepo Favored |
|
|
235
|
+
|--------|------------------|------------------|
|
|
236
|
+
| **Code Sharing** | High (shared libs, components) | Low (independent services) |
|
|
237
|
+
| **Team Structure** | Single team or tight collaboration | Autonomous teams |
|
|
238
|
+
| **Release Cadence** | Coordinated releases | Independent releases |
|
|
239
|
+
| **CI/CD Complexity** | Unified pipeline acceptable | Need isolated pipelines |
|
|
240
|
+
| **Repository Size** | < 5GB, < 1M files | Large assets, long history |
|
|
241
|
+
| **Dependency Management** | Centralized version control | Team-specific versions OK |
|
|
242
|
+
| **Tooling Investment** | Willing to invest in tooling | Prefer simple git workflow |
|
|
243
|
+
|
|
244
|
+
### Decision Flowchart
|
|
245
|
+
|
|
246
|
+
```
|
|
247
|
+
┌─────────────────────────────────────────┐
|
|
248
|
+
│ Do multiple projects share significant │
|
|
249
|
+
│ code or dependencies? │
|
|
250
|
+
└───────────────┬─────────────────────────┘
|
|
251
|
+
│
|
|
252
|
+
┌───────┴───────┐
|
|
253
|
+
▼ ▼
|
|
254
|
+
YES NO
|
|
255
|
+
│ │
|
|
256
|
+
▼ ▼
|
|
257
|
+
┌───────────────┐ ┌─────────────────────┐
|
|
258
|
+
│ Consider │ │ Do teams need │
|
|
259
|
+
│ MONOREPO │ │ release independence│
|
|
260
|
+
└───────┬───────┘ └──────────┬──────────┘
|
|
261
|
+
│ │
|
|
262
|
+
▼ ┌───────┴───────┐
|
|
263
|
+
┌───────────────┐ ▼ ▼
|
|
264
|
+
│ Can you invest│ YES NO
|
|
265
|
+
│ in tooling? │ │ │
|
|
266
|
+
└───────┬───────┘ ▼ ▼
|
|
267
|
+
│ ┌──────────┐ ┌──────────┐
|
|
268
|
+
┌───────┴───────┐│ POLYREPO │ │ MONOREPO │
|
|
269
|
+
▼ ▼└──────────┘ │ may work │
|
|
270
|
+
YES NO └──────────┘
|
|
271
|
+
│ │
|
|
272
|
+
▼ ▼
|
|
273
|
+
┌──────────┐ ┌──────────┐
|
|
274
|
+
│ MONOREPO │ │ POLYREPO │
|
|
275
|
+
│ (full) │ │ (simpler)│
|
|
276
|
+
└──────────┘ └──────────┘
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
---
|
|
280
|
+
|
|
281
|
+
## Monorepo Tools Comparison
|
|
282
|
+
|
|
283
|
+
### Tool Selection Matrix
|
|
284
|
+
|
|
285
|
+
| Feature | Turborepo | Nx | Lerna | Rush |
|
|
286
|
+
|---------|-----------|----|----|------|
|
|
287
|
+
| **Primary Use** | Task running | Full framework | Publishing | Enterprise |
|
|
288
|
+
| **Learning Curve** | Low | Medium-High | Low | High |
|
|
289
|
+
| **Build Speed** | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐⭐⭐ |
|
|
290
|
+
| **Remote Caching** | ✅ Built-in | ✅ Nx Cloud | ❌ Manual | ✅ Built-in |
|
|
291
|
+
| **Code Generation** | ❌ | ✅ Extensive | ❌ | ❌ |
|
|
292
|
+
| **Affected Detection** | ✅ | ✅ | ✅ | ✅ |
|
|
293
|
+
| **Framework Support** | Framework-agnostic | React, Angular, etc. | Any | Any |
|
|
294
|
+
| **Maintenance** | Vercel | Nrwl | Lerna-Lite fork | Microsoft |
|
|
295
|
+
| **Best For** | Small-medium teams | Large teams, enterprise | Simple publishing | Enterprise-scale |
|
|
296
|
+
|
|
297
|
+
### Quick Selection Guide
|
|
298
|
+
|
|
299
|
+
**Choose Turborepo if**:
|
|
300
|
+
- You want minimal configuration
|
|
301
|
+
- Primary need is fast builds with caching
|
|
302
|
+
- Team is small to medium (< 50 developers)
|
|
303
|
+
- You prefer convention over configuration
|
|
304
|
+
|
|
305
|
+
**Choose Nx if**:
|
|
306
|
+
- You need code generation and scaffolding
|
|
307
|
+
- You want built-in framework integrations
|
|
308
|
+
- Team is large or enterprise-scale
|
|
309
|
+
- You need advanced dependency graph visualization
|
|
310
|
+
|
|
311
|
+
**Choose Lerna if**:
|
|
312
|
+
- Primary need is npm package publishing
|
|
313
|
+
- You want simple, familiar tooling
|
|
314
|
+
- You're migrating from individual packages
|
|
315
|
+
|
|
316
|
+
**Choose Rush if**:
|
|
317
|
+
- You're in an enterprise environment
|
|
318
|
+
- You need strict dependency isolation
|
|
319
|
+
- You have complex approval workflows
|
|
320
|
+
- You're using pnpm at scale
|
|
321
|
+
|
|
322
|
+
### Turborepo Example
|
|
323
|
+
|
|
324
|
+
```json
|
|
325
|
+
// turbo.json
|
|
326
|
+
{
|
|
327
|
+
"$schema": "https://turbo.build/schema.json",
|
|
328
|
+
"globalDependencies": [".env"],
|
|
329
|
+
"tasks": {
|
|
330
|
+
"build": {
|
|
331
|
+
"dependsOn": ["^build"],
|
|
332
|
+
"outputs": ["dist/**", ".next/**"]
|
|
333
|
+
},
|
|
334
|
+
"test": {
|
|
335
|
+
"dependsOn": ["build"],
|
|
336
|
+
"inputs": ["src/**", "test/**"]
|
|
337
|
+
},
|
|
338
|
+
"lint": {
|
|
339
|
+
"dependsOn": ["^lint"]
|
|
340
|
+
},
|
|
341
|
+
"dev": {
|
|
342
|
+
"cache": false,
|
|
343
|
+
"persistent": true
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
### Nx Example
|
|
350
|
+
|
|
351
|
+
```json
|
|
352
|
+
// nx.json
|
|
353
|
+
{
|
|
354
|
+
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
355
|
+
"targetDefaults": {
|
|
356
|
+
"build": {
|
|
357
|
+
"dependsOn": ["^build"],
|
|
358
|
+
"cache": true
|
|
359
|
+
},
|
|
360
|
+
"test": {
|
|
361
|
+
"cache": true
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"namedInputs": {
|
|
365
|
+
"default": ["{projectRoot}/**/*"],
|
|
366
|
+
"production": ["default", "!{projectRoot}/**/*.spec.ts"]
|
|
367
|
+
},
|
|
368
|
+
"defaultBase": "main"
|
|
369
|
+
}
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
---
|
|
373
|
+
|
|
374
|
+
## Workspace Configuration
|
|
375
|
+
|
|
376
|
+
### pnpm Workspaces
|
|
377
|
+
|
|
378
|
+
```yaml
|
|
379
|
+
# pnpm-workspace.yaml
|
|
380
|
+
packages:
|
|
381
|
+
- 'apps/*'
|
|
382
|
+
- 'packages/*'
|
|
383
|
+
- 'tools/*'
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
```json
|
|
387
|
+
// package.json (root)
|
|
388
|
+
{
|
|
389
|
+
"name": "my-monorepo",
|
|
390
|
+
"private": true,
|
|
391
|
+
"scripts": {
|
|
392
|
+
"build": "turbo run build",
|
|
393
|
+
"dev": "turbo run dev",
|
|
394
|
+
"test": "turbo run test",
|
|
395
|
+
"lint": "turbo run lint"
|
|
396
|
+
},
|
|
397
|
+
"devDependencies": {
|
|
398
|
+
"turbo": "^2.0.0"
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
### Yarn Workspaces
|
|
404
|
+
|
|
405
|
+
```json
|
|
406
|
+
// package.json (root)
|
|
407
|
+
{
|
|
408
|
+
"name": "my-monorepo",
|
|
409
|
+
"private": true,
|
|
410
|
+
"workspaces": [
|
|
411
|
+
"apps/*",
|
|
412
|
+
"packages/*"
|
|
413
|
+
],
|
|
414
|
+
"scripts": {
|
|
415
|
+
"build": "yarn workspaces foreach -pt run build",
|
|
416
|
+
"test": "yarn workspaces foreach run test"
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
```
|
|
420
|
+
|
|
421
|
+
### npm Workspaces
|
|
422
|
+
|
|
423
|
+
```json
|
|
424
|
+
// package.json (root)
|
|
425
|
+
{
|
|
426
|
+
"name": "my-monorepo",
|
|
427
|
+
"private": true,
|
|
428
|
+
"workspaces": [
|
|
429
|
+
"apps/*",
|
|
430
|
+
"packages/*"
|
|
431
|
+
],
|
|
432
|
+
"scripts": {
|
|
433
|
+
"build": "npm run build --workspaces",
|
|
434
|
+
"test": "npm run test --workspaces --if-present"
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
```
|
|
438
|
+
|
|
439
|
+
---
|
|
440
|
+
|
|
441
|
+
## Package-based Architecture
|
|
442
|
+
|
|
443
|
+
### Concept
|
|
444
|
+
|
|
445
|
+
Package-based architecture organizes code by **feature boundaries** rather than technical layers. Each package is a self-contained unit with clear interfaces.
|
|
446
|
+
|
|
447
|
+
```
|
|
448
|
+
Traditional (Layer-based) Package-based (Feature-based)
|
|
449
|
+
───────────────────────── ────────────────────────────
|
|
450
|
+
src/ packages/
|
|
451
|
+
├── controllers/ ├── authentication/
|
|
452
|
+
│ ├── userController.js │ ├── api/
|
|
453
|
+
│ └── orderController.js │ ├── domain/
|
|
454
|
+
├── services/ │ ├── infrastructure/
|
|
455
|
+
│ ├── userService.js │ └── index.ts
|
|
456
|
+
│ └── orderService.js ├── orders/
|
|
457
|
+
├── models/ │ ├── api/
|
|
458
|
+
│ ├── user.js │ ├── domain/
|
|
459
|
+
│ └── order.js │ ├── infrastructure/
|
|
460
|
+
└── repositories/ │ └── index.ts
|
|
461
|
+
├── userRepository.js └── shared/
|
|
462
|
+
└── orderRepository.js ├── database/
|
|
463
|
+
└── utils/
|
|
464
|
+
```
|
|
465
|
+
|
|
466
|
+
### Benefits
|
|
467
|
+
|
|
468
|
+
| Benefit | Description |
|
|
469
|
+
|---------|-------------|
|
|
470
|
+
| **Clear Boundaries** | Each package has explicit public API |
|
|
471
|
+
| **Independent Testing** | Test packages in isolation |
|
|
472
|
+
| **Parallel Development** | Teams work on separate packages |
|
|
473
|
+
| **Selective Deployment** | Deploy only changed packages |
|
|
474
|
+
| **Code Ownership** | Clear ownership per package |
|
|
475
|
+
|
|
476
|
+
### Package Structure Template
|
|
477
|
+
|
|
478
|
+
```
|
|
479
|
+
packages/feature-name/
|
|
480
|
+
├── package.json # Package metadata
|
|
481
|
+
├── tsconfig.json # TypeScript config (if applicable)
|
|
482
|
+
├── src/
|
|
483
|
+
│ ├── index.ts # Public API exports
|
|
484
|
+
│ ├── api/ # External interfaces (REST, GraphQL, etc.)
|
|
485
|
+
│ ├── domain/ # Business logic
|
|
486
|
+
│ │ ├── entities/
|
|
487
|
+
│ │ ├── services/
|
|
488
|
+
│ │ └── events/
|
|
489
|
+
│ └── infrastructure/ # External integrations
|
|
490
|
+
│ ├── database/
|
|
491
|
+
│ └── external-services/
|
|
492
|
+
├── tests/
|
|
493
|
+
│ ├── unit/
|
|
494
|
+
│ └── integration/
|
|
495
|
+
└── README.md # Package documentation
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
### Public API Design
|
|
499
|
+
|
|
500
|
+
```typescript
|
|
501
|
+
// packages/authentication/src/index.ts
|
|
502
|
+
// Only export what other packages need
|
|
503
|
+
|
|
504
|
+
// Domain types
|
|
505
|
+
export type { User, AuthToken, AuthResult } from './domain/types';
|
|
506
|
+
|
|
507
|
+
// Service interfaces
|
|
508
|
+
export { AuthService } from './domain/services/auth-service';
|
|
509
|
+
|
|
510
|
+
// API handlers (if needed by other packages)
|
|
511
|
+
export { createAuthRouter } from './api/routes';
|
|
512
|
+
|
|
513
|
+
// Do NOT export internal implementation details
|
|
514
|
+
// ❌ export { hashPassword } from './infrastructure/crypto';
|
|
515
|
+
```
|
|
516
|
+
|
|
517
|
+
### Inter-Package Dependencies
|
|
518
|
+
|
|
519
|
+
```json
|
|
520
|
+
// packages/orders/package.json
|
|
521
|
+
{
|
|
522
|
+
"name": "@myorg/orders",
|
|
523
|
+
"version": "1.0.0",
|
|
524
|
+
"dependencies": {
|
|
525
|
+
"@myorg/authentication": "workspace:*",
|
|
526
|
+
"@myorg/shared": "workspace:*"
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
```
|
|
530
|
+
|
|
531
|
+
---
|
|
532
|
+
|
|
225
533
|
## IDE and Editor Artifacts
|
|
226
534
|
|
|
227
535
|
### Common Artifacts to Gitignore
|
|
@@ -334,6 +642,7 @@ Before committing, verify:
|
|
|
334
642
|
|
|
335
643
|
| Version | Date | Changes |
|
|
336
644
|
|---------|------|---------|
|
|
645
|
+
| 1.1.0 | 2026-01-24 | Added: Monorepo vs Polyrepo decision guide, Monorepo tools comparison (Turborepo, Nx, Lerna, Rush), Workspace configuration examples, Package-based Architecture |
|
|
337
646
|
| 1.0.1 | 2025-12-24 | Added: Related Standards section |
|
|
338
647
|
| 1.0.0 | 2025-12-11 | Initial project structure standard |
|
|
339
648
|
|
|
@@ -346,6 +655,10 @@ Before committing, verify:
|
|
|
346
655
|
- [Python Packaging User Guide](https://packaging.python.org/en/latest/)
|
|
347
656
|
- [Standard Go Project Layout](https://github.com/golang-standards/project-layout)
|
|
348
657
|
- [Maven Standard Directory Layout](https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html)
|
|
658
|
+
- [Turborepo Documentation](https://turbo.build/repo/docs) - Modern build system for JavaScript/TypeScript monorepos
|
|
659
|
+
- [Nx Documentation](https://nx.dev/getting-started/intro) - Smart monorepo tool with advanced features
|
|
660
|
+
- [pnpm Workspaces](https://pnpm.io/workspaces) - Fast, disk-efficient package manager workspaces
|
|
661
|
+
- [Monorepo Explained](https://monorepo.tools/) - Comprehensive guide to monorepo tools
|
|
349
662
|
|
|
350
663
|
---
|
|
351
664
|
|