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.
- package/bin/uds.js +14 -4
- package/bundled/core/acceptance-test-driven-development.md +739 -0
- package/bundled/core/anti-hallucination.md +54 -2
- package/bundled/core/behavior-driven-development.md +753 -0
- package/bundled/core/checkin-standards.md +39 -2
- package/bundled/core/forward-derivation-standards.md +510 -0
- package/bundled/core/reverse-engineering-standards.md +399 -0
- package/bundled/core/spec-driven-development.md +133 -2
- package/bundled/core/test-driven-development.md +2 -0
- package/bundled/locales/zh-CN/CLAUDE.md +15 -3
- package/bundled/locales/zh-CN/adoption/DAILY-WORKFLOW-GUIDE.md +468 -0
- package/bundled/locales/zh-CN/core/anti-hallucination.md +57 -5
- package/bundled/locales/zh-CN/core/checkin-standards.md +42 -5
- package/bundled/locales/zh-CN/core/reverse-engineering-standards.md +253 -0
- package/bundled/locales/zh-CN/core/spec-driven-development.md +78 -5
- package/bundled/locales/zh-CN/docs/AI-AGENT-ROADMAP.md +8 -0
- package/bundled/locales/zh-CN/skills/claude-code/reverse-engineer/SKILL.md +403 -0
- package/bundled/locales/zh-CN/skills/claude-code/reverse-engineer/bdd-extraction.md +541 -0
- package/bundled/locales/zh-CN/skills/claude-code/reverse-engineer/tdd-analysis.md +652 -0
- package/bundled/locales/zh-CN/skills/claude-code/reverse-engineer/workflow.md +424 -0
- package/bundled/locales/zh-CN/templates/reverse-spec-template.md +369 -0
- package/bundled/locales/zh-TW/CLAUDE.md +12 -0
- package/bundled/locales/zh-TW/adoption/ADOPTION-GUIDE.md +18 -0
- package/bundled/locales/zh-TW/adoption/DAILY-WORKFLOW-GUIDE.md +468 -0
- package/bundled/locales/zh-TW/core/anti-hallucination.md +57 -5
- package/bundled/locales/zh-TW/core/checkin-standards.md +42 -5
- package/bundled/locales/zh-TW/core/forward-derivation-standards.md +433 -0
- package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +407 -0
- package/bundled/locales/zh-TW/core/spec-driven-development.md +78 -5
- package/bundled/locales/zh-TW/docs/AI-AGENT-ROADMAP.md +8 -0
- package/bundled/locales/zh-TW/skills/claude-code/forward-derivation/SKILL.md +410 -0
- package/bundled/locales/zh-TW/skills/claude-code/reverse-engineer/SKILL.md +403 -0
- package/bundled/locales/zh-TW/skills/claude-code/reverse-engineer/bdd-extraction.md +541 -0
- package/bundled/locales/zh-TW/skills/claude-code/reverse-engineer/tdd-analysis.md +652 -0
- package/bundled/locales/zh-TW/skills/claude-code/reverse-engineer/workflow.md +424 -0
- package/bundled/locales/zh-TW/templates/reverse-spec-template.md +369 -0
- package/bundled/skills/claude-code/README.md +11 -0
- package/bundled/skills/claude-code/atdd-assistant/SKILL.md +378 -0
- package/bundled/skills/claude-code/atdd-assistant/acceptance-criteria-guide.md +420 -0
- package/bundled/skills/claude-code/atdd-assistant/atdd-workflow.md +573 -0
- package/bundled/skills/claude-code/bdd-assistant/SKILL.md +319 -0
- package/bundled/skills/claude-code/bdd-assistant/bdd-workflow.md +398 -0
- package/bundled/skills/claude-code/bdd-assistant/gherkin-guide.md +446 -0
- package/bundled/skills/claude-code/commands/README.md +9 -1
- package/bundled/skills/claude-code/commands/atdd.md +163 -0
- package/bundled/skills/claude-code/commands/bdd.md +1 -1
- package/bundled/skills/claude-code/commands/changelog.md +1 -1
- package/bundled/skills/claude-code/commands/check.md +142 -15
- package/bundled/skills/claude-code/commands/commit.md +1 -1
- package/bundled/skills/claude-code/commands/config.md +134 -17
- package/bundled/skills/claude-code/commands/coverage.md +1 -1
- package/bundled/skills/claude-code/commands/derive-all.md +214 -0
- package/bundled/skills/claude-code/commands/derive-atdd.md +177 -0
- package/bundled/skills/claude-code/commands/derive-bdd.md +158 -0
- package/bundled/skills/claude-code/commands/derive-tdd.md +259 -0
- package/bundled/skills/claude-code/commands/docs.md +1 -1
- package/bundled/skills/claude-code/commands/init.md +161 -26
- package/bundled/skills/claude-code/commands/methodology.md +1 -1
- package/bundled/skills/claude-code/commands/release.md +1 -1
- package/bundled/skills/claude-code/commands/requirement.md +1 -1
- package/bundled/skills/claude-code/commands/reverse-bdd.md +264 -0
- package/bundled/skills/claude-code/commands/reverse-spec.md +185 -0
- package/bundled/skills/claude-code/commands/reverse-tdd.md +351 -0
- package/bundled/skills/claude-code/commands/review.md +1 -1
- package/bundled/skills/claude-code/commands/spec.md +1 -1
- package/bundled/skills/claude-code/commands/tdd.md +1 -1
- package/bundled/skills/claude-code/commands/update.md +178 -25
- package/bundled/skills/claude-code/forward-derivation/SKILL.md +455 -0
- package/bundled/skills/claude-code/methodology-system/integrated-flow.md +322 -0
- package/bundled/skills/claude-code/reverse-engineer/SKILL.md +399 -0
- package/bundled/skills/claude-code/reverse-engineer/bdd-extraction.md +533 -0
- package/bundled/skills/claude-code/reverse-engineer/tdd-analysis.md +644 -0
- package/bundled/skills/claude-code/reverse-engineer/workflow.md +416 -0
- package/package.json +2 -1
- package/src/commands/check.js +494 -208
- package/src/commands/configure.js +346 -29
- package/src/commands/init.js +46 -10
- package/src/commands/list.js +21 -1
- package/src/commands/skills.js +20 -1
- package/src/commands/update.js +435 -139
- package/src/config/ai-agent-paths.js +19 -8
- package/src/i18n/messages.js +213 -15
- package/src/prompts/init.js +65 -30
- package/src/utils/hasher.js +193 -0
- package/src/utils/integration-generator.js +11 -1
- package/src/utils/skills-installer.js +68 -18
- package/standards-registry.json +88 -5
- /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
|
-
|
|
25
|
-
|
|
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
|