universal-dev-standards 3.5.1-beta.9 → 4.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/bin/uds.js +14 -4
  2. package/bundled/core/acceptance-test-driven-development.md +739 -0
  3. package/bundled/core/anti-hallucination.md +54 -2
  4. package/bundled/core/behavior-driven-development.md +753 -0
  5. package/bundled/core/checkin-standards.md +39 -2
  6. package/bundled/core/forward-derivation-standards.md +510 -0
  7. package/bundled/core/reverse-engineering-standards.md +399 -0
  8. package/bundled/core/spec-driven-development.md +133 -2
  9. package/bundled/core/test-driven-development.md +2 -0
  10. package/bundled/locales/zh-CN/CLAUDE.md +15 -3
  11. package/bundled/locales/zh-CN/adoption/DAILY-WORKFLOW-GUIDE.md +468 -0
  12. package/bundled/locales/zh-CN/core/anti-hallucination.md +57 -5
  13. package/bundled/locales/zh-CN/core/checkin-standards.md +42 -5
  14. package/bundled/locales/zh-CN/core/reverse-engineering-standards.md +253 -0
  15. package/bundled/locales/zh-CN/core/spec-driven-development.md +78 -5
  16. package/bundled/locales/zh-CN/docs/AI-AGENT-ROADMAP.md +8 -0
  17. package/bundled/locales/zh-CN/skills/claude-code/reverse-engineer/SKILL.md +403 -0
  18. package/bundled/locales/zh-CN/skills/claude-code/reverse-engineer/bdd-extraction.md +541 -0
  19. package/bundled/locales/zh-CN/skills/claude-code/reverse-engineer/tdd-analysis.md +652 -0
  20. package/bundled/locales/zh-CN/skills/claude-code/reverse-engineer/workflow.md +424 -0
  21. package/bundled/locales/zh-CN/templates/reverse-spec-template.md +369 -0
  22. package/bundled/locales/zh-TW/CLAUDE.md +12 -0
  23. package/bundled/locales/zh-TW/adoption/ADOPTION-GUIDE.md +18 -0
  24. package/bundled/locales/zh-TW/adoption/DAILY-WORKFLOW-GUIDE.md +468 -0
  25. package/bundled/locales/zh-TW/core/anti-hallucination.md +57 -5
  26. package/bundled/locales/zh-TW/core/checkin-standards.md +42 -5
  27. package/bundled/locales/zh-TW/core/forward-derivation-standards.md +433 -0
  28. package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +407 -0
  29. package/bundled/locales/zh-TW/core/spec-driven-development.md +78 -5
  30. package/bundled/locales/zh-TW/docs/AI-AGENT-ROADMAP.md +8 -0
  31. package/bundled/locales/zh-TW/skills/claude-code/forward-derivation/SKILL.md +410 -0
  32. package/bundled/locales/zh-TW/skills/claude-code/reverse-engineer/SKILL.md +403 -0
  33. package/bundled/locales/zh-TW/skills/claude-code/reverse-engineer/bdd-extraction.md +541 -0
  34. package/bundled/locales/zh-TW/skills/claude-code/reverse-engineer/tdd-analysis.md +652 -0
  35. package/bundled/locales/zh-TW/skills/claude-code/reverse-engineer/workflow.md +424 -0
  36. package/bundled/locales/zh-TW/templates/reverse-spec-template.md +369 -0
  37. package/bundled/skills/claude-code/README.md +11 -0
  38. package/bundled/skills/claude-code/atdd-assistant/SKILL.md +378 -0
  39. package/bundled/skills/claude-code/atdd-assistant/acceptance-criteria-guide.md +420 -0
  40. package/bundled/skills/claude-code/atdd-assistant/atdd-workflow.md +573 -0
  41. package/bundled/skills/claude-code/bdd-assistant/SKILL.md +319 -0
  42. package/bundled/skills/claude-code/bdd-assistant/bdd-workflow.md +398 -0
  43. package/bundled/skills/claude-code/bdd-assistant/gherkin-guide.md +446 -0
  44. package/bundled/skills/claude-code/commands/README.md +9 -1
  45. package/bundled/skills/claude-code/commands/atdd.md +163 -0
  46. package/bundled/skills/claude-code/commands/bdd.md +1 -1
  47. package/bundled/skills/claude-code/commands/changelog.md +1 -1
  48. package/bundled/skills/claude-code/commands/check.md +142 -15
  49. package/bundled/skills/claude-code/commands/commit.md +1 -1
  50. package/bundled/skills/claude-code/commands/config.md +134 -17
  51. package/bundled/skills/claude-code/commands/coverage.md +1 -1
  52. package/bundled/skills/claude-code/commands/derive-all.md +214 -0
  53. package/bundled/skills/claude-code/commands/derive-atdd.md +177 -0
  54. package/bundled/skills/claude-code/commands/derive-bdd.md +158 -0
  55. package/bundled/skills/claude-code/commands/derive-tdd.md +259 -0
  56. package/bundled/skills/claude-code/commands/docs.md +1 -1
  57. package/bundled/skills/claude-code/commands/init.md +161 -26
  58. package/bundled/skills/claude-code/commands/methodology.md +1 -1
  59. package/bundled/skills/claude-code/commands/release.md +1 -1
  60. package/bundled/skills/claude-code/commands/requirement.md +1 -1
  61. package/bundled/skills/claude-code/commands/reverse-bdd.md +264 -0
  62. package/bundled/skills/claude-code/commands/reverse-spec.md +185 -0
  63. package/bundled/skills/claude-code/commands/reverse-tdd.md +351 -0
  64. package/bundled/skills/claude-code/commands/review.md +1 -1
  65. package/bundled/skills/claude-code/commands/spec.md +1 -1
  66. package/bundled/skills/claude-code/commands/tdd.md +1 -1
  67. package/bundled/skills/claude-code/commands/update.md +178 -25
  68. package/bundled/skills/claude-code/forward-derivation/SKILL.md +455 -0
  69. package/bundled/skills/claude-code/methodology-system/integrated-flow.md +322 -0
  70. package/bundled/skills/claude-code/reverse-engineer/SKILL.md +399 -0
  71. package/bundled/skills/claude-code/reverse-engineer/bdd-extraction.md +533 -0
  72. package/bundled/skills/claude-code/reverse-engineer/tdd-analysis.md +644 -0
  73. package/bundled/skills/claude-code/reverse-engineer/workflow.md +416 -0
  74. package/package.json +2 -1
  75. package/src/commands/check.js +494 -208
  76. package/src/commands/configure.js +346 -29
  77. package/src/commands/init.js +46 -10
  78. package/src/commands/list.js +21 -1
  79. package/src/commands/skills.js +20 -1
  80. package/src/commands/update.js +435 -139
  81. package/src/config/ai-agent-paths.js +19 -8
  82. package/src/i18n/messages.js +213 -15
  83. package/src/prompts/init.js +65 -30
  84. package/src/utils/hasher.js +193 -0
  85. package/src/utils/integration-generator.js +11 -1
  86. package/src/utils/skills-installer.js +68 -18
  87. package/standards-registry.json +88 -5
  88. /package/bundled/locales/zh-CN/core/{code-review-guide.md → code-review-checklist.md} +0 -0
package/bin/uds.js CHANGED
@@ -8,7 +8,7 @@ import { checkCommand } from '../src/commands/check.js';
8
8
  import { updateCommand } from '../src/commands/update.js';
9
9
  import { configureCommand } from '../src/commands/configure.js';
10
10
  import { skillsCommand } from '../src/commands/skills.js';
11
- import { setLanguage, detectLanguage } from '../src/i18n/messages.js';
11
+ import { setLanguage, setLanguageExplicit, detectLanguage } from '../src/i18n/messages.js';
12
12
 
13
13
  const require = createRequire(import.meta.url);
14
14
  const pkg = require('../package.json');
@@ -21,8 +21,13 @@ program
21
21
  .hook('preAction', (thisCommand) => {
22
22
  const opts = thisCommand.opts();
23
23
  const uiLang = opts.uiLang || 'auto';
24
- const detectedLang = uiLang === 'auto' ? detectLanguage(null) : uiLang;
25
- setLanguage(detectedLang);
24
+ if (uiLang === 'auto') {
25
+ // Auto-detect: can be overridden by manifest settings later
26
+ setLanguage(detectLanguage(null));
27
+ } else {
28
+ // Explicit setting: mark as explicitly set to prevent override
29
+ setLanguageExplicit(uiLang);
30
+ }
26
31
  });
27
32
 
28
33
  program
@@ -55,13 +60,17 @@ program
55
60
  .command('configure')
56
61
  .alias('config')
57
62
  .description('Modify options for initialized project')
58
- .option('-t, --type <type>', 'Option type to configure (format, workflow, merge_strategy, commit_language, test_levels, all)')
63
+ .option('-t, --type <type>', 'Option type to configure (format, workflow, merge_strategy, commit_language, test_levels, skills, commands, all)')
64
+ .option('--ai-tool <tool>', 'Specific AI tool to configure (claude-code, opencode, copilot, etc.) - enables non-interactive mode')
65
+ .option('--skills-location <location>', 'Skills installation location (project, user) for non-interactive mode')
66
+ .option('-y, --yes', 'Apply changes immediately without prompting')
59
67
  .option('-E, --experimental', 'Enable experimental features (methodology)')
60
68
  .action(configureCommand);
61
69
 
62
70
  program
63
71
  .command('check')
64
72
  .description('Check adoption status of current project')
73
+ .option('--summary', 'Show compact status summary (for use by other commands)')
65
74
  .option('--diff', 'Show diff for modified files')
66
75
  .option('--restore', 'Restore all modified and missing files')
67
76
  .option('--restore-missing', 'Restore only missing files')
@@ -81,6 +90,7 @@ program
81
90
  .option('--beta', 'Check for beta version updates')
82
91
  .option('--skills', 'Install/update Skills for configured AI tools')
83
92
  .option('--commands', 'Install/update slash commands for configured AI tools')
93
+ .option('--debug', 'Show debug output for Skills/Commands detection')
84
94
  .action(updateCommand);
85
95
 
86
96
  program