universal-dev-standards 6.14.0-beta.5 → 6.14.0-beta.7
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 +13 -3
- package/bin/uds.js +32 -7
- package/bundled/ai/options/code-review/pr-review.ai.yaml +20 -1
- package/bundled/ai/standards/code-review.ai.yaml +15 -2
- package/bundled/ai/standards/commit-message.ai.yaml +6 -2
- package/bundled/ai/standards/developer-memory.ai.yaml +12 -2
- package/bundled/ai/standards/full-coverage-testing.ai.yaml +44 -6
- package/bundled/ai/standards/open-work-tracking.ai.yaml +191 -11
- package/bundled/ai/standards/pipeline-security-gates.ai.yaml +48 -3
- package/bundled/ai/standards/project-context-memory.ai.yaml +12 -2
- package/bundled/core/code-review-checklist.md +20 -2
- package/bundled/core/developer-memory.md +12 -2
- package/bundled/core/full-coverage-testing.md +44 -4
- package/bundled/core/open-work-tracking.md +156 -16
- package/bundled/core/pipeline-security-gates.md +63 -0
- package/bundled/core/project-context-memory.md +10 -2
- package/bundled/locales/zh-CN/CHANGELOG.md +75 -3
- package/bundled/locales/zh-CN/README.md +1 -1
- package/bundled/locales/zh-CN/SECURITY.md +1 -1
- package/bundled/locales/zh-CN/adoption/ADOPTION-GUIDE.md +13 -4
- package/bundled/locales/zh-CN/adoption/STATIC-DYNAMIC-GUIDE.md +7 -1
- package/bundled/locales/zh-CN/adoption/checklists/enterprise.md +7 -1
- package/bundled/locales/zh-CN/adoption/checklists/minimal.md +13 -3
- package/bundled/locales/zh-CN/adoption/checklists/recommended.md +7 -1
- package/bundled/locales/zh-CN/core/code-review-checklist.md +17 -0
- package/bundled/locales/zh-CN/core/developer-memory.md +9 -0
- package/bundled/locales/zh-CN/core/full-coverage-testing.md +48 -8
- package/bundled/locales/zh-CN/core/pipeline-security-gates.md +64 -4
- package/bundled/locales/zh-CN/core/project-context-memory.md +5 -0
- package/bundled/locales/zh-CN/docs/AVAILABLE-STANDARDS.md +70 -0
- package/bundled/locales/zh-CN/docs/CHEATSHEET.md +5 -4
- package/bundled/locales/zh-CN/docs/CLI-INIT-OPTIONS.md +25 -23
- package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +15 -12
- package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +6 -6
- package/bundled/locales/zh-CN/docs/WINDOWS-GUIDE.md +7 -1
- package/bundled/locales/zh-CN/docs/user/GETTING-STARTED.md +44 -0
- package/bundled/locales/zh-CN/options/code-review/pr-review.md +13 -2
- package/bundled/locales/zh-TW/CHANGELOG.md +75 -3
- package/bundled/locales/zh-TW/README.md +1 -1
- package/bundled/locales/zh-TW/SECURITY.md +1 -1
- package/bundled/locales/zh-TW/adoption/ADOPTION-GUIDE.md +13 -4
- package/bundled/locales/zh-TW/adoption/STATIC-DYNAMIC-GUIDE.md +7 -1
- package/bundled/locales/zh-TW/adoption/checklists/enterprise.md +7 -1
- package/bundled/locales/zh-TW/adoption/checklists/minimal.md +13 -3
- package/bundled/locales/zh-TW/adoption/checklists/recommended.md +7 -1
- package/bundled/locales/zh-TW/core/code-review-checklist.md +17 -0
- package/bundled/locales/zh-TW/core/developer-memory.md +9 -0
- package/bundled/locales/zh-TW/core/full-coverage-testing.md +48 -8
- package/bundled/locales/zh-TW/core/open-work-tracking.md +90 -14
- package/bundled/locales/zh-TW/core/pipeline-security-gates.md +64 -4
- package/bundled/locales/zh-TW/core/project-context-memory.md +5 -0
- package/bundled/locales/zh-TW/docs/AVAILABLE-STANDARDS.md +70 -0
- package/bundled/locales/zh-TW/docs/CHEATSHEET.md +5 -4
- package/bundled/locales/zh-TW/docs/CLI-INIT-OPTIONS.md +25 -23
- package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +15 -12
- package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +6 -6
- package/bundled/locales/zh-TW/docs/WINDOWS-GUIDE.md +7 -1
- package/bundled/locales/zh-TW/docs/user/GETTING-STARTED.md +44 -0
- package/bundled/locales/zh-TW/options/code-review/pr-review.md +13 -2
- package/bundled/skills/SKILL_NAMING.md +9 -0
- package/bundled/templates/gates/check-anti-fake-tests.mjs +305 -5
- package/package.json +3 -1
- package/src/commands/audit.js +9 -2
- package/src/commands/check.js +17 -0
- package/src/commands/deps.js +31 -1
- package/src/commands/init.js +41 -21
- package/src/commands/open-work.js +65 -6
- package/src/commands/simulate.js +20 -8
- package/src/commands/skills.js +59 -33
- package/src/commands/spec.js +14 -8
- package/src/commands/update.js +106 -66
- package/src/core/manifest.js +12 -10
- package/src/core/marketplace-sentinel.js +5 -0
- package/src/core/open-work-config.js +103 -0
- package/src/core/project-config.js +58 -38
- package/src/flows/init-flow.js +10 -0
- package/src/i18n/messages.js +264 -60
- package/src/installers/skills-installer.js +3 -1
- package/src/prompts/init.js +148 -13
- package/src/reconciler/backup-locations.js +75 -0
- package/src/reconciler/backup-manager.js +29 -45
- package/src/reconciler/index.js +62 -8
- package/src/utils/available-standards-report.js +144 -0
- package/src/utils/available-standards.js +216 -0
- package/src/utils/commit-message-judge.js +137 -0
- package/src/utils/copier.js +5 -4
- package/src/utils/deps-applicability.js +25 -0
- package/src/utils/friction-detector.js +27 -0
- package/src/utils/installed-names-ownership.js +114 -0
- package/src/utils/open-work-tracking.mjs +919 -48
- package/src/utils/sdd-header.js +65 -0
- package/src/utils/skill-frontmatter.js +102 -0
- package/src/utils/skill-name-collision.js +169 -0
- package/src/utils/skills-install-paths.js +114 -0
- package/src/utils/skills-installer.js +63 -105
- package/src/utils/standard-validator.js +98 -27
- package/src/utils/transient-fs.js +113 -0
- package/src/vibe/micro-spec.js +15 -0
- package/standards-registry.json +9 -9
package/src/i18n/messages.js
CHANGED
|
@@ -22,6 +22,29 @@ export const messages = {
|
|
|
22
22
|
disableHint: 'Set UDS_NO_UPDATE_CHECK=1 to disable'
|
|
23
23
|
},
|
|
24
24
|
|
|
25
|
+
// XSPEC-458: standards UDS ships that this project does not have
|
|
26
|
+
availableStandards: {
|
|
27
|
+
title: 'Available upstream, not installed ({count})',
|
|
28
|
+
none: 'Available upstream, not installed: none. Every standard UDS installs by default is already in this project.',
|
|
29
|
+
categoryLine: '{category} ({count})',
|
|
30
|
+
installHint: 'Install one: uds update --apply --add-standard <id> (repeat the flag for several; add --plan to preview first)',
|
|
31
|
+
othersLine: 'Not listed above: {count} more standard(s) in categories `uds init` never installs ({breakdown}). Any of them can still be installed by id with --add-standard.',
|
|
32
|
+
applySummary: '{count} standard(s) UDS ships are not installed in this project (no file was changed for them).',
|
|
33
|
+
applyHint: 'See them: uds update --plan Install one: uds update --apply --add-standard <id>',
|
|
34
|
+
checkLine: '{count} upstream standard(s) not installed — run `uds update --plan` to see them',
|
|
35
|
+
checkNone: 'Upstream standards not installed: none',
|
|
36
|
+
addUnknown: 'Unknown standard id "{id}": it is not in the registry. Closest ids:',
|
|
37
|
+
addAlreadyInstalled: '"{id}" is already installed; nothing to add.',
|
|
38
|
+
addOtherMeans: '"{id}" is a {category} entry, not a standard file under .standards/; --add-standard does not install it (language, integration and template choices do).',
|
|
39
|
+
addNoSource: '"{id}" has no source file in this project\'s format ({format}), so it cannot be installed.',
|
|
40
|
+
addNothingDone: 'Nothing was changed. Run `uds update --plan` to see the rest of the plan.',
|
|
41
|
+
addNeedsMode: '--add-standard needs --plan or --apply. Example: uds update --apply --add-standard <id>',
|
|
42
|
+
addCannotCombine: '--add-standard cannot be combined with {flag}.',
|
|
43
|
+
reportHeldBack: 'Nothing to send: the "available standards" finding above is for you to act on, not feedback for the UDS maintainers.',
|
|
44
|
+
frictionStandard: '{count} available standard(s) not installed',
|
|
45
|
+
frictionSuggestion: 'Run `uds update --plan` to see them; install one with `uds update --apply --add-standard <id>`'
|
|
46
|
+
},
|
|
47
|
+
|
|
25
48
|
// Sweep Command
|
|
26
49
|
sweep: {
|
|
27
50
|
title: 'Auto-Sweep: Code Cleanup',
|
|
@@ -65,6 +88,7 @@ export const messages = {
|
|
|
65
88
|
error: 'Failed to generate spec',
|
|
66
89
|
listTitle: 'Micro-Specs',
|
|
67
90
|
noSpecs: 'No micro-specs found.',
|
|
91
|
+
statusUnparsed: 'format: SDD (status not parsed)',
|
|
68
92
|
createHint: 'Create one with: uds spec create "your intent"',
|
|
69
93
|
total: 'Total',
|
|
70
94
|
noId: 'Error: Please provide a spec ID.',
|
|
@@ -364,7 +388,7 @@ export const messages = {
|
|
|
364
388
|
installCount: 'Will install Skills to {count} location(s)',
|
|
365
389
|
gitSharingHint: 'Tip: Commit .claude/skills/ to Git to share with your team',
|
|
366
390
|
choices: {
|
|
367
|
-
marketplace: '
|
|
391
|
+
marketplace: 'Skills then come from the plugin and none are written to this project',
|
|
368
392
|
userLevel: 'User Level',
|
|
369
393
|
projectLevel: 'Project Level',
|
|
370
394
|
user: 'Shared across all projects',
|
|
@@ -372,7 +396,7 @@ export const messages = {
|
|
|
372
396
|
none: 'No Skills installation'
|
|
373
397
|
},
|
|
374
398
|
explanations: {
|
|
375
|
-
marketplace: ' →
|
|
399
|
+
marketplace: ' → Claude Code only, English skill texts only, stable releases only\n → Puts no files in the project\n → Run: /plugin install universal-dev-standards@asia-ostrich',
|
|
376
400
|
user: ' → Skills available in all your projects',
|
|
377
401
|
project: ' → Consider adding .claude/skills/ to .gitignore',
|
|
378
402
|
none: ' → Full standards will be copied to .standards/'
|
|
@@ -384,7 +408,7 @@ export const messages = {
|
|
|
384
408
|
|
|
385
409
|
// Marketplace Installation Guide
|
|
386
410
|
marketplaceInstall: {
|
|
387
|
-
claudeCodeTip: 'Claude Code
|
|
411
|
+
claudeCodeTip: 'Pre-selected below: install the skills into this project (the main path). Claude Code also has a plugin, an alternative with limits (Claude Code only, English skill texts only, stable releases only, no files in the project). To use the plugin, deselect everything below, then run:',
|
|
388
412
|
guide: 'Please run the following command in Claude Code:',
|
|
389
413
|
note: 'After installation, Skills will auto-load and stay updated.',
|
|
390
414
|
alreadyInstalled: 'Marketplace plugin already installed.',
|
|
@@ -672,6 +696,11 @@ export const messages = {
|
|
|
672
696
|
commands: {
|
|
673
697
|
// Common messages used across commands
|
|
674
698
|
common: {
|
|
699
|
+
localePackMissingTitle: 'The {locale} skill texts are not in this copy of UDS, so the skills were installed in English.',
|
|
700
|
+
localePackMissingLines: [
|
|
701
|
+
'The Traditional and Simplified Chinese texts ship inside the UDS npm package (the locales/ folder), so this is not about your network: this copy of UDS is incomplete or damaged.',
|
|
702
|
+
'To get the {locale} texts, reinstall UDS (npm install -g universal-dev-standards), then run: uds update --apply --skills --locale {localeLower}'
|
|
703
|
+
],
|
|
675
704
|
notInitialized: '✗ Standards not initialized in this project.',
|
|
676
705
|
runInit: 'Run `uds init` to initialize.',
|
|
677
706
|
couldNotReadManifest: '✗ Could not read manifest file.',
|
|
@@ -709,21 +738,43 @@ export const messages = {
|
|
|
709
738
|
seeGuide: 'See: https://github.com/AsiaOstrich/universal-dev-standards/blob/main/adoption/ADOPTION-GUIDE.md'
|
|
710
739
|
},
|
|
711
740
|
|
|
741
|
+
// deps command (XSPEC-456 R6)
|
|
742
|
+
deps: {
|
|
743
|
+
notApplicableNoPackageJson: 'Not applicable: there is no package.json, so nothing was checked',
|
|
744
|
+
notApplicableNoRuntimeDeps: 'Not applicable: this package declares no runtime dependencies, so nothing was checked'
|
|
745
|
+
},
|
|
746
|
+
|
|
712
747
|
// skills command
|
|
713
748
|
skills: {
|
|
714
749
|
title: 'Universal Dev Standards - Installed Skills',
|
|
715
750
|
noSkillsInstalled: 'No Universal Dev Standards skills installed.',
|
|
716
|
-
installViaMarketplace: 'Install via Plugin Marketplace:',
|
|
717
|
-
orManually: 'Or install manually:',
|
|
718
|
-
recommended: '(recommended)',
|
|
719
751
|
legacyMarketplaceWarning: '⚠ Legacy marketplace detected.',
|
|
720
752
|
legacyMarketplaceHint: 'Consider upgrading to Plugin Marketplace for automatic updates.',
|
|
721
|
-
manualInstallDeprecated: '⚠ Manual installation is deprecated.',
|
|
722
|
-
manualInstallHint: 'Consider migrating to Plugin Marketplace.',
|
|
723
753
|
totalUniqueSkills: 'Total unique skills',
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
754
|
+
skillFilesTracked: '`uds check` tracks {files} skill files for these skills (it counts files across every tool, not skills).',
|
|
755
|
+
// XSPEC-462 R1: the two ways to install, side by side, each with its limits.
|
|
756
|
+
installPaths: {
|
|
757
|
+
title: 'Two ways to install UDS skills',
|
|
758
|
+
projectTitle: 'Into the project (the main path)',
|
|
759
|
+
projectCommands: [
|
|
760
|
+
'uds init --skills-location project (new project)',
|
|
761
|
+
'uds update --apply --skills (project already set up)'
|
|
762
|
+
],
|
|
763
|
+
projectPoints: [
|
|
764
|
+
'Works with many AI tools: Claude Code, OpenCode, Cursor, Codex, Copilot, Windsurf and more.',
|
|
765
|
+
'Has Traditional and Simplified Chinese skill texts (a missing one falls back to English with a warning).',
|
|
766
|
+
'Follows the UDS version you installed, beta releases included.',
|
|
767
|
+
'You update it yourself: run the same command again after upgrading UDS.'
|
|
768
|
+
],
|
|
769
|
+
pluginTitle: 'Claude Code plugin marketplace (an alternative, with limits)',
|
|
770
|
+
pluginPoints: [
|
|
771
|
+
'Claude Code only.',
|
|
772
|
+
'English skill texts only: the plugin settings have no language choice.',
|
|
773
|
+
'Follows stable releases only, so a beta of UDS gets no beta skills.',
|
|
774
|
+
'Puts no files in the project, so `uds check` cannot compare them file by file.'
|
|
775
|
+
],
|
|
776
|
+
bothNote: 'Installing both lists every skill twice in Claude Code (for example /commit and /universal-dev-standards:commit). Pick one; `uds check` warns when it finds both.'
|
|
777
|
+
}
|
|
727
778
|
},
|
|
728
779
|
|
|
729
780
|
// check command
|
|
@@ -810,11 +861,7 @@ export const messages = {
|
|
|
810
861
|
skillsProject: 'Project',
|
|
811
862
|
compatible: 'Compatible',
|
|
812
863
|
openCodeNote: 'Note: OpenCode auto-detects .claude/skills/',
|
|
813
|
-
considerMigrating: '⚠ Consider migrating to Plugin Marketplace',
|
|
814
|
-
marketplaceAutoUpdates: 'Marketplace provides automatic updates and easier management.',
|
|
815
|
-
toMigrate: 'To migrate:',
|
|
816
864
|
skillsMarkedNotFound: '⚠ Skills marked as installed but not found',
|
|
817
|
-
recommendedInstall: 'Recommended: Install via Plugin Marketplace',
|
|
818
865
|
skillsNotInstalled: 'Skills not installed (using reference documents only)',
|
|
819
866
|
// Coverage
|
|
820
867
|
coverageSummary: 'Coverage Summary:',
|
|
@@ -866,6 +913,21 @@ export const messages = {
|
|
|
866
913
|
projectCompliant: '✓ Project is compliant with standards',
|
|
867
914
|
issuesDetected: '⚠ Some issues detected. Review above for details.',
|
|
868
915
|
skillsIntegrityFix: ' Skill files listed above are missing or were changed: run `uds update --apply --skills` to reinstall them.',
|
|
916
|
+
// XSPEC-462 R2: project skills and the UDS plugin are both installed. Information only.
|
|
917
|
+
skillsTwiceTitle: '⚠ UDS skills are installed twice: {count} in this project (.claude/skills/) and the plugin {plugin}.',
|
|
918
|
+
skillsTwiceNames: 'Claude Code runs plugin skills as /<plugin>:<skill> and project skills as /<skill>, so each skill shows up twice (for example /commit and /universal-dev-standards:commit).',
|
|
919
|
+
skillsTwiceContext: 'Every skill\'s name and description is put into context on every turn, so the duplicate takes that space twice.',
|
|
920
|
+
skillsTwiceChoose: 'Keep one:',
|
|
921
|
+
skillsTwiceKeepProject: 'Keep the project copy: in Claude Code run /plugin uninstall {plugin}',
|
|
922
|
+
skillsTwiceKeepPlugin: 'Keep the plugin: delete the UDS skill folders under .claude/skills/ (`uds uninstall --skills-only` removes the skills and commands of every tool in this project).',
|
|
923
|
+
// XSPEC-465 R1: a personal skill has the same name as a UDS skill installed in the project. Information only.
|
|
924
|
+
skillNameCollisionTitle: '⚠ {count} UDS skill(s) installed in this project share a name with a personal skill, and Claude Code runs the personal one without any error:',
|
|
925
|
+
skillNameCollisionItem: '{command}: your {personal} replaces the UDS skill {uds}',
|
|
926
|
+
skillNameCollisionEffect: 'Personal skills rank above project skills, so the UDS skill is never run under that name.',
|
|
927
|
+
skillNameCollisionChoose: 'Pick one:',
|
|
928
|
+
skillNameCollisionRename: 'Keep both: rename your personal skill (its folder name, and `name:` in its SKILL.md).',
|
|
929
|
+
skillNameCollisionDrop: 'Keep yours only: delete the UDS skill folder under .claude/skills/ (`uds uninstall --skills-only` removes the skills and commands of every tool in this project).',
|
|
930
|
+
skillNameCollisionLimits: 'This check does not see skills your organization deploys at enterprise level (they rank above personal skills), or personal skills added after this run. No warning is not proof of no collision; `uds check` looks again every time.',
|
|
869
931
|
commandsIntegrityFix: ' Command files listed above are missing or were changed: run `uds update --apply --commands` to reinstall them.',
|
|
870
932
|
commandsStaleRecordsIgnored: ' {count} command record(s) ignored: they describe commands UDS does not ship.',
|
|
871
933
|
commandsElsewhereIgnored: ' {count} command record(s) ignored: those commands are installed at user level, shared by every project, so this project\'s check does not vouch for them.',
|
|
@@ -975,6 +1037,13 @@ export const messages = {
|
|
|
975
1037
|
integrations: 'Generated Configs',
|
|
976
1038
|
skillsLabel: 'Skills',
|
|
977
1039
|
skillsMarketplace: 'Plugin Marketplace (managed by Claude Code)',
|
|
1040
|
+
skillsFromPluginTitle: 'Skills: provided by the Claude Code plugin (no skill file was written to this project).',
|
|
1041
|
+
skillsSkippedTitle: 'Skills: none will be installed into this project.',
|
|
1042
|
+
skillsFromPluginLines: [
|
|
1043
|
+
'Install the plugin in Claude Code: /plugin marketplace add AsiaOstrich/universal-dev-standards, then /plugin install universal-dev-standards@asia-ostrich',
|
|
1044
|
+
'The plugin works in Claude Code only, loads English skill texts only, follows stable releases only, and puts no files in the project.',
|
|
1045
|
+
'To put the skills into this project instead (many AI tools, Chinese texts): uds config --type skills --ai-tool claude-code --skills-location project --yes'
|
|
1046
|
+
],
|
|
978
1047
|
skillsInstallTo: 'install/update to {location}',
|
|
979
1048
|
skillsUsingExisting: 'using existing ({location})',
|
|
980
1049
|
skillsInstalledToCount: '{count} locations',
|
|
@@ -1071,6 +1140,7 @@ export const messages = {
|
|
|
1071
1140
|
droppedRetiredHashes: 'Dropped {count} manifest record(s) for files UDS no longer ships and that are already gone:',
|
|
1072
1141
|
droppedForeignSkillHashes: 'Dropped {count} skill record(s) that do not describe files UDS installed.',
|
|
1073
1142
|
droppedForeignCommandHashes: 'Dropped {count} command record(s) for commands UDS does not ship.',
|
|
1143
|
+
droppedForeignNames: 'Dropped {count} skill/command name(s) from the manifest that UDS does not ship or that are not installed.',
|
|
1074
1144
|
// Success
|
|
1075
1145
|
updateSuccess: '✓ Standards updated successfully!',
|
|
1076
1146
|
versionUpdated: 'Version: {current} → {latest}',
|
|
@@ -1082,10 +1152,8 @@ export const messages = {
|
|
|
1082
1152
|
skillsLatest: 'Latest',
|
|
1083
1153
|
updateViaMarketplace: 'Update via Plugin Marketplace:',
|
|
1084
1154
|
autoUpdate: 'Auto-update: Restart Claude Code (updates on startup)',
|
|
1085
|
-
manualUpdate: 'Manual: Run /plugin marketplace update
|
|
1086
|
-
|
|
1087
|
-
recommendedMigrate: 'Recommended: Migrate to Plugin Marketplace',
|
|
1088
|
-
orUpdateManually: 'Or update manually:',
|
|
1155
|
+
manualUpdate: 'Manual: Run /plugin marketplace update asia-ostrich',
|
|
1156
|
+
skillsUpdateCommand: 'Update them with: uds update --apply --skills',
|
|
1089
1157
|
// Integrations only
|
|
1090
1158
|
updatingIntegrationsOnly: 'Updating integration files only...',
|
|
1091
1159
|
noAiToolsConfigured: '⚠ No AI tools configured in manifest.',
|
|
@@ -1153,7 +1221,7 @@ export const messages = {
|
|
|
1153
1221
|
commandsUpdatedCounts: 'Updated {commands} commands for {tools} AI tool(s): {locations}',
|
|
1154
1222
|
commandsUpdatedWithErrors: 'Updated Commands with {errors} errors',
|
|
1155
1223
|
// New standards detection
|
|
1156
|
-
newStandardsFound: '{count} new standard(s) available
|
|
1224
|
+
newStandardsFound: '{count} new standard(s) available (upstream has them, this project does not):',
|
|
1157
1225
|
installNewStandards: 'Install these new standards?',
|
|
1158
1226
|
installingNewStandards: 'Installing new standards...',
|
|
1159
1227
|
newStandardsInstalled: 'Installed {count} new standard(s)',
|
|
@@ -1309,6 +1377,29 @@ export const messages = {
|
|
|
1309
1377
|
disableHint: '設定 UDS_NO_UPDATE_CHECK=1 可關閉'
|
|
1310
1378
|
},
|
|
1311
1379
|
|
|
1380
|
+
// XSPEC-458:UDS 有出貨、這個專案沒有的標準
|
|
1381
|
+
availableStandards: {
|
|
1382
|
+
title: '上游有、專案沒裝({count} 個)',
|
|
1383
|
+
none: '上游有、專案沒裝:沒有。UDS 預設安裝的標準,這個專案都已經有了。',
|
|
1384
|
+
categoryLine: '{category}({count})',
|
|
1385
|
+
installHint: '要裝其中一個:uds update --apply --add-standard <id>(可重複旗標裝多個;先加 --plan 預覽)',
|
|
1386
|
+
othersLine: '上面沒列出的另有 {count} 個標準,屬於 `uds init` 從不安裝的類別({breakdown});它們仍可用 --add-standard 指名安裝。',
|
|
1387
|
+
applySummary: '上游有 {count} 個標準沒裝在這個專案(沒有為它們改動任何檔案)。',
|
|
1388
|
+
applyHint: '查看:uds update --plan 安裝其中一個:uds update --apply --add-standard <id>',
|
|
1389
|
+
checkLine: '上游有 {count} 個標準未安裝 — 執行 `uds update --plan` 查看',
|
|
1390
|
+
checkNone: '上游有、專案沒裝的標準:沒有',
|
|
1391
|
+
addUnknown: '未知的標準 id「{id}」:不在登記表裡。最相近的 id:',
|
|
1392
|
+
addAlreadyInstalled: '「{id}」已安裝,不需要再加。',
|
|
1393
|
+
addOtherMeans: '「{id}」屬於 {category} 類,不是 .standards/ 裡的標準檔,--add-standard 不安裝它(它由語言、整合、範本的選項安裝)。',
|
|
1394
|
+
addNoSource: '「{id}」在這個專案的格式({format})下沒有來源檔,無法安裝。',
|
|
1395
|
+
addNothingDone: '沒有改動任何東西。執行 `uds update --plan` 看計畫的其餘部分。',
|
|
1396
|
+
addNeedsMode: '--add-standard 要搭配 --plan 或 --apply。例:uds update --apply --add-standard <id>',
|
|
1397
|
+
addCannotCombine: '--add-standard 不能與 {flag} 同時使用。',
|
|
1398
|
+
reportHeldBack: '沒有要送出的內容:上面「可用標準未安裝」那一項是給你自己處理的,不是給 UDS 維護者的回饋。',
|
|
1399
|
+
frictionStandard: '{count} 個可用標準未安裝',
|
|
1400
|
+
frictionSuggestion: '執行 `uds update --plan` 查看;用 `uds update --apply --add-standard <id>` 安裝其中一個'
|
|
1401
|
+
},
|
|
1402
|
+
|
|
1312
1403
|
// Sweep Command
|
|
1313
1404
|
sweep: {
|
|
1314
1405
|
title: '自動清理:程式碼整理',
|
|
@@ -1352,6 +1443,7 @@ export const messages = {
|
|
|
1352
1443
|
error: '生成規格失敗',
|
|
1353
1444
|
listTitle: '微規格列表',
|
|
1354
1445
|
noSpecs: '沒有找到微規格。',
|
|
1446
|
+
statusUnparsed: '格式:SDD(狀態未解析)',
|
|
1355
1447
|
createHint: '使用以下命令建立:uds spec create "您的意圖"',
|
|
1356
1448
|
total: '總計',
|
|
1357
1449
|
noId: '錯誤:請提供規格 ID。',
|
|
@@ -1651,7 +1743,7 @@ export const messages = {
|
|
|
1651
1743
|
installCount: '將安裝 Skills 到 {count} 個位置',
|
|
1652
1744
|
gitSharingHint: '提示:將 .claude/skills/ 加入版控,即可與團隊共享',
|
|
1653
1745
|
choices: {
|
|
1654
|
-
marketplace: '
|
|
1746
|
+
marketplace: '技能改由外掛提供,這個專案不會寫入任何技能檔',
|
|
1655
1747
|
userLevel: '使用者層級',
|
|
1656
1748
|
projectLevel: '專案層級',
|
|
1657
1749
|
user: '跨專案共享',
|
|
@@ -1659,7 +1751,7 @@ export const messages = {
|
|
|
1659
1751
|
none: '不安裝 Skills'
|
|
1660
1752
|
},
|
|
1661
1753
|
explanations: {
|
|
1662
|
-
marketplace: ' →
|
|
1754
|
+
marketplace: ' → 只支援 Claude Code、只有英文技能文字、只跟正式版\n → 專案內不放檔案\n → 執行: /plugin install universal-dev-standards@asia-ostrich',
|
|
1663
1755
|
user: ' → Skills 可在所有專案中使用',
|
|
1664
1756
|
project: ' → 建議將 .claude/skills/ 加入 .gitignore',
|
|
1665
1757
|
none: ' → 完整標準將複製到 .standards/'
|
|
@@ -1671,7 +1763,7 @@ export const messages = {
|
|
|
1671
1763
|
|
|
1672
1764
|
// Marketplace Installation Guide
|
|
1673
1765
|
marketplaceInstall: {
|
|
1674
|
-
claudeCodeTip: 'Claude Code
|
|
1766
|
+
claudeCodeTip: '下方已預先勾選:把技能裝進這個專案(主要路徑)。Claude Code 另有外掛,是有限制的替代方式(只支援 Claude Code、只有英文技能文字、只跟正式版、專案內不放檔案)。要用外掛,請取消下方所有勾選,再執行:',
|
|
1675
1767
|
guide: '請在 Claude Code 中執行以下指令:',
|
|
1676
1768
|
note: '安裝完成後,Skills 將自動載入並保持更新。',
|
|
1677
1769
|
alreadyInstalled: 'Marketplace 外掛已安裝。',
|
|
@@ -1959,6 +2051,11 @@ export const messages = {
|
|
|
1959
2051
|
commands: {
|
|
1960
2052
|
// Common messages used across commands
|
|
1961
2053
|
common: {
|
|
2054
|
+
localePackMissingTitle: '這份 UDS 裡沒有 {locale} 的技能文字,所以技能裝的是英文版。',
|
|
2055
|
+
localePackMissingLines: [
|
|
2056
|
+
'繁體與簡體中文文字都放在 UDS 的 npm 套件內(locales/ 資料夾),所以這不是網路問題:這份 UDS 不完整或已損毀。',
|
|
2057
|
+
'要取得 {locale} 文字,請重新安裝 UDS(npm install -g universal-dev-standards),再執行:uds update --apply --skills --locale {localeLower}'
|
|
2058
|
+
],
|
|
1962
2059
|
notInitialized: '✗ 此專案尚未初始化標準。',
|
|
1963
2060
|
runInit: '執行 `uds init` 進行初始化。',
|
|
1964
2061
|
couldNotReadManifest: '✗ 無法讀取 manifest 檔案。',
|
|
@@ -1996,21 +2093,43 @@ export const messages = {
|
|
|
1996
2093
|
seeGuide: '參閱:https://github.com/AsiaOstrich/universal-dev-standards/blob/main/adoption/ADOPTION-GUIDE.md'
|
|
1997
2094
|
},
|
|
1998
2095
|
|
|
2096
|
+
// deps command (XSPEC-456 R6)
|
|
2097
|
+
deps: {
|
|
2098
|
+
notApplicableNoPackageJson: '不適用:沒有 package.json,未檢查任何東西',
|
|
2099
|
+
notApplicableNoRuntimeDeps: '不適用:這個套件沒有宣告執行期相依,未檢查任何東西'
|
|
2100
|
+
},
|
|
2101
|
+
|
|
1999
2102
|
// skills command
|
|
2000
2103
|
skills: {
|
|
2001
2104
|
title: '通用開發標準 - 已安裝的 Skills',
|
|
2002
2105
|
noSkillsInstalled: '未安裝任何通用開發標準 Skills。',
|
|
2003
|
-
installViaMarketplace: '透過 Plugin Marketplace 安裝:',
|
|
2004
|
-
orManually: '或手動安裝:',
|
|
2005
|
-
recommended: '(推薦)',
|
|
2006
2106
|
legacyMarketplaceWarning: '⚠ 偵測到舊版 marketplace。',
|
|
2007
2107
|
legacyMarketplaceHint: '建議升級到 Plugin Marketplace 以獲得自動更新。',
|
|
2008
|
-
manualInstallDeprecated: '⚠ 手動安裝已棄用。',
|
|
2009
|
-
manualInstallHint: '建議遷移到 Plugin Marketplace。',
|
|
2010
2108
|
totalUniqueSkills: '唯一 Skills 總數',
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2109
|
+
skillFilesTracked: '`uds check` 追蹤這些技能的 {files} 個技能檔案(它計的是所有工具的檔案數,不是技能數)。',
|
|
2110
|
+
// XSPEC-462 R1:兩種裝法並列,各自寫明限制。
|
|
2111
|
+
installPaths: {
|
|
2112
|
+
title: '安裝 UDS 技能的兩種方式',
|
|
2113
|
+
projectTitle: '裝進專案(主要路徑)',
|
|
2114
|
+
projectCommands: [
|
|
2115
|
+
'uds init --skills-location project (新專案)',
|
|
2116
|
+
'uds update --apply --skills (已設定過的專案)'
|
|
2117
|
+
],
|
|
2118
|
+
projectPoints: [
|
|
2119
|
+
'支援多種 AI 工具:Claude Code、OpenCode、Cursor、Codex、Copilot、Windsurf 等。',
|
|
2120
|
+
'有繁體中文與簡體中文的技能文字(缺的會警告並退回英文)。',
|
|
2121
|
+
'跟著你裝的 UDS 版本走,包含測試版。',
|
|
2122
|
+
'由你自己更新:升級 UDS 後再跑一次同一個指令。'
|
|
2123
|
+
],
|
|
2124
|
+
pluginTitle: 'Claude Code 外掛市集(替代方式,有限制)',
|
|
2125
|
+
pluginPoints: [
|
|
2126
|
+
'只支援 Claude Code。',
|
|
2127
|
+
'只有英文技能文字:外掛設定沒有語系選擇。',
|
|
2128
|
+
'只跟正式版:UDS 的測試版不會有測試版技能。',
|
|
2129
|
+
'專案內不放檔案,所以 `uds check` 無法逐檔比對。'
|
|
2130
|
+
],
|
|
2131
|
+
bothNote: '兩種都裝,Claude Code 會把每個技能列出兩次(例如 /commit 與 /universal-dev-standards:commit)。請擇一;`uds check` 發現兩者並存時會警告。'
|
|
2132
|
+
}
|
|
2014
2133
|
},
|
|
2015
2134
|
|
|
2016
2135
|
// check command
|
|
@@ -2097,11 +2216,7 @@ export const messages = {
|
|
|
2097
2216
|
skillsProject: '專案',
|
|
2098
2217
|
compatible: '相容',
|
|
2099
2218
|
openCodeNote: '注意:OpenCode 自動偵測 .claude/skills/',
|
|
2100
|
-
considerMigrating: '⚠ 建議遷移到 Plugin Marketplace',
|
|
2101
|
-
marketplaceAutoUpdates: 'Marketplace 提供自動更新和更簡易的管理。',
|
|
2102
|
-
toMigrate: '遷移步驟:',
|
|
2103
2219
|
skillsMarkedNotFound: '⚠ Skills 標記為已安裝但找不到',
|
|
2104
|
-
recommendedInstall: '建議:透過 Plugin Marketplace 安裝',
|
|
2105
2220
|
skillsNotInstalled: 'Skills 未安裝(僅使用參考文件)',
|
|
2106
2221
|
// Coverage
|
|
2107
2222
|
coverageSummary: '覆蓋率摘要:',
|
|
@@ -2153,6 +2268,21 @@ export const messages = {
|
|
|
2153
2268
|
projectCompliant: '✓ 專案符合標準',
|
|
2154
2269
|
issuesDetected: '⚠ 偵測到一些問題。請檢視上方詳情。',
|
|
2155
2270
|
skillsIntegrityFix: ' 上方列出的技能檔遺失或被改過:執行 `uds update --apply --skills` 重新安裝。',
|
|
2271
|
+
// XSPEC-462 R2:專案層與 UDS 外掛都裝了。純資訊。
|
|
2272
|
+
skillsTwiceTitle: '⚠ UDS 技能裝了兩次:本專案(.claude/skills/)有 {count} 個,外掛 {plugin} 也已安裝。',
|
|
2273
|
+
skillsTwiceNames: 'Claude Code 執行外掛技能是 /<外掛名>:<技能名>,執行專案技能是 /<技能名>,所以每個技能會出現兩次(例如 /commit 與 /universal-dev-standards:commit)。',
|
|
2274
|
+
skillsTwiceContext: '每個技能的名稱與描述每回合都會放進脈絡,重複裝等於重複占用。',
|
|
2275
|
+
skillsTwiceChoose: '二擇一:',
|
|
2276
|
+
skillsTwiceKeepProject: '留專案這份:在 Claude Code 執行 /plugin uninstall {plugin}',
|
|
2277
|
+
skillsTwiceKeepPlugin: '留外掛:刪掉 .claude/skills/ 底下的 UDS 技能資料夾(`uds uninstall --skills-only` 會移除本專案所有工具的技能與命令)。',
|
|
2278
|
+
// XSPEC-465 R1:個人層技能與專案裡裝的 UDS 技能同名。純資訊。
|
|
2279
|
+
skillNameCollisionTitle: '⚠ 本專案裝的 UDS 技能有 {count} 個與個人技能同名,Claude Code 會執行你的個人技能,而且不會報任何錯:',
|
|
2280
|
+
skillNameCollisionItem: '{command}:你的 {personal} 蓋掉了 UDS 技能 {uds}',
|
|
2281
|
+
skillNameCollisionEffect: '個人層的優先序高於專案層,所以這個名稱下 UDS 技能永遠不會被執行。',
|
|
2282
|
+
skillNameCollisionChoose: '二擇一:',
|
|
2283
|
+
skillNameCollisionRename: '兩個都留:把你的個人技能改名(資料夾名稱,以及 SKILL.md 裡的 `name:`)。',
|
|
2284
|
+
skillNameCollisionDrop: '只留你的:刪掉 .claude/skills/ 底下那個 UDS 技能資料夾(`uds uninstall --skills-only` 會移除本專案所有工具的技能與命令)。',
|
|
2285
|
+
skillNameCollisionLimits: '這項檢查看不到組織以企業層下發的技能(優先序高於個人層),也看不到這次執行之後才新增的個人技能。沒有警告不等於沒有撞名;`uds check` 每次都會重查。',
|
|
2156
2286
|
commandsIntegrityFix: ' 上方列出的斜線命令檔遺失或被改過:執行 `uds update --apply --commands` 重新安裝。',
|
|
2157
2287
|
commandsStaleRecordsIgnored: ' 已忽略 {count} 筆命令紀錄:它們描述的是 UDS 不出貨的命令。',
|
|
2158
2288
|
commandsElsewhereIgnored: ' 已忽略 {count} 筆命令紀錄:這些命令裝在使用者層級(所有專案共用),本專案的檢查不為它們背書。',
|
|
@@ -2260,6 +2390,13 @@ export const messages = {
|
|
|
2260
2390
|
integrations: '整合配置檔',
|
|
2261
2391
|
skillsLabel: 'Skills',
|
|
2262
2392
|
skillsMarketplace: 'Plugin Marketplace(由 Claude Code 管理)',
|
|
2393
|
+
skillsFromPluginTitle: '技能:由 Claude Code 外掛提供(這個專案沒有寫入任何技能檔)。',
|
|
2394
|
+
skillsSkippedTitle: '技能:不會把任何技能裝進這個專案。',
|
|
2395
|
+
skillsFromPluginLines: [
|
|
2396
|
+
'在 Claude Code 安裝外掛:/plugin marketplace add AsiaOstrich/universal-dev-standards,再執行 /plugin install universal-dev-standards@asia-ostrich',
|
|
2397
|
+
'外掛只支援 Claude Code,只載入英文技能文字,只跟正式版,專案內不放檔案。',
|
|
2398
|
+
'想改成把技能裝進這個專案(多種 AI 工具、有中文文字):uds config --type skills --ai-tool claude-code --skills-location project --yes'
|
|
2399
|
+
],
|
|
2263
2400
|
skillsInstallTo: '安裝/更新到 {location}',
|
|
2264
2401
|
skillsUsingExisting: '使用現有({location})',
|
|
2265
2402
|
skillsInstalledToCount: '已安裝到 {count} 個位置',
|
|
@@ -2353,6 +2490,7 @@ export const messages = {
|
|
|
2353
2490
|
droppedRetiredHashes: '已清掉 {count} 筆 manifest 紀錄——這些檔案 UDS 已不再出貨,而且本來就已經不在了:',
|
|
2354
2491
|
droppedForeignSkillHashes: '已清掉 {count} 筆技能紀錄——它們描述的不是 UDS 安裝的檔案。',
|
|
2355
2492
|
droppedForeignCommandHashes: '已清掉 {count} 筆命令紀錄——UDS 不出貨這些命令。',
|
|
2493
|
+
droppedForeignNames: '已從 manifest 清掉 {count} 個技能/命令名稱——UDS 不出貨,或並未安裝。',
|
|
2356
2494
|
// Success
|
|
2357
2495
|
updateSuccess: '✓ 標準更新成功!',
|
|
2358
2496
|
versionUpdated: '版本:{current} → {latest}',
|
|
@@ -2364,10 +2502,8 @@ export const messages = {
|
|
|
2364
2502
|
skillsLatest: '最新',
|
|
2365
2503
|
updateViaMarketplace: '透過 Plugin Marketplace 更新:',
|
|
2366
2504
|
autoUpdate: '自動更新:重新啟動 Claude Code(啟動時更新)',
|
|
2367
|
-
manualUpdate: '手動:執行 /plugin marketplace update
|
|
2368
|
-
|
|
2369
|
-
recommendedMigrate: '建議:遷移到 Plugin Marketplace',
|
|
2370
|
-
orUpdateManually: '或手動更新:',
|
|
2505
|
+
manualUpdate: '手動:執行 /plugin marketplace update asia-ostrich',
|
|
2506
|
+
skillsUpdateCommand: '更新方式:uds update --apply --skills',
|
|
2371
2507
|
// Integrations only
|
|
2372
2508
|
updatingIntegrationsOnly: '僅更新整合檔案中...',
|
|
2373
2509
|
noAiToolsConfigured: '⚠ manifest 中未設定任何 AI 工具。',
|
|
@@ -2433,7 +2569,7 @@ export const messages = {
|
|
|
2433
2569
|
commandsUpdatedCounts: '已為 {tools} 個 AI 工具更新 {commands} 個斜線命令:{locations}',
|
|
2434
2570
|
commandsUpdatedWithErrors: '更新斜線命令時發生 {errors} 個錯誤',
|
|
2435
2571
|
// New standards detection
|
|
2436
|
-
newStandardsFound: '有 {count}
|
|
2572
|
+
newStandardsFound: '有 {count} 個新標準可用(上游有、這個專案沒有):',
|
|
2437
2573
|
installNewStandards: '是否安裝這些新標準?',
|
|
2438
2574
|
installingNewStandards: '安裝新標準中...',
|
|
2439
2575
|
newStandardsInstalled: '已安裝 {count} 個新標準',
|
|
@@ -2589,6 +2725,29 @@ export const messages = {
|
|
|
2589
2725
|
disableHint: '设置 UDS_NO_UPDATE_CHECK=1 可关闭'
|
|
2590
2726
|
},
|
|
2591
2727
|
|
|
2728
|
+
// XSPEC-458:UDS 有发布、这个项目没有的标准
|
|
2729
|
+
availableStandards: {
|
|
2730
|
+
title: '上游有、项目没装({count} 个)',
|
|
2731
|
+
none: '上游有、项目没装:没有。UDS 默认安装的标准,这个项目都已经有了。',
|
|
2732
|
+
categoryLine: '{category}({count})',
|
|
2733
|
+
installHint: '要装其中一个:uds update --apply --add-standard <id>(可重复该选项装多个;先加 --plan 预览)',
|
|
2734
|
+
othersLine: '上面没列出的另有 {count} 个标准,属于 `uds init` 从不安装的类别({breakdown});它们仍可用 --add-standard 指名安装。',
|
|
2735
|
+
applySummary: '上游有 {count} 个标准没装在这个项目(没有为它们改动任何文件)。',
|
|
2736
|
+
applyHint: '查看:uds update --plan 安装其中一个:uds update --apply --add-standard <id>',
|
|
2737
|
+
checkLine: '上游有 {count} 个标准未安装 — 执行 `uds update --plan` 查看',
|
|
2738
|
+
checkNone: '上游有、项目没装的标准:没有',
|
|
2739
|
+
addUnknown: '未知的标准 id“{id}”:不在登记表里。最相近的 id:',
|
|
2740
|
+
addAlreadyInstalled: '“{id}”已安装,不需要再加。',
|
|
2741
|
+
addOtherMeans: '“{id}”属于 {category} 类,不是 .standards/ 里的标准文件,--add-standard 不安装它(它由语言、集成、模板的选项安装)。',
|
|
2742
|
+
addNoSource: '“{id}”在这个项目的格式({format})下没有来源文件,无法安装。',
|
|
2743
|
+
addNothingDone: '没有改动任何东西。执行 `uds update --plan` 查看计划的其余部分。',
|
|
2744
|
+
addNeedsMode: '--add-standard 要搭配 --plan 或 --apply。例:uds update --apply --add-standard <id>',
|
|
2745
|
+
addCannotCombine: '--add-standard 不能与 {flag} 同时使用。',
|
|
2746
|
+
reportHeldBack: '没有要发送的内容:上面“可用标准未安装”那一项是给你自己处理的,不是给 UDS 维护者的反馈。',
|
|
2747
|
+
frictionStandard: '{count} 个可用标准未安装',
|
|
2748
|
+
frictionSuggestion: '执行 `uds update --plan` 查看;用 `uds update --apply --add-standard <id>` 安装其中一个'
|
|
2749
|
+
},
|
|
2750
|
+
|
|
2592
2751
|
// Sweep Command
|
|
2593
2752
|
sweep: {
|
|
2594
2753
|
title: '自动清理:代码整理',
|
|
@@ -2632,6 +2791,7 @@ export const messages = {
|
|
|
2632
2791
|
error: '生成规格失败',
|
|
2633
2792
|
listTitle: '微规格列表',
|
|
2634
2793
|
noSpecs: '没有找到微规格。',
|
|
2794
|
+
statusUnparsed: '格式:SDD(状态未解析)',
|
|
2635
2795
|
createHint: '使用以下命令创建:uds spec create "您的意图"',
|
|
2636
2796
|
total: '总计',
|
|
2637
2797
|
noId: '错误:请提供规格 ID。',
|
|
@@ -2931,7 +3091,7 @@ export const messages = {
|
|
|
2931
3091
|
installCount: '将安装 Skills 到 {count} 个位置',
|
|
2932
3092
|
gitSharingHint: '提示:将 .claude/skills/ 加入版本控制,即可与团队共享',
|
|
2933
3093
|
choices: {
|
|
2934
|
-
marketplace: '
|
|
3094
|
+
marketplace: '技能改由插件提供,这个项目不会写入任何技能文件',
|
|
2935
3095
|
userLevel: '用户层级',
|
|
2936
3096
|
projectLevel: '项目层级',
|
|
2937
3097
|
user: '跨项目共享',
|
|
@@ -2939,7 +3099,7 @@ export const messages = {
|
|
|
2939
3099
|
none: '不安装 Skills'
|
|
2940
3100
|
},
|
|
2941
3101
|
explanations: {
|
|
2942
|
-
marketplace: ' →
|
|
3102
|
+
marketplace: ' → 只支持 Claude Code、只有英文技能文本、只跟正式版\n → 项目内不放文件\n → 执行: /plugin install universal-dev-standards@asia-ostrich',
|
|
2943
3103
|
user: ' → Skills 可在所有项目中使用',
|
|
2944
3104
|
project: ' → 建议将 .claude/skills/ 加入 .gitignore',
|
|
2945
3105
|
none: ' → 完整标准将复制到 .standards/'
|
|
@@ -2951,7 +3111,7 @@ export const messages = {
|
|
|
2951
3111
|
|
|
2952
3112
|
// Marketplace Installation Guide
|
|
2953
3113
|
marketplaceInstall: {
|
|
2954
|
-
claudeCodeTip: 'Claude Code
|
|
3114
|
+
claudeCodeTip: '下方已预先勾选:把技能装进这个项目(主要路径)。Claude Code 另有插件,是有限制的替代方式(只支持 Claude Code、只有英文技能文本、只跟正式版、项目内不放文件)。要用插件,请取消下方所有勾选,再执行:',
|
|
2955
3115
|
guide: '请在 Claude Code 中执行以下指令:',
|
|
2956
3116
|
note: '安装完成后,Skills 将自动加载并保持更新。',
|
|
2957
3117
|
alreadyInstalled: 'Marketplace 插件已安装。',
|
|
@@ -3168,6 +3328,11 @@ export const messages = {
|
|
|
3168
3328
|
commands: {
|
|
3169
3329
|
// Common messages used across commands
|
|
3170
3330
|
common: {
|
|
3331
|
+
localePackMissingTitle: '这份 UDS 里没有 {locale} 的技能文本,所以技能装的是英文版。',
|
|
3332
|
+
localePackMissingLines: [
|
|
3333
|
+
'繁体与简体中文文本都放在 UDS 的 npm 包内(locales/ 文件夹),所以这不是网络问题:这份 UDS 不完整或已损坏。',
|
|
3334
|
+
'要获取 {locale} 文本,请重新安装 UDS(npm install -g universal-dev-standards),再执行:uds update --apply --skills --locale {localeLower}'
|
|
3335
|
+
],
|
|
3171
3336
|
notInitialized: '✗ 此项目尚未初始化标准。',
|
|
3172
3337
|
runInit: '执行 `uds init` 进行初始化。',
|
|
3173
3338
|
couldNotReadManifest: '✗ 无法读取 manifest 文件。',
|
|
@@ -3243,6 +3408,13 @@ export const messages = {
|
|
|
3243
3408
|
integrations: '集成配置文件',
|
|
3244
3409
|
skillsLabel: 'Skills',
|
|
3245
3410
|
skillsMarketplace: 'Plugin Marketplace(由 Claude Code 管理)',
|
|
3411
|
+
skillsFromPluginTitle: '技能:由 Claude Code 插件提供(这个项目没有写入任何技能文件)。',
|
|
3412
|
+
skillsSkippedTitle: '技能:不会把任何技能装进这个项目。',
|
|
3413
|
+
skillsFromPluginLines: [
|
|
3414
|
+
'在 Claude Code 安装插件:/plugin marketplace add AsiaOstrich/universal-dev-standards,再执行 /plugin install universal-dev-standards@asia-ostrich',
|
|
3415
|
+
'插件只支持 Claude Code,只加载英文技能文本,只跟正式版,项目内不放文件。',
|
|
3416
|
+
'想改成把技能装进这个项目(多种 AI 工具、有中文文本):uds config --type skills --ai-tool claude-code --skills-location project --yes'
|
|
3417
|
+
],
|
|
3246
3418
|
skillsInstallTo: '安装/更新到 {location}',
|
|
3247
3419
|
skillsUsingExisting: '使用现有({location})',
|
|
3248
3420
|
skillsInstalledToCount: '已安装到 {count} 个位置',
|
|
@@ -3292,21 +3464,43 @@ export const messages = {
|
|
|
3292
3464
|
runCheck: '执行 `uds check` 验证采用状态'
|
|
3293
3465
|
},
|
|
3294
3466
|
|
|
3467
|
+
// deps command (XSPEC-456 R6)
|
|
3468
|
+
deps: {
|
|
3469
|
+
notApplicableNoPackageJson: '不适用:没有 package.json,未检查任何东西',
|
|
3470
|
+
notApplicableNoRuntimeDeps: '不适用:这个包没有声明运行时依赖,未检查任何东西'
|
|
3471
|
+
},
|
|
3472
|
+
|
|
3295
3473
|
// skills command
|
|
3296
3474
|
skills: {
|
|
3297
3475
|
title: '通用开发标准 - 已安装的 Skills',
|
|
3298
3476
|
noSkillsInstalled: '未安装任何通用开发标准 Skills。',
|
|
3299
|
-
installViaMarketplace: '通过 Plugin Marketplace 安装:',
|
|
3300
|
-
orManually: '或手动安装:',
|
|
3301
|
-
recommended: '(推荐)',
|
|
3302
3477
|
legacyMarketplaceWarning: '⚠ 检测到旧版 marketplace。',
|
|
3303
3478
|
legacyMarketplaceHint: '建议升级到 Plugin Marketplace 获得自动更新。',
|
|
3304
|
-
manualInstallDeprecated: '⚠ 手动安装已弃用。',
|
|
3305
|
-
manualInstallHint: '建议迁移到 Plugin Marketplace。',
|
|
3306
3479
|
totalUniqueSkills: '唯一 Skills 总数',
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3480
|
+
skillFilesTracked: '`uds check` 跟踪这些技能的 {files} 个技能文件(它计的是所有工具的文件数,不是技能数)。',
|
|
3481
|
+
// XSPEC-462 R1:两种装法并列,各自写明限制。
|
|
3482
|
+
installPaths: {
|
|
3483
|
+
title: '安装 UDS 技能的两种方式',
|
|
3484
|
+
projectTitle: '装进项目(主要路径)',
|
|
3485
|
+
projectCommands: [
|
|
3486
|
+
'uds init --skills-location project (新项目)',
|
|
3487
|
+
'uds update --apply --skills (已设置过的项目)'
|
|
3488
|
+
],
|
|
3489
|
+
projectPoints: [
|
|
3490
|
+
'支持多种 AI 工具:Claude Code、OpenCode、Cursor、Codex、Copilot、Windsurf 等。',
|
|
3491
|
+
'有繁体中文与简体中文的技能文本(缺失的会警告并退回英文)。',
|
|
3492
|
+
'跟随你安装的 UDS 版本,包含测试版。',
|
|
3493
|
+
'由你自己更新:升级 UDS 后再运行一次同一个指令。'
|
|
3494
|
+
],
|
|
3495
|
+
pluginTitle: 'Claude Code 插件市场(替代方式,有限制)',
|
|
3496
|
+
pluginPoints: [
|
|
3497
|
+
'只支持 Claude Code。',
|
|
3498
|
+
'只有英文技能文本:插件设置没有语言选项。',
|
|
3499
|
+
'只跟正式版:UDS 的测试版不会有测试版技能。',
|
|
3500
|
+
'项目内不放文件,所以 `uds check` 无法逐文件比对。'
|
|
3501
|
+
],
|
|
3502
|
+
bothNote: '两种都装,Claude Code 会把每个技能列出两次(例如 /commit 与 /universal-dev-standards:commit)。请择一;`uds check` 发现两者并存时会警告。'
|
|
3503
|
+
}
|
|
3310
3504
|
},
|
|
3311
3505
|
|
|
3312
3506
|
// check command
|
|
@@ -3393,11 +3587,7 @@ export const messages = {
|
|
|
3393
3587
|
skillsProject: '项目',
|
|
3394
3588
|
compatible: '兼容',
|
|
3395
3589
|
openCodeNote: '注意:OpenCode 自动检测 .claude/skills/',
|
|
3396
|
-
considerMigrating: '⚠ 考虑迁移到 Plugin Marketplace',
|
|
3397
|
-
marketplaceAutoUpdates: 'Marketplace 提供自动更新和更简便的管理。',
|
|
3398
|
-
toMigrate: '要迁移:',
|
|
3399
3590
|
skillsMarkedNotFound: '⚠ Skills 标记为已安装但未找到',
|
|
3400
|
-
recommendedInstall: '建议:通过 Plugin Marketplace 安装',
|
|
3401
3591
|
skillsNotInstalled: 'Skills 未安装(仅使用参考文档)',
|
|
3402
3592
|
// Coverage
|
|
3403
3593
|
coverageSummary: '覆盖率摘要:',
|
|
@@ -3449,6 +3639,21 @@ export const messages = {
|
|
|
3449
3639
|
projectCompliant: '✓ 项目符合标准',
|
|
3450
3640
|
issuesDetected: '⚠ 检测到一些问题。详情请查看上文。',
|
|
3451
3641
|
skillsIntegrityFix: ' 上方列出的技能文件缺失或被改过:运行 `uds update --apply --skills` 重新安装。',
|
|
3642
|
+
// XSPEC-462 R2:项目层与 UDS 插件都装了。纯信息。
|
|
3643
|
+
skillsTwiceTitle: '⚠ UDS 技能装了两次:本项目(.claude/skills/)有 {count} 个,插件 {plugin} 也已安装。',
|
|
3644
|
+
skillsTwiceNames: 'Claude Code 执行插件技能是 /<插件名>:<技能名>,执行项目技能是 /<技能名>,所以每个技能会出现两次(例如 /commit 与 /universal-dev-standards:commit)。',
|
|
3645
|
+
skillsTwiceContext: '每个技能的名称与描述每回合都会放进上下文,重复装等于重复占用。',
|
|
3646
|
+
skillsTwiceChoose: '二选一:',
|
|
3647
|
+
skillsTwiceKeepProject: '留项目这份:在 Claude Code 执行 /plugin uninstall {plugin}',
|
|
3648
|
+
skillsTwiceKeepPlugin: '留插件:删掉 .claude/skills/ 下的 UDS 技能文件夹(`uds uninstall --skills-only` 会移除本项目所有工具的技能与命令)。',
|
|
3649
|
+
// XSPEC-465 R1:个人层技能与项目里装的 UDS 技能同名。纯信息。
|
|
3650
|
+
skillNameCollisionTitle: '⚠ 本项目装的 UDS 技能有 {count} 个与个人技能同名,Claude Code 会执行你的个人技能,而且不会报任何错:',
|
|
3651
|
+
skillNameCollisionItem: '{command}:你的 {personal} 盖掉了 UDS 技能 {uds}',
|
|
3652
|
+
skillNameCollisionEffect: '个人层的优先级高于项目层,所以这个名称下 UDS 技能永远不会被执行。',
|
|
3653
|
+
skillNameCollisionChoose: '二选一:',
|
|
3654
|
+
skillNameCollisionRename: '两个都留:把你的个人技能改名(文件夹名称,以及 SKILL.md 里的 `name:`)。',
|
|
3655
|
+
skillNameCollisionDrop: '只留你的:删掉 .claude/skills/ 下那个 UDS 技能文件夹(`uds uninstall --skills-only` 会移除本项目所有工具的技能与命令)。',
|
|
3656
|
+
skillNameCollisionLimits: '这项检查看不到组织以企业层下发的技能(优先级高于个人层),也看不到这次运行之后才新增的个人技能。没有警告不等于没有撞名;`uds check` 每次都会重查。',
|
|
3452
3657
|
commandsIntegrityFix: ' 上方列出的斜杠命令文件缺失或被改过:运行 `uds update --apply --commands` 重新安装。',
|
|
3453
3658
|
commandsStaleRecordsIgnored: ' 已忽略 {count} 条命令记录:它们描述的是 UDS 不发布的命令。',
|
|
3454
3659
|
commandsElsewhereIgnored: ' 已忽略 {count} 条命令记录:这些命令装在用户级(所有项目共用),本项目的检查不为它们背书。',
|
|
@@ -3557,6 +3762,7 @@ export const messages = {
|
|
|
3557
3762
|
droppedRetiredHashes: '已清掉 {count} 笔 manifest 记录——这些文件 UDS 已不再发布,而且本来就已经不在了:',
|
|
3558
3763
|
droppedForeignSkillHashes: '已清掉 {count} 条技能记录——它们描述的不是 UDS 安装的文件。',
|
|
3559
3764
|
droppedForeignCommandHashes: '已清掉 {count} 条命令记录——UDS 不发布这些命令。',
|
|
3765
|
+
droppedForeignNames: '已从 manifest 清掉 {count} 个技能/命令名称——UDS 不发布,或并未安装。',
|
|
3560
3766
|
// Success
|
|
3561
3767
|
updateSuccess: '✓ 标准更新成功!',
|
|
3562
3768
|
versionUpdated: '版本:{current} → {latest}',
|
|
@@ -3568,10 +3774,8 @@ export const messages = {
|
|
|
3568
3774
|
skillsLatest: '最新',
|
|
3569
3775
|
updateViaMarketplace: '通过 Plugin Marketplace 更新:',
|
|
3570
3776
|
autoUpdate: '自动更新:重启 Claude Code(启动时更新)',
|
|
3571
|
-
manualUpdate: '手动:运行 /plugin marketplace update
|
|
3572
|
-
|
|
3573
|
-
recommendedMigrate: '建议:迁移到 Plugin Marketplace',
|
|
3574
|
-
orUpdateManually: '或手动更新:',
|
|
3777
|
+
manualUpdate: '手动:运行 /plugin marketplace update asia-ostrich',
|
|
3778
|
+
skillsUpdateCommand: '更新方式:uds update --apply --skills',
|
|
3575
3779
|
// Integrations only
|
|
3576
3780
|
updatingIntegrationsOnly: '仅更新集成文件...',
|
|
3577
3781
|
noAiToolsConfigured: '⚠ manifest 中未配置 AI 工具。',
|
|
@@ -3637,7 +3841,7 @@ export const messages = {
|
|
|
3637
3841
|
commandsUpdatedCounts: '已为 {tools} 个 AI 工具更新 {commands} 个斜线命令:{locations}',
|
|
3638
3842
|
commandsUpdatedWithErrors: '更新斜线命令时发生 {errors} 个错误',
|
|
3639
3843
|
// New standards detection
|
|
3640
|
-
newStandardsFound: '有 {count}
|
|
3844
|
+
newStandardsFound: '有 {count} 个新标准可用(上游有、这个项目没有):',
|
|
3641
3845
|
installNewStandards: '是否安装这些新标准?',
|
|
3642
3846
|
installingNewStandards: '正在安装新标准...',
|
|
3643
3847
|
newStandardsInstalled: '已安装 {count} 个新标准',
|
|
@@ -164,7 +164,9 @@ export async function installSkills(skillsConfig, projectPath, messages, results
|
|
|
164
164
|
// P1-CLI-1: Emit a single locale-fallback WARN after the install loop when
|
|
165
165
|
// adopters requested a localized variant but some skills only ship in English.
|
|
166
166
|
// The aggregated list is built in installSkillsToMultipleAgents (deduped).
|
|
167
|
-
|
|
167
|
+
// (When the whole pack is missing, `installSkillsToMultipleAgents` already said so once; listing all 56
|
|
168
|
+
// names as well would bury that message.)
|
|
169
|
+
if (!installResult.localePackMissing && Array.isArray(installResult.localeFallbacks) && installResult.localeFallbacks.length > 0) {
|
|
168
170
|
// `messages` is a flat command-scope bundle (e.g. t().commands.init);
|
|
169
171
|
// the WARN helper looks for localeFallbackTitle/Hint keys directly on it.
|
|
170
172
|
printLocaleFallbackWarning(installResult.localeFallbacks, skillsConfig.locale, messages);
|