universal-dev-standards 5.1.0-beta.6 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/bin/uds.js +14 -0
- package/bundled/ai/standards/agent-communication-protocol.ai.yaml +34 -0
- package/bundled/ai/standards/anti-sycophancy-prompting.ai.yaml +111 -0
- package/bundled/ai/standards/capability-declaration.ai.yaml +113 -0
- package/bundled/ai/standards/circuit-breaker.ai.yaml +93 -0
- package/bundled/ai/standards/developer-memory.ai.yaml +13 -0
- package/bundled/ai/standards/dual-phase-output.ai.yaml +108 -0
- package/bundled/ai/standards/failure-source-taxonomy.ai.yaml +115 -0
- package/bundled/ai/standards/frontend-design-standards.ai.yaml +305 -0
- package/bundled/ai/standards/health-check-standards.ai.yaml +140 -0
- package/bundled/ai/standards/immutability-first.ai.yaml +112 -0
- package/bundled/ai/standards/model-selection.ai.yaml +111 -3
- package/bundled/ai/standards/packaging-standards.ai.yaml +142 -0
- package/bundled/ai/standards/recovery-recipe-registry.ai.yaml +200 -0
- package/bundled/ai/standards/retry-standards.ai.yaml +134 -0
- package/bundled/ai/standards/security-decision.ai.yaml +87 -0
- package/bundled/ai/standards/skill-standard-alignment-check.ai.yaml +119 -0
- package/bundled/ai/standards/standard-admission-criteria.ai.yaml +107 -0
- package/bundled/ai/standards/standard-lifecycle-management.ai.yaml +144 -0
- package/bundled/ai/standards/timeout-standards.ai.yaml +104 -0
- package/bundled/ai/standards/token-budget.ai.yaml +108 -0
- package/bundled/ai/standards/translation-lifecycle-standards.ai.yaml +145 -0
- package/bundled/core/anti-sycophancy-prompting.md +184 -0
- package/bundled/core/capability-declaration.md +59 -0
- package/bundled/core/circuit-breaker.md +58 -0
- package/bundled/core/developer-memory.md +29 -1
- package/bundled/core/dual-phase-output.md +56 -0
- package/bundled/core/failure-source-taxonomy.md +72 -0
- package/bundled/core/frontend-design-standards.md +474 -0
- package/bundled/core/health-check-standards.md +72 -0
- package/bundled/core/immutability-first.md +105 -0
- package/bundled/core/model-selection.md +80 -0
- package/bundled/core/packaging-standards.md +216 -0
- package/bundled/core/recovery-recipe-registry.md +69 -0
- package/bundled/core/retry-standards.md +62 -0
- package/bundled/core/security-decision.md +65 -0
- package/bundled/core/skill-standard-alignment-check.md +79 -0
- package/bundled/core/standard-admission-criteria.md +84 -0
- package/bundled/core/standard-lifecycle-management.md +94 -0
- package/bundled/core/timeout-standards.md +63 -0
- package/bundled/core/token-budget.md +58 -0
- package/bundled/core/translation-lifecycle-standards.md +162 -0
- package/bundled/locales/zh-CN/CHANGELOG.md +51 -3
- package/bundled/locales/zh-CN/README.md +1 -1
- package/bundled/locales/zh-CN/core/anti-hallucination.md +22 -3
- package/bundled/locales/zh-CN/core/anti-sycophancy-prompting.md +192 -0
- package/bundled/locales/zh-CN/core/capability-declaration.md +123 -0
- package/bundled/locales/zh-CN/core/circuit-breaker.md +106 -0
- package/bundled/locales/zh-CN/core/dual-phase-output.md +103 -0
- package/bundled/locales/zh-CN/core/failure-source-taxonomy.md +99 -0
- package/bundled/locales/zh-CN/core/frontend-design-standards.md +289 -0
- package/bundled/locales/zh-CN/core/health-check-standards.md +144 -0
- package/bundled/locales/zh-CN/core/immutability-first.md +96 -0
- package/bundled/locales/zh-CN/core/packaging-standards.md +224 -0
- package/bundled/locales/zh-CN/core/recovery-recipe-registry.md +146 -0
- package/bundled/locales/zh-CN/core/retry-standards.md +131 -0
- package/bundled/locales/zh-CN/core/security-decision.md +104 -0
- package/bundled/locales/zh-CN/core/skill-standard-alignment-check.md +112 -0
- package/bundled/locales/zh-CN/core/standard-admission-criteria.md +104 -0
- package/bundled/locales/zh-CN/core/standard-lifecycle-management.md +116 -0
- package/bundled/locales/zh-CN/core/timeout-standards.md +117 -0
- package/bundled/locales/zh-CN/core/token-budget.md +108 -0
- package/bundled/locales/zh-CN/core/translation-lifecycle-standards.md +159 -0
- package/bundled/locales/zh-TW/CHANGELOG.md +51 -3
- package/bundled/locales/zh-TW/README.md +1 -1
- package/bundled/locales/zh-TW/core/anti-sycophancy-prompting.md +192 -0
- package/bundled/locales/zh-TW/core/capability-declaration.md +111 -0
- package/bundled/locales/zh-TW/core/circuit-breaker.md +111 -0
- package/bundled/locales/zh-TW/core/dual-phase-output.md +132 -0
- package/bundled/locales/zh-TW/core/failure-source-taxonomy.md +146 -0
- package/bundled/locales/zh-TW/core/frontend-design-standards.md +460 -0
- package/bundled/locales/zh-TW/core/health-check-standards.md +144 -0
- package/bundled/locales/zh-TW/core/immutability-first.md +159 -0
- package/bundled/locales/zh-TW/core/packaging-standards.md +224 -0
- package/bundled/locales/zh-TW/core/recovery-recipe-registry.md +146 -0
- package/bundled/locales/zh-TW/core/retry-standards.md +140 -0
- package/bundled/locales/zh-TW/core/security-decision.md +120 -0
- package/bundled/locales/zh-TW/core/skill-standard-alignment-check.md +112 -0
- package/bundled/locales/zh-TW/core/standard-admission-criteria.md +104 -0
- package/bundled/locales/zh-TW/core/standard-lifecycle-management.md +116 -0
- package/bundled/locales/zh-TW/core/timeout-standards.md +117 -0
- package/bundled/locales/zh-TW/core/token-budget.md +143 -0
- package/bundled/locales/zh-TW/core/translation-lifecycle-standards.md +159 -0
- package/bundled/skills/e2e-assistant/SKILL.md +19 -5
- package/bundled/skills/testing-guide/SKILL.md +5 -0
- package/bundled/skills/testing-guide/test-skeleton-templates.md +316 -0
- package/package.json +2 -1
- package/src/commands/check.js +6 -0
- package/src/commands/config.js +9 -0
- package/src/commands/init.js +97 -46
- package/src/commands/mcp.js +26 -0
- package/src/commands/run-intent.js +66 -0
- package/src/commands/update.js +41 -4
- package/src/core/command-router.js +85 -0
- package/src/core/project-config.js +91 -0
- package/src/flows/init-flow.js +6 -1
- package/src/i18n/messages.js +6 -6
- package/src/mcp/__tests__/server.test.js +251 -0
- package/src/mcp/server.js +352 -0
- package/src/prompts/init.js +157 -1
- package/src/reconciler/actual-state-scanner.js +24 -0
- package/src/uninstallers/hook-uninstaller.js +32 -1
- package/src/utils/detect-self-adoption.js +173 -0
- package/src/utils/e2e-analyzer.js +88 -5
- package/src/utils/e2e-detector.js +73 -1
- package/src/utils/integration-generator.js +22 -3
- package/standards-registry.json +203 -4
package/standards-registry.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "5.1.0
|
|
4
|
-
"lastUpdated": "2026-
|
|
3
|
+
"version": "5.1.0",
|
|
4
|
+
"lastUpdated": "2026-04-16",
|
|
5
5
|
"description": "Standards registry for universal-dev-standards with integrated skills and AI-optimized formats",
|
|
6
6
|
"formats": {
|
|
7
7
|
"ai": {
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"standards": {
|
|
59
59
|
"name": "universal-dev-standards",
|
|
60
60
|
"url": "https://github.com/AsiaOstrich/universal-dev-standards",
|
|
61
|
-
"version": "5.1.0
|
|
61
|
+
"version": "5.1.0"
|
|
62
62
|
},
|
|
63
63
|
"skills": {
|
|
64
64
|
"name": "universal-dev-standards",
|
|
65
65
|
"url": "https://github.com/AsiaOstrich/universal-dev-standards",
|
|
66
66
|
"localPath": "skills",
|
|
67
67
|
"rawUrl": "https://raw.githubusercontent.com/AsiaOstrich/universal-dev-standards/main/skills",
|
|
68
|
-
"version": "5.1.0
|
|
68
|
+
"version": "5.1.0",
|
|
69
69
|
"note": "Skills are now included in the main repository under skills/"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
@@ -680,6 +680,17 @@
|
|
|
680
680
|
}
|
|
681
681
|
},
|
|
682
682
|
"standards": [
|
|
683
|
+
{
|
|
684
|
+
"id": "anti-sycophancy-prompting",
|
|
685
|
+
"name": "Anti-Sycophancy Prompting Standards",
|
|
686
|
+
"nameZh": "防迎合提示詞設計標準",
|
|
687
|
+
"source": {
|
|
688
|
+
"human": "core/anti-sycophancy-prompting.md",
|
|
689
|
+
"ai": "ai/standards/anti-sycophancy-prompting.ai.yaml"
|
|
690
|
+
},
|
|
691
|
+
"category": "core",
|
|
692
|
+
"description": "Techniques for designing prompts that elicit genuine, critical LLM responses rather than sycophantic agreement"
|
|
693
|
+
},
|
|
683
694
|
{
|
|
684
695
|
"id": "anti-hallucination",
|
|
685
696
|
"name": "Anti-Hallucination Guidelines",
|
|
@@ -775,6 +786,18 @@
|
|
|
775
786
|
"skillName": null,
|
|
776
787
|
"description": "Safe deployment strategies, feature flags, rollback, environment parity, and DORA metrics"
|
|
777
788
|
},
|
|
789
|
+
{
|
|
790
|
+
"id": "packaging-standards",
|
|
791
|
+
"name": "Packaging Standards",
|
|
792
|
+
"nameZh": "打包標準",
|
|
793
|
+
"source": {
|
|
794
|
+
"human": "core/packaging-standards.md",
|
|
795
|
+
"ai": "ai/standards/packaging-standards.ai.yaml"
|
|
796
|
+
},
|
|
797
|
+
"category": "reference",
|
|
798
|
+
"skillName": null,
|
|
799
|
+
"description": "Recipe-based packaging framework for user projects using UDS/DevAP toolchain"
|
|
800
|
+
},
|
|
778
801
|
{
|
|
779
802
|
"id": "api-design-standards",
|
|
780
803
|
"name": "API Design Standards",
|
|
@@ -1852,6 +1875,182 @@
|
|
|
1852
1875
|
},
|
|
1853
1876
|
"category": "core",
|
|
1854
1877
|
"description": "Privacy by Design, data classification, DPIA, user rights"
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"id": "frontend-design-standards",
|
|
1881
|
+
"name": "Frontend Design Standards",
|
|
1882
|
+
"nameZh": "前端設計標準",
|
|
1883
|
+
"source": {
|
|
1884
|
+
"human": "core/frontend-design-standards.md",
|
|
1885
|
+
"ai": "ai/standards/frontend-design-standards.ai.yaml"
|
|
1886
|
+
},
|
|
1887
|
+
"category": "core",
|
|
1888
|
+
"description": "DESIGN.md 9-section spec format, semantic color tokens, font roles, spacing scale, UI hard constraints, anti-patterns"
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"id": "dual-phase-output",
|
|
1892
|
+
"name": "Dual-Phase LLM Output Standard",
|
|
1893
|
+
"nameZh": "雙階段 LLM 輸出標準",
|
|
1894
|
+
"source": {
|
|
1895
|
+
"human": "core/dual-phase-output.md",
|
|
1896
|
+
"ai": "ai/standards/dual-phase-output.ai.yaml"
|
|
1897
|
+
},
|
|
1898
|
+
"category": "core",
|
|
1899
|
+
"description": "Dual-phase LLM output pattern: <analysis> thinking discarded, <summary> structured conclusion retained. Saves 1000-3500 tokens per review invocation."
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
"id": "circuit-breaker",
|
|
1903
|
+
"name": "Circuit Breaker Standard",
|
|
1904
|
+
"nameZh": "通用斷路器標準",
|
|
1905
|
+
"source": {
|
|
1906
|
+
"human": "core/circuit-breaker.md",
|
|
1907
|
+
"ai": "ai/standards/circuit-breaker.ai.yaml"
|
|
1908
|
+
},
|
|
1909
|
+
"category": "core",
|
|
1910
|
+
"description": "3-state circuit breaker (CLOSED/HALF_OPEN/OPEN) to prevent API stampede from consecutive failures. Default failureThreshold: 3."
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
"id": "token-budget",
|
|
1914
|
+
"name": "Token Budget Zone Standard",
|
|
1915
|
+
"nameZh": "Token 閾值四區模型",
|
|
1916
|
+
"source": {
|
|
1917
|
+
"human": "core/token-budget.md",
|
|
1918
|
+
"ai": "ai/standards/token-budget.ai.yaml"
|
|
1919
|
+
},
|
|
1920
|
+
"category": "core",
|
|
1921
|
+
"description": "4-zone token budget model (safe/warning/danger/blocking) for graceful degradation before hitting hard token limits."
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
"id": "security-decision",
|
|
1925
|
+
"name": "Security Decision Standard",
|
|
1926
|
+
"nameZh": "安全決策鐵律",
|
|
1927
|
+
"source": {
|
|
1928
|
+
"human": "core/security-decision.md",
|
|
1929
|
+
"ai": "ai/standards/security-decision.ai.yaml"
|
|
1930
|
+
},
|
|
1931
|
+
"category": "core",
|
|
1932
|
+
"description": "deny>ask>allow arbitration rule with projectSettings trust radius protection. deny always wins regardless of source priority."
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"id": "capability-declaration",
|
|
1936
|
+
"name": "Capability Declaration Standard",
|
|
1937
|
+
"nameZh": "Fail-Closed 能力聲明",
|
|
1938
|
+
"source": {
|
|
1939
|
+
"human": "core/capability-declaration.md",
|
|
1940
|
+
"ai": "ai/standards/capability-declaration.ai.yaml"
|
|
1941
|
+
},
|
|
1942
|
+
"category": "core",
|
|
1943
|
+
"description": "Fail-Closed capability defaults for all tools and adapters: isConcurrencySafe, isReadOnly, requiresUserConfirmation all default to safe values."
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
"id": "immutability-first",
|
|
1947
|
+
"name": "Immutability-First Architecture Standard",
|
|
1948
|
+
"nameZh": "不可變性設計原則",
|
|
1949
|
+
"source": {
|
|
1950
|
+
"human": "core/immutability-first.md",
|
|
1951
|
+
"ai": "ai/standards/immutability-first.ai.yaml"
|
|
1952
|
+
},
|
|
1953
|
+
"category": "core",
|
|
1954
|
+
"description": "System-level immutability: DTO fields as readonly, ReadonlyArray<T> for arrays, spread syntax for mutations, deep immutability across parallel boundaries."
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
"id": "failure-source-taxonomy",
|
|
1958
|
+
"name": "Failure Source Taxonomy Standard",
|
|
1959
|
+
"nameZh": "失敗來源分類法",
|
|
1960
|
+
"source": {
|
|
1961
|
+
"human": "core/failure-source-taxonomy.md",
|
|
1962
|
+
"ai": "ai/standards/failure-source-taxonomy.ai.yaml"
|
|
1963
|
+
},
|
|
1964
|
+
"category": "core",
|
|
1965
|
+
"description": "8-class failureSource dimension (why) on top of TaskStatus (what), enabling Recovery Recipe Registry to precisely match strategies per failure type."
|
|
1966
|
+
},
|
|
1967
|
+
{
|
|
1968
|
+
"id": "recovery-recipe-registry",
|
|
1969
|
+
"name": "Recovery Recipe Registry Standard",
|
|
1970
|
+
"nameZh": "恢復食譜註冊表",
|
|
1971
|
+
"source": {
|
|
1972
|
+
"human": "core/recovery-recipe-registry.md",
|
|
1973
|
+
"ai": "ai/standards/recovery-recipe-registry.ai.yaml"
|
|
1974
|
+
},
|
|
1975
|
+
"category": "core",
|
|
1976
|
+
"description": "Unified YAML-configurable Recovery Recipe format keyed by failureSource (XSPEC-045), with 6 built-in strategies and 5 default recipes, backward-compatible fallback."
|
|
1977
|
+
},
|
|
1978
|
+
{
|
|
1979
|
+
"id": "retry-standards",
|
|
1980
|
+
"name": "Retry Standards",
|
|
1981
|
+
"nameZh": "重試策略標準",
|
|
1982
|
+
"source": {
|
|
1983
|
+
"human": "core/retry-standards.md",
|
|
1984
|
+
"ai": "ai/standards/retry-standards.ai.yaml"
|
|
1985
|
+
},
|
|
1986
|
+
"category": "core",
|
|
1987
|
+
"description": "Exponential backoff with full jitter, max_attempts cap, and failure-source-aware retry rules (DEC-043 Wave 1 Reliability, XSPEC-067, trial)."
|
|
1988
|
+
},
|
|
1989
|
+
{
|
|
1990
|
+
"id": "timeout-standards",
|
|
1991
|
+
"name": "Timeout Standards",
|
|
1992
|
+
"nameZh": "Timeout 標準",
|
|
1993
|
+
"source": {
|
|
1994
|
+
"human": "core/timeout-standards.md",
|
|
1995
|
+
"ai": "ai/standards/timeout-standards.ai.yaml"
|
|
1996
|
+
},
|
|
1997
|
+
"category": "core",
|
|
1998
|
+
"description": "Cascading 0.8x per-layer timeout budget, deadline propagation via absolute timestamps, circuit-breaker integration (DEC-043 Wave 1 Reliability, XSPEC-067, trial)."
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"id": "health-check-standards",
|
|
2002
|
+
"name": "Health Check Standards",
|
|
2003
|
+
"nameZh": "健康檢查標準",
|
|
2004
|
+
"source": {
|
|
2005
|
+
"human": "core/health-check-standards.md",
|
|
2006
|
+
"ai": "ai/standards/health-check-standards.ai.yaml"
|
|
2007
|
+
},
|
|
2008
|
+
"category": "core",
|
|
2009
|
+
"description": "Liveness/readiness/startup probe separation, deep health check scope (critical deps only), structured JSON response (DEC-043 Wave 1 Reliability, XSPEC-067, trial)."
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
"id": "standard-admission-criteria",
|
|
2013
|
+
"name": "Standard Admission Criteria",
|
|
2014
|
+
"nameZh": "標準納入條件",
|
|
2015
|
+
"source": {
|
|
2016
|
+
"human": "core/standard-admission-criteria.md",
|
|
2017
|
+
"ai": "ai/standards/standard-admission-criteria.ai.yaml"
|
|
2018
|
+
},
|
|
2019
|
+
"category": "core",
|
|
2020
|
+
"description": "Four admission gates (Evidence / Scope / Non-overlapping / AI-executable) for new UDS standards, with explicit rejection protocol (DEC-043 Wave 1 Governance Meta, XSPEC-070, trial)."
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"id": "standard-lifecycle-management",
|
|
2024
|
+
"name": "Standard Lifecycle Management",
|
|
2025
|
+
"nameZh": "標準生命週期管理",
|
|
2026
|
+
"source": {
|
|
2027
|
+
"human": "core/standard-lifecycle-management.md",
|
|
2028
|
+
"ai": "ai/standards/standard-lifecycle-management.ai.yaml"
|
|
2029
|
+
},
|
|
2030
|
+
"category": "core",
|
|
2031
|
+
"description": "5-state lifecycle machine (Proposed/Trial/Active/Deprecated/Archived) with legal transitions and required frontmatter fields (DEC-043 Wave 1 Governance Meta, XSPEC-070, trial)."
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
"id": "skill-standard-alignment-check",
|
|
2035
|
+
"name": "Skill-Standard Alignment Check",
|
|
2036
|
+
"nameZh": "Skill 與 Standard 對齊檢查",
|
|
2037
|
+
"source": {
|
|
2038
|
+
"human": "core/skill-standard-alignment-check.md",
|
|
2039
|
+
"ai": "ai/standards/skill-standard-alignment-check.ai.yaml"
|
|
2040
|
+
},
|
|
2041
|
+
"category": "core",
|
|
2042
|
+
"description": "Skills must anchor to a Standard; Standards may exist without a Skill. Orphan-skill detection workflow (DEC-043 Wave 1 Governance Meta, XSPEC-070, trial)."
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
"id": "translation-lifecycle-standards",
|
|
2046
|
+
"name": "Translation Lifecycle Standards",
|
|
2047
|
+
"nameZh": "翻譯生命週期標準",
|
|
2048
|
+
"source": {
|
|
2049
|
+
"human": "core/translation-lifecycle-standards.md",
|
|
2050
|
+
"ai": "ai/standards/translation-lifecycle-standards.ai.yaml"
|
|
2051
|
+
},
|
|
2052
|
+
"category": "core",
|
|
2053
|
+
"description": "MISSING vs OUTDATED distinction, semver-aware severity (PATCH/MINOR/MAJOR), and automation integration (pre-commit hook, release gate) for multi-locale documentation"
|
|
1855
2054
|
}
|
|
1856
2055
|
]
|
|
1857
2056
|
}
|