oh-my-taiyiforge 0.23.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/AGENTS.md +45 -0
- package/LICENSE +21 -0
- package/README.md +351 -0
- package/README.zh-CN.md +357 -0
- package/dist/cli/install-cli.d.ts +2 -0
- package/dist/cli/install-cli.js +4 -0
- package/dist/cli/taiyi.d.ts +2 -0
- package/dist/cli/taiyi.js +1330 -0
- package/dist/core/active-slug.d.ts +14 -0
- package/dist/core/active-slug.js +57 -0
- package/dist/core/agent-roles-yaml.d.ts +4 -0
- package/dist/core/agent-roles-yaml.js +62 -0
- package/dist/core/agent-roles.d.ts +18 -0
- package/dist/core/agent-roles.js +283 -0
- package/dist/core/ahead-artifacts.d.ts +9 -0
- package/dist/core/ahead-artifacts.js +63 -0
- package/dist/core/artifact-validator.d.ts +10 -0
- package/dist/core/artifact-validator.js +275 -0
- package/dist/core/autopilot-runner.d.ts +9 -0
- package/dist/core/autopilot-runner.js +61 -0
- package/dist/core/auxiliary-artifacts.d.ts +7 -0
- package/dist/core/auxiliary-artifacts.js +52 -0
- package/dist/core/browser-smoke.d.ts +10 -0
- package/dist/core/browser-smoke.js +33 -0
- package/dist/core/change-artifact-reset.d.ts +2 -0
- package/dist/core/change-artifact-reset.js +42 -0
- package/dist/core/change-status.d.ts +13 -0
- package/dist/core/change-status.js +66 -0
- package/dist/core/ci-platform.d.ts +22 -0
- package/dist/core/ci-platform.js +117 -0
- package/dist/core/ci-verify.d.ts +25 -0
- package/dist/core/ci-verify.js +136 -0
- package/dist/core/cli-hints.d.ts +18 -0
- package/dist/core/cli-hints.js +48 -0
- package/dist/core/daemon-agent.d.ts +22 -0
- package/dist/core/daemon-agent.js +113 -0
- package/dist/core/daemon-runner.d.ts +46 -0
- package/dist/core/daemon-runner.js +483 -0
- package/dist/core/dev-complete.d.ts +3 -0
- package/dist/core/dev-complete.js +13 -0
- package/dist/core/dev-phase-guard.d.ts +9 -0
- package/dist/core/dev-phase-guard.js +72 -0
- package/dist/core/doctor-workspace.d.ts +3 -0
- package/dist/core/doctor-workspace.js +134 -0
- package/dist/core/doctor.d.ts +29 -0
- package/dist/core/doctor.js +130 -0
- package/dist/core/e2e-fixtures.d.ts +4 -0
- package/dist/core/e2e-fixtures.js +192 -0
- package/dist/core/engine-truth.d.ts +33 -0
- package/dist/core/engine-truth.js +29 -0
- package/dist/core/forge-invoke.d.ts +3 -0
- package/dist/core/forge-invoke.js +11 -0
- package/dist/core/format-guide.d.ts +10 -0
- package/dist/core/format-guide.js +223 -0
- package/dist/core/format-integration.d.ts +28 -0
- package/dist/core/format-integration.js +56 -0
- package/dist/core/format-token.d.ts +9 -0
- package/dist/core/format-token.js +33 -0
- package/dist/core/gates/commit-trailer.d.ts +16 -0
- package/dist/core/gates/commit-trailer.js +121 -0
- package/dist/core/gates/consumer-config.d.ts +2 -0
- package/dist/core/gates/consumer-config.js +23 -0
- package/dist/core/gates/delivery-gate.d.ts +14 -0
- package/dist/core/gates/delivery-gate.js +178 -0
- package/dist/core/gates/human-gate-config.d.ts +23 -0
- package/dist/core/gates/human-gate-config.js +81 -0
- package/dist/core/gates/human-gate.d.ts +5 -0
- package/dist/core/gates/human-gate.js +9 -0
- package/dist/core/gates/quality-gate.d.ts +8 -0
- package/dist/core/gates/quality-gate.js +6 -0
- package/dist/core/handoff.d.ts +19 -0
- package/dist/core/handoff.js +44 -0
- package/dist/core/harness-checkpoints.d.ts +7 -0
- package/dist/core/harness-checkpoints.js +43 -0
- package/dist/core/harness-runner.d.ts +31 -0
- package/dist/core/harness-runner.js +232 -0
- package/dist/core/health-invoke.d.ts +6 -0
- package/dist/core/health-invoke.js +42 -0
- package/dist/core/list-changes.d.ts +25 -0
- package/dist/core/list-changes.js +62 -0
- package/dist/core/load-phases-yaml.d.ts +4 -0
- package/dist/core/load-phases-yaml.js +32 -0
- package/dist/core/load-quality-gate-yaml.d.ts +6 -0
- package/dist/core/load-quality-gate-yaml.js +23 -0
- package/dist/core/loop-invoke.d.ts +5 -0
- package/dist/core/loop-invoke.js +22 -0
- package/dist/core/loop-runner.d.ts +23 -0
- package/dist/core/loop-runner.js +178 -0
- package/dist/core/loop-state.d.ts +10 -0
- package/dist/core/loop-state.js +31 -0
- package/dist/core/normalize-state.d.ts +6 -0
- package/dist/core/normalize-state.js +63 -0
- package/dist/core/package-root.d.ts +3 -0
- package/dist/core/package-root.js +30 -0
- package/dist/core/paths.d.ts +2 -0
- package/dist/core/paths.js +6 -0
- package/dist/core/phase-guide.d.ts +46 -0
- package/dist/core/phase-guide.js +213 -0
- package/dist/core/phase-registry.d.ts +14 -0
- package/dist/core/phase-registry.js +38 -0
- package/dist/core/phase-write.d.ts +27 -0
- package/dist/core/phase-write.js +220 -0
- package/dist/core/profile.d.ts +5 -0
- package/dist/core/profile.js +20 -0
- package/dist/core/project-config.d.ts +25 -0
- package/dist/core/project-config.js +47 -0
- package/dist/core/prune-changes.d.ts +12 -0
- package/dist/core/prune-changes.js +73 -0
- package/dist/core/ralph-invoke.d.ts +3 -0
- package/dist/core/ralph-invoke.js +20 -0
- package/dist/core/ralph-runner.d.ts +21 -0
- package/dist/core/ralph-runner.js +250 -0
- package/dist/core/ralph-state.d.ts +12 -0
- package/dist/core/ralph-state.js +34 -0
- package/dist/core/ralph-verify-cmd.d.ts +4 -0
- package/dist/core/ralph-verify-cmd.js +49 -0
- package/dist/core/repeat-parse.d.ts +8 -0
- package/dist/core/repeat-parse.js +44 -0
- package/dist/core/resolve-auto-harness.d.ts +2 -0
- package/dist/core/resolve-auto-harness.js +13 -0
- package/dist/core/review-freshness.d.ts +10 -0
- package/dist/core/review-freshness.js +66 -0
- package/dist/core/review-gate.d.ts +22 -0
- package/dist/core/review-gate.js +118 -0
- package/dist/core/review-invoke.d.ts +8 -0
- package/dist/core/review-invoke.js +31 -0
- package/dist/core/review-loop-runner.d.ts +20 -0
- package/dist/core/review-loop-runner.js +159 -0
- package/dist/core/review-loop-state.d.ts +15 -0
- package/dist/core/review-loop-state.js +51 -0
- package/dist/core/routing/auxiliary-hints.d.ts +4 -0
- package/dist/core/routing/auxiliary-hints.js +16 -0
- package/dist/core/routing/auxiliary-skills.d.ts +5 -0
- package/dist/core/routing/auxiliary-skills.js +15 -0
- package/dist/core/routing/complexity.d.ts +7 -0
- package/dist/core/routing/complexity.js +21 -0
- package/dist/core/routing/infer-complexity.d.ts +3 -0
- package/dist/core/routing/infer-complexity.js +37 -0
- package/dist/core/run-e2e-workflow.d.ts +8 -0
- package/dist/core/run-e2e-workflow.js +71 -0
- package/dist/core/run-slash-flow-cli.d.ts +68 -0
- package/dist/core/run-slash-flow-cli.js +330 -0
- package/dist/core/runtime/cancel-mode.d.ts +17 -0
- package/dist/core/runtime/cancel-mode.js +113 -0
- package/dist/core/runtime/keyword-modes.d.ts +12 -0
- package/dist/core/runtime/keyword-modes.js +85 -0
- package/dist/core/runtime/mode-orchestrator.d.ts +19 -0
- package/dist/core/runtime/mode-orchestrator.js +358 -0
- package/dist/core/runtime/mode-reinforcement.d.ts +10 -0
- package/dist/core/runtime/mode-reinforcement.js +74 -0
- package/dist/core/runtime/mode-state.d.ts +33 -0
- package/dist/core/runtime/mode-state.js +114 -0
- package/dist/core/runtime/orphan-runtime.d.ts +37 -0
- package/dist/core/runtime/orphan-runtime.js +149 -0
- package/dist/core/runtime/project-memory.d.ts +19 -0
- package/dist/core/runtime/project-memory.js +56 -0
- package/dist/core/runtime/ralplan-gate.d.ts +8 -0
- package/dist/core/runtime/ralplan-gate.js +47 -0
- package/dist/core/runtime/spawn-delegation.d.ts +23 -0
- package/dist/core/runtime/spawn-delegation.js +102 -0
- package/dist/core/runtime/team-state.d.ts +21 -0
- package/dist/core/runtime/team-state.js +143 -0
- package/dist/core/runtime/workflow-skills.d.ts +12 -0
- package/dist/core/runtime/workflow-skills.js +180 -0
- package/dist/core/scenario-shortcuts.d.ts +23 -0
- package/dist/core/scenario-shortcuts.js +432 -0
- package/dist/core/seed-marker.d.ts +4 -0
- package/dist/core/seed-marker.js +11 -0
- package/dist/core/slug.d.ts +8 -0
- package/dist/core/slug.js +37 -0
- package/dist/core/state-sync.d.ts +24 -0
- package/dist/core/state-sync.js +90 -0
- package/dist/core/sync-root-changelog.d.ts +8 -0
- package/dist/core/sync-root-changelog.js +30 -0
- package/dist/core/taiyi-archive.d.ts +17 -0
- package/dist/core/taiyi-archive.js +172 -0
- package/dist/core/team-runner.d.ts +15 -0
- package/dist/core/team-runner.js +40 -0
- package/dist/core/template-seed.d.ts +17 -0
- package/dist/core/template-seed.js +71 -0
- package/dist/core/token/budget-config.d.ts +12 -0
- package/dist/core/token/budget-config.js +86 -0
- package/dist/core/token/budget-gate.d.ts +15 -0
- package/dist/core/token/budget-gate.js +63 -0
- package/dist/core/token/compress-context.d.ts +14 -0
- package/dist/core/token/compress-context.js +75 -0
- package/dist/core/token/estimate.d.ts +3 -0
- package/dist/core/token/estimate.js +9 -0
- package/dist/core/token/scan-artifacts.d.ts +8 -0
- package/dist/core/token/scan-artifacts.js +39 -0
- package/dist/core/token/usage-store.d.ts +31 -0
- package/dist/core/token/usage-store.js +86 -0
- package/dist/core/token-invoke.d.ts +4 -0
- package/dist/core/token-invoke.js +27 -0
- package/dist/core/token-runner.d.ts +20 -0
- package/dist/core/token-runner.js +99 -0
- package/dist/core/trim-ahead-artifacts.d.ts +8 -0
- package/dist/core/trim-ahead-artifacts.js +52 -0
- package/dist/core/types.d.ts +48 -0
- package/dist/core/types.js +1 -0
- package/dist/core/ultrawork-runner.d.ts +10 -0
- package/dist/core/ultrawork-runner.js +57 -0
- package/dist/core/walkthrough.d.ts +23 -0
- package/dist/core/walkthrough.js +101 -0
- package/dist/core/workflow-audit.d.ts +45 -0
- package/dist/core/workflow-audit.js +308 -0
- package/dist/core/workflow-engine.d.ts +70 -0
- package/dist/core/workflow-engine.js +401 -0
- package/dist/core/yaml-list-parse.d.ts +2 -0
- package/dist/core/yaml-list-parse.js +51 -0
- package/dist/install/claude-control.d.ts +4 -0
- package/dist/install/claude-control.js +35 -0
- package/dist/install/codex-agents.d.ts +3 -0
- package/dist/install/codex-agents.js +33 -0
- package/dist/install/control-plane-markdown.d.ts +6 -0
- package/dist/install/control-plane-markdown.js +106 -0
- package/dist/install/cursor-rules.d.ts +4 -0
- package/dist/install/cursor-rules.js +40 -0
- package/dist/install/mcp-config.d.ts +22 -0
- package/dist/install/mcp-config.js +52 -0
- package/dist/install/opencode-plugin.d.ts +6 -0
- package/dist/install/opencode-plugin.js +68 -0
- package/dist/install/paths.d.ts +9 -0
- package/dist/install/paths.js +40 -0
- package/dist/install/prompt-stage-protocol.d.ts +11 -0
- package/dist/install/prompt-stage-protocol.js +65 -0
- package/dist/install/run.d.ts +28 -0
- package/dist/install/run.js +266 -0
- package/dist/install/sync-chat-commands.d.ts +11 -0
- package/dist/install/sync-chat-commands.js +67 -0
- package/dist/install/sync-claude-commands.d.ts +4 -0
- package/dist/install/sync-claude-commands.js +8 -0
- package/dist/install/sync-claude-hooks.d.ts +3 -0
- package/dist/install/sync-claude-hooks.js +138 -0
- package/dist/install/sync-codex-config.d.ts +3 -0
- package/dist/install/sync-codex-config.js +70 -0
- package/dist/install/sync-codex-prompts.d.ts +4 -0
- package/dist/install/sync-codex-prompts.js +8 -0
- package/dist/install/sync-consumer-scripts.d.ts +3 -0
- package/dist/install/sync-consumer-scripts.js +107 -0
- package/dist/install/sync-cursor-commands.d.ts +4 -0
- package/dist/install/sync-cursor-commands.js +8 -0
- package/dist/install/sync-cursor-hooks.d.ts +3 -0
- package/dist/install/sync-cursor-hooks.js +125 -0
- package/dist/install/sync-cursor-mcp.d.ts +3 -0
- package/dist/install/sync-cursor-mcp.js +36 -0
- package/dist/install/sync-opencode-commands.d.ts +4 -0
- package/dist/install/sync-opencode-commands.js +8 -0
- package/dist/install/sync-project-wrapper.d.ts +14 -0
- package/dist/install/sync-project-wrapper.js +159 -0
- package/dist/install/sync-skills.d.ts +2 -0
- package/dist/install/sync-skills.js +29 -0
- package/dist/install/sync-user-mcp.d.ts +5 -0
- package/dist/install/sync-user-mcp.js +25 -0
- package/dist/install/third-party-deps.d.ts +28 -0
- package/dist/install/third-party-deps.js +459 -0
- package/dist/install/types.d.ts +9 -0
- package/dist/install/types.js +7 -0
- package/dist/integrations/enterprise-stack.d.ts +50 -0
- package/dist/integrations/enterprise-stack.js +277 -0
- package/dist/integrations/harness-hooks.d.ts +17 -0
- package/dist/integrations/harness-hooks.js +50 -0
- package/dist/integrations/openspec-sync.d.ts +14 -0
- package/dist/integrations/openspec-sync.js +77 -0
- package/dist/integrations/openspec.d.ts +26 -0
- package/dist/integrations/openspec.js +102 -0
- package/dist/integrations/skill-flow.d.ts +17 -0
- package/dist/integrations/skill-flow.js +13 -0
- package/dist/integrations/token-compress-hooks.d.ts +29 -0
- package/dist/integrations/token-compress-hooks.js +175 -0
- package/dist/integrations/workflow-manifest.d.ts +63 -0
- package/dist/integrations/workflow-manifest.js +363 -0
- package/dist/mcp/lsp-tools.d.ts +16 -0
- package/dist/mcp/lsp-tools.js +127 -0
- package/dist/mcp/server.d.ts +2 -0
- package/dist/mcp/server.js +432 -0
- package/dist/mcp/state-tools.d.ts +88 -0
- package/dist/mcp/state-tools.js +183 -0
- package/dist/plugin/handlers.d.ts +1020 -0
- package/dist/plugin/handlers.js +1376 -0
- package/dist/plugin/index.d.ts +8 -0
- package/dist/plugin/index.js +560 -0
- package/package.json +89 -0
- package/postinstall.mjs +23 -0
- package/prompts/inc/gstack-invoke.md +11 -0
- package/prompts/inc/slash-catalog.generated.md +143 -0
- package/prompts/inc/stage-protocol.md +16 -0
- package/prompts/inc/superpowers-invoke.md +11 -0
- package/prompts/taiyi-agent.md +23 -0
- package/prompts/taiyi-ai-slop-cleaner.md +11 -0
- package/prompts/taiyi-apply.md +18 -0
- package/prompts/taiyi-archive.md +13 -0
- package/prompts/taiyi-assess.md +13 -0
- package/prompts/taiyi-audit.md +19 -0
- package/prompts/taiyi-autopilot.md +29 -0
- package/prompts/taiyi-browser-smoke.md +40 -0
- package/prompts/taiyi-bug.md +13 -0
- package/prompts/taiyi-cancel.md +15 -0
- package/prompts/taiyi-ccg.md +11 -0
- package/prompts/taiyi-check.md +13 -0
- package/prompts/taiyi-ci-platform.md +11 -0
- package/prompts/taiyi-ci-prompt.md +11 -0
- package/prompts/taiyi-commit.md +27 -0
- package/prompts/taiyi-complete.md +13 -0
- package/prompts/taiyi-continue.md +17 -0
- package/prompts/taiyi-daemon.md +34 -0
- package/prompts/taiyi-deep-interview.md +11 -0
- package/prompts/taiyi-deepinit.md +11 -0
- package/prompts/taiyi-diagram-arch.md +14 -0
- package/prompts/taiyi-diagram-c4.md +21 -0
- package/prompts/taiyi-diagram-flow.md +13 -0
- package/prompts/taiyi-diagram-pipeline.md +39 -0
- package/prompts/taiyi-diagram-render.md +33 -0
- package/prompts/taiyi-diagram.md +21 -0
- package/prompts/taiyi-doctor.md +18 -0
- package/prompts/taiyi-e2e.md +24 -0
- package/prompts/taiyi-ecomode.md +11 -0
- package/prompts/taiyi-explore.md +17 -0
- package/prompts/taiyi-external-context.md +11 -0
- package/prompts/taiyi-feature.md +13 -0
- package/prompts/taiyi-flow.md +40 -0
- package/prompts/taiyi-forge.md +24 -0
- package/prompts/taiyi-full-flow.md +53 -0
- package/prompts/taiyi-gstack-qa.md +15 -0
- package/prompts/taiyi-gstack-review.md +15 -0
- package/prompts/taiyi-gstack.md +29 -0
- package/prompts/taiyi-handoff.md +15 -0
- package/prompts/taiyi-harness-check.md +13 -0
- package/prompts/taiyi-health.md +14 -0
- package/prompts/taiyi-help.md +36 -0
- package/prompts/taiyi-init.md +13 -0
- package/prompts/taiyi-keyword.md +25 -0
- package/prompts/taiyi-land.md +22 -0
- package/prompts/taiyi-list.md +4 -0
- package/prompts/taiyi-loop.md +13 -0
- package/prompts/taiyi-mark-aux.md +13 -0
- package/prompts/taiyi-mode.md +28 -0
- package/prompts/taiyi-modes.md +11 -0
- package/prompts/taiyi-new.md +17 -0
- package/prompts/taiyi-phases.md +11 -0
- package/prompts/taiyi-plan.md +11 -0
- package/prompts/taiyi-preflight.md +18 -0
- package/prompts/taiyi-ralph.md +24 -0
- package/prompts/taiyi-ralplan.md +13 -0
- package/prompts/taiyi-release.md +14 -0
- package/prompts/taiyi-remember.md +11 -0
- package/prompts/taiyi-resume.md +18 -0
- package/prompts/taiyi-review-check.md +11 -0
- package/prompts/taiyi-review-loop.md +32 -0
- package/prompts/taiyi-review.md +21 -0
- package/prompts/taiyi-run.md +11 -0
- package/prompts/taiyi-sciomc.md +11 -0
- package/prompts/taiyi-security.md +18 -0
- package/prompts/taiyi-ship.md +26 -0
- package/prompts/taiyi-sp.md +20 -0
- package/prompts/taiyi-status.md +17 -0
- package/prompts/taiyi-step.md +18 -0
- package/prompts/taiyi-stop-mode.md +15 -0
- package/prompts/taiyi-sync.md +5 -0
- package/prompts/taiyi-tdd.md +32 -0
- package/prompts/taiyi-team.md +24 -0
- package/prompts/taiyi-test.md +21 -0
- package/prompts/taiyi-token-compress.md +11 -0
- package/prompts/taiyi-token-record.md +11 -0
- package/prompts/taiyi-token-scan.md +11 -0
- package/prompts/taiyi-token-status.md +11 -0
- package/prompts/taiyi-token.md +26 -0
- package/prompts/taiyi-ui-test.md +13 -0
- package/prompts/taiyi-ultraqa.md +11 -0
- package/prompts/taiyi-ultrawork.md +21 -0
- package/prompts/taiyi-verify.md +14 -0
- package/prompts/taiyi-visual-verdict.md +11 -0
- package/prompts/taiyi-workflow.md +32 -0
- package/prompts/taiyi-write.md +13 -0
- package/prompts/taiyi.md +52 -0
- package/prompts/ty.md +12 -0
- package/scripts/capture-poster.mjs +45 -0
- package/scripts/ci.mjs +24 -0
- package/scripts/claude-keyword-hook.mjs +94 -0
- package/scripts/claude-mode-stop-hook.mjs +49 -0
- package/scripts/claude-phase-guard-hook.mjs +48 -0
- package/scripts/codex-keyword-preflight.mjs +73 -0
- package/scripts/codex-mode-reminder.mjs +26 -0
- package/scripts/cursor-keyword-hook.mjs +98 -0
- package/scripts/cursor-mode-stop-hook.mjs +49 -0
- package/scripts/cursor-phase-guard-hook.mjs +43 -0
- package/scripts/dogfood-e2e.mjs +33 -0
- package/scripts/generate-architecture-svg.py +443 -0
- package/scripts/generate-docs.mjs +364 -0
- package/scripts/install-skills.sh +47 -0
- package/scripts/install.sh +12 -0
- package/scripts/keyword-modes-lib.mjs +70 -0
- package/scripts/lib/parse-commands-yaml.mjs +395 -0
- package/scripts/mermaid-arch-config.json +29 -0
- package/scripts/mode-stop-lib.mjs +127 -0
- package/scripts/phase-guard-lib.mjs +147 -0
- package/scripts/probes/post-fix-regression.mjs +142 -0
- package/scripts/probes/probe-worktree.mjs +43 -0
- package/scripts/probes/taiyi-fullflow-probe.mjs +144 -0
- package/scripts/render-mermaid.mjs +105 -0
- package/scripts/sync-agent-roles-yaml.mjs +11 -0
- package/scripts/taiyi-forge.mjs +49 -0
- package/scripts/taiyi-forge.sh +177 -0
- package/scripts/walkthrough.mjs +13 -0
- package/skills/taiyi-architect/SKILL.md +121 -0
- package/skills/taiyi-change/SKILL.md +130 -0
- package/skills/taiyi-compress/SKILL.md +75 -0
- package/skills/taiyi-design/SKILL.md +106 -0
- package/skills/taiyi-dev/SKILL.md +110 -0
- package/skills/taiyi-diagram-arch/SKILL.md +114 -0
- package/skills/taiyi-diagram-c4/SKILL.md +68 -0
- package/skills/taiyi-diagram-flow/SKILL.md +114 -0
- package/skills/taiyi-diagram-pipeline/SKILL.md +80 -0
- package/skills/taiyi-diagram-render/SKILL.md +94 -0
- package/skills/taiyi-evolve/SKILL.md +143 -0
- package/skills/taiyi-forge/SKILL.md +44 -0
- package/skills/taiyi-health/SKILL.md +118 -0
- package/skills/taiyi-integration/SKILL.md +118 -0
- package/skills/taiyi-intel-scan/SKILL.md +133 -0
- package/skills/taiyi-orchestrator/SKILL.md +126 -0
- package/skills/taiyi-requirement/SKILL.md +119 -0
- package/skills/taiyi-restyle/SKILL.md +115 -0
- package/skills/taiyi-review/SKILL.md +143 -0
- package/skills/taiyi-task/SKILL.md +97 -0
- package/skills/taiyi-test/SKILL.md +113 -0
- package/skills/taiyi-ui-design/SKILL.md +103 -0
- package/skills/taiyi-ultrawork/SKILL.md +34 -0
- package/templates/CHANGE.md +18 -0
- package/templates/CHANGELOG.md +22 -0
- package/templates/CONTEXT.md +31 -0
- package/templates/DESIGN.md +36 -0
- package/templates/REQUIREMENT.md +27 -0
- package/templates/REVIEW.md +25 -0
- package/templates/TASK.md +20 -0
- package/templates/TEST.md +24 -0
- package/templates/UI-DESIGN.md +31 -0
package/AGENTS.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# TaiyiForge (oh-my-taiyiforge)
|
|
2
|
+
|
|
3
|
+
开源 AI 研发工作流:**OpenCode** 插件 + **Claude / Codex / Cursor** 共用 `taiyi-*` Skill 与 `.taiyi/changes/<slug>/` 工件契约。
|
|
4
|
+
|
|
5
|
+
## 从这里读
|
|
6
|
+
|
|
7
|
+
| 目的 | 文档 |
|
|
8
|
+
|------|------|
|
|
9
|
+
| **5 分钟跑通** | [`docs/QUICKSTART.md`](docs/QUICKSTART.md) |
|
|
10
|
+
| **斜杠命令真源** | [`docs/taiyi/canonical-commands.md`](docs/taiyi/canonical-commands.md)(**v28 顶栏**)· [`docs/taiyi/commands.yaml`](docs/taiyi/commands.yaml) |
|
|
11
|
+
| **控制面 / Agent 纪律** | [`docs/taiyi/control-plane.md`](docs/taiyi/control-plane.md) |
|
|
12
|
+
| **工件目录** | [`docs/taiyi/artifact-layout.md`](docs/taiyi/artifact-layout.md) |
|
|
13
|
+
| **架构** | [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) |
|
|
14
|
+
| **Skill 融合原则** | [`docs/taiyi/skill-fusion-principles.md`](docs/taiyi/skill-fusion-principles.md) |
|
|
15
|
+
| **贡献** | [`CONTRIBUTING.md`](CONTRIBUTING.md) |
|
|
16
|
+
|
|
17
|
+
## 硬约定(摘要)
|
|
18
|
+
|
|
19
|
+
1. 每个变更一个 slug:`.taiyi/changes/<slug>/`
|
|
20
|
+
2. 九阶段顺序见 `docs/taiyi/phases.yaml` — **上一阶段未完成不得进入下一阶段**
|
|
21
|
+
3. 过关须 **人工审批** + **质量门禁五维**(`docs/taiyi/quality-gate.yaml`)
|
|
22
|
+
4. **dev 阶段 TDD**:先失败测试,再最小实现
|
|
23
|
+
5. **Token 纪律**:清 slug → archive → `token compress` → E2E/全量测试走 CI 后台(对话只写 TEST.md 摘要)
|
|
24
|
+
|
|
25
|
+
## Agent 读状态(默认)
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
scripts/taiyi-forge.sh status [slug] --json --compact
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
解析 **`engineTruth`**,勿全量读工件进聊天。人类用户要可读摘要时用无前缀 `status` 或 `--compact`(无 `--json`)。
|
|
32
|
+
|
|
33
|
+
排查:`doctor --json --compact` · `audit --json --compact`(仅失败项 / high findings)。Cursor 可用 MCP `taiyi_doctor` / `taiyi_audit`。
|
|
34
|
+
|
|
35
|
+
## 安装(一行)
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npx taiyi-forge-install --all # 23 个 taiyi-* Skill → 四端
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
细节见 **QUICKSTART**;引擎 shell:`scripts/taiyi-forge.sh` · [`docs/taiyi/control-plane.md`](docs/taiyi/control-plane.md)
|
|
42
|
+
|
|
43
|
+
## 许可
|
|
44
|
+
|
|
45
|
+
MIT — 见 [`LICENSE`](LICENSE)
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 TaiyiForge contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
[English](README.zh-CN.md) · **[简体中文](README.md)**
|
|
4
|
+
|
|
5
|
+
# TaiyiForge(太一炉)
|
|
6
|
+
|
|
7
|
+
**把六套 AI 工程标准,变成一条可执行、可审计的九阶段研发流水线**
|
|
8
|
+
|
|
9
|
+
[](LICENSE)
|
|
10
|
+
[](package.json)
|
|
11
|
+
<!-- NPM-PUBLISH-TOGGLE: open the two lines below and remove this one after v0.24
|
|
12
|
+
[](https://www.npmjs.com/package/oh-my-taiyiforge)
|
|
13
|
+
[](https://www.npmjs.com/package/oh-my-taiyiforge)
|
|
14
|
+
-->
|
|
15
|
+
[](CHANGELOG.md)
|
|
16
|
+
[](docs/taiyi/canonical-commands.md)
|
|
17
|
+
[](https://github.com/Dong90/oh-my-taiyiforge/actions/workflows/ci.yml)
|
|
18
|
+
[](docs/QUICKSTART.md)
|
|
19
|
+
|
|
20
|
+
**用文档驱动 AI 研发,用门控代替玄学。**
|
|
21
|
+
|
|
22
|
+
> 不用背阶段顺序。说一句 `/taiyi:new`,引擎告诉你下一步。
|
|
23
|
+
|
|
24
|
+
[快速上手](#快速上手) · [使用指南](docs/USAGE.md) · [架构](docs/ARCHITECTURE.md) · [命令参考](docs/taiyi/canonical-commands.md) · [完整流程](docs/taiyi/full-oss-flow.md) · [贡献](CONTRIBUTING.md)
|
|
25
|
+
|
|
26
|
+
<br />
|
|
27
|
+
|
|
28
|
+

|
|
29
|
+
|
|
30
|
+
<sub>架构 SVG(矢量 · 55KB · GitHub 秒渲染)· <a href="docs/c4/containers.md">C4 真源</a> · <a href="docs/diagrams/visual/taiyiforge-architecture-ai-v023-full-4k.png">4K PNG 海报</a></sub>
|
|
31
|
+
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 1 · 问题
|
|
37
|
+
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
<sub>27 秒真实终端录制 · <a href="docs/diagrams/demo.cast">asciicast 源</a>(可在 <a href="https://asciinema.org">asciinema.org</a> 播放,或本地 `asciinema play docs/diagrams/demo.cast`)</sub>
|
|
41
|
+
|
|
42
|
+
每个用 AI 做严肃项目的团队,都踩过这些坑:
|
|
43
|
+
|
|
44
|
+
| 踩过的坑 | 为什么痛 |
|
|
45
|
+
|---------|---------|
|
|
46
|
+
| Agent 中途忘掉阶段顺序,跳到写代码 | 设计半成品、需求丢失、review 重做 |
|
|
47
|
+
| 长会话上下文爆炸,需求/设计/代码全丢 | 跨天/跨会话无法续上,只能推倒重来 |
|
|
48
|
+
| OpenCode / Claude / Codex / Cursor 各自一套流程 | 同一特性四种仪式,新人按工具入职而不是按团队 |
|
|
49
|
+
| 改个 typo 也要走完九阶段 | 死板流水线吃光小修复的节奏 |
|
|
50
|
+
| 关键节点不敢让 AI 拍板 | 没有 `--approver` 的人类门控,review 形同虚设 |
|
|
51
|
+
| 装好的 Skill 到底在干啥没人说得清 | 文档和实际行为漂移,出问题没审计 |
|
|
52
|
+
| 想跟 OMC / OMX 共存 | 锁死单一编排器就丢掉了可组合性 |
|
|
53
|
+
|
|
54
|
+
TaiyiForge 对每个问题的回答都在 [§2 方案](#2--方案)。
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## 2 · 方案
|
|
59
|
+
|
|
60
|
+
**一条九阶段工件契约** + **28 条 v28 顶栏 slash + 6 个 umbrella** + **一套 `/taiyi:*`
|
|
61
|
+
词汇表**,在四套 AI 终端里行为完全一致。
|
|
62
|
+
|
|
63
|
+
> **v28 = 推荐命名 + 顶栏收敛,Cursor/Claude 仍装全 prompt。Phase 2(IDE 菜单裁剪)未做,见 [canonical-commands.md](docs/taiyi/canonical-commands.md)。**
|
|
64
|
+
|
|
65
|
+
TaiyiForge 不发明新标准——它把 Harness · OpenSpec · GStack · Superpowers · OMO ·
|
|
66
|
+
Spec-Kit **编排成一台状态机**。装了什么用什么,其余自动跳过。
|
|
67
|
+
|
|
68
|
+
### 2.1 · 九阶段主流程
|
|
69
|
+
|
|
70
|
+
一个 change = 一个 slug,顺序执行,产出固定。**人类门控**必须带 `--approver`
|
|
71
|
+
才能放行。
|
|
72
|
+
|
|
73
|
+
| # | 阶段 | 类别 | Skill | 产出 | 备注 |
|
|
74
|
+
|---|------|------|-------|------|------|
|
|
75
|
+
| 1 | change | 人类门控 | `taiyi-change` | `CHANGE.md` | 3-5 段方案 + 范围 |
|
|
76
|
+
| 2 | requirement | 自动 | `taiyi-requirement` | `REQUIREMENT.md` | 验收标准 + AC 复选框 |
|
|
77
|
+
| 3 | design | 人类门控 | `taiyi-design` | `DESIGN.md` | ≥2 方案对比 + 决策 |
|
|
78
|
+
| 4 | ui-design | 自动 | `taiyi-ui-design` | `UI-DESIGN.md` | 仅触 UI 的 change |
|
|
79
|
+
| 5 | task | 自动 | `taiyi-task` | `TASK.md` | 切成可独立 PR 的片段 |
|
|
80
|
+
| 6 | dev | 自动 | `taiyi-dev` | TDD 测试 + 最小实现 | **强制 TDD**——先红后绿 |
|
|
81
|
+
| 7 | test | 自动 | `taiyi-test` | `TEST.md` | 留摘要,E2E 跑 CI |
|
|
82
|
+
| 8 | review | 人类门控 | `taiyi-review` | `REVIEW.md` | 跨 AI 评审 + 高危必改 |
|
|
83
|
+
| 9 | integration | 自动 | `taiyi-integration` | `CHANGELOG.md` 合并 | 交付门控: `audit` + `deliveryVerifyCmd` |
|
|
84
|
+
| — | archive | 收尾 | `taiyi-integration` | `.taiyi/archive/` | 九阶段全过后才执行 |
|
|
85
|
+
|
|
86
|
+
完整命令表 → **[canonical-commands.md](docs/taiyi/canonical-commands.md)** · 工件布局 → **[artifact-layout.md](docs/taiyi/artifact-layout.md)**
|
|
87
|
+
|
|
88
|
+
### 2.2 · v28 顶栏命令(28 条)
|
|
89
|
+
|
|
90
|
+
真源: [canonical-commands.md](docs/taiyi/canonical-commands.md) → `canonical_v28`。
|
|
91
|
+
旧 slash 仍可用,见 [Legacy 兼容](#legacy-兼容)。
|
|
92
|
+
|
|
93
|
+
| # | 分组 | Slash | 用途 |
|
|
94
|
+
|---|------|-------|------|
|
|
95
|
+
| 1–6 | 主链 | `new` · `status` · `write` · `continue` · `apply` · `archive` | 日常最短路径 |
|
|
96
|
+
| 7–10 | 会话 | `handoff` · `resume` · `cancel` · `list` | 跨会话 |
|
|
97
|
+
| 11–13 | 排查 | `doctor` · `audit` · `verify` | 自检 + 交付门控 |
|
|
98
|
+
| 14–17 | 交付 | `commit` · `ship` · `land` · `release` | gstack 交付链 |
|
|
99
|
+
| 18–19 | 路由 | `gstack <skill>` · `sp <skill>` | 外部 harness 路由 |
|
|
100
|
+
| 20–22 | 阶段捷径 | `explore` · `tdd plan\|dev` · `flow` | 跳过九阶段 |
|
|
101
|
+
| 23–28 | **Umbrellas(6)** | `token …` · `test …` · `review …` · `diagram …` · `mode …` · `workflow …` | 领域多子命令 |
|
|
102
|
+
|
|
103
|
+
**日常最短路径**:
|
|
104
|
+
|
|
105
|
+
```text
|
|
106
|
+
/taiyi:new → /taiyi:write → /taiyi:continue → /taiyi:apply → … → /taiyi:commit → /taiyi:continue integration → /taiyi:archive
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
**Umbrella 速查**(完整地图见 [canonical-commands.md §伞形命令·子命令地图](docs/taiyi/canonical-commands.md)):
|
|
110
|
+
|
|
111
|
+
| Umbrella | 子命令 | 数量 |
|
|
112
|
+
|----------|-------|----:|
|
|
113
|
+
| `/taiyi:token` | `status` · `record` · `scan` · `compress` | 4 |
|
|
114
|
+
| `/taiyi:test` | `smoke` · `e2e` · `qa` · `ui` · `security` | 5 |
|
|
115
|
+
| `/taiyi:review` | `loop` · `check` · `health` · `gstack` | 4 |
|
|
116
|
+
| `/taiyi:diagram` | `pipeline` · `c4` · `arch` · `render` · `flow` | 5 |
|
|
117
|
+
| `/taiyi:mode` | `ralph` · `autopilot` · `daemon` · `team` · `ultrawork` · `agent` · `step` · `stop` · `list` · `keyword` · `preflight` | 11 |
|
|
118
|
+
| `/taiyi:workflow` | `plan` · `ralplan` · `loop` · `check` · `run` · `sync` · `ccg` · `sciomc` · `deepinit` · `remember` · `ultraqa` | 11 |
|
|
119
|
+
|
|
120
|
+
### 2.3 · Legacy 兼容
|
|
121
|
+
|
|
122
|
+
旧 slash & CLI **仍可用**——完整列表见
|
|
123
|
+
[canonical-commands.md §Legacy 兼容](docs/taiyi/canonical-commands.md)。不要在
|
|
124
|
+
v28 umbrella 之外再添新的顶栏重复。
|
|
125
|
+
|
|
126
|
+
| 旧 / legacy | v28 现用 |
|
|
127
|
+
|------|----------|
|
|
128
|
+
| `/taiyi:pause` | `/taiyi:handoff` |
|
|
129
|
+
| `/taiyi:state` · `/taiyi:state-read` | `/taiyi:status` |
|
|
130
|
+
| `/taiyi:next` · `/taiyi:done` | `/taiyi:status` + `/taiyi:continue` |
|
|
131
|
+
| `/taiyi:change` … `/taiyi:integration` | `/taiyi:write` |
|
|
132
|
+
| `/taiyi:ralph` 等 OMC | `/taiyi:mode ralph` |
|
|
133
|
+
| `npx taiyi new` · `npx taiyi walkthrough` | `/taiyi:new` · `/taiyi:flow help` |
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## 3 · 证据
|
|
138
|
+
|
|
139
|
+
### 3.1 · 一套 Skill,四端共享
|
|
140
|
+
|
|
141
|
+
一条 `node scripts/taiyi-forge.sh install --all` 同步到四端,缺哪端就跳过哪端。
|
|
142
|
+
28 条 v28 顶栏 slash 相同,`taiyi-*` Skill 相同——每端的聊天语法和 MCP 暴露不同:
|
|
143
|
+
|
|
144
|
+
| Harness | 聊天入口 | 引擎入口 | MCP | Hook / 关键词 | 详见 |
|
|
145
|
+
|---------|---------|---------|-----|---------------|------|
|
|
146
|
+
| **Claude Code** | `/taiyi:new … /taiyi:archive` + Skill + `~/.claude/commands/taiyi-*.md` | Agent 跑 Bash | `taiyi_doctor` · `taiyi_audit` | keyword hook | [control-plane.md §四端对照](docs/taiyi/control-plane.md) |
|
|
147
|
+
| **Codex** | `$taiyi-new` … `$taiyi-archive`(`prompts/taiyi-*.md`——**不是** `/taiyi:*`) | Agent 跑 `scripts/taiyi-forge.sh` | 无(靠 shell) | `codex-keyword-preflight.mjs` + `developer_instructions`(`~/.codex/config.toml`) | [control-plane.md §Codex](docs/taiyi/control-plane.md) |
|
|
148
|
+
| **Cursor** | `/taiyi:new … /taiyi:status` + `taiyiforge.mdc` 规则 + `~/.cursor/commands/taiyi-*.md` | Agent 终端 / MCP | `taiyi_doctor` · `taiyi_audit` | keyword hook | [mcp-setup.md](docs/taiyi/mcp-setup.md) |
|
|
149
|
+
| **OpenCode** | `taiyi_new` / `taiyi_*` 插件工具 + `~/.config/opencode/commands/taiyi-*.md` | plugin + `/taiyi-*` 斜杠 | (插件内置) | 插件自管 | [control-plane.md §OpenCode](docs/taiyi/control-plane.md) |
|
|
150
|
+
|
|
151
|
+
> **Codex 注意**:聊天入口是 `$taiyi-*` 关键词(不是 `/taiyi:*`),通过
|
|
152
|
+
> `codex-keyword-preflight.mjs` 和 `developer_instructions` 路由。见
|
|
153
|
+
> [control-plane.md](docs/taiyi/control-plane.md)。
|
|
154
|
+
|
|
155
|
+
### 3.2 · 聊天轨 vs 引擎轨
|
|
156
|
+
|
|
157
|
+
| 表面 | 谁在用 | 干啥 | 例子 |
|
|
158
|
+
|------|-------|------|------|
|
|
159
|
+
| **聊天 slash** | 开发者 / Agent | 写工件、跑 TDD、加载专用 Skill | `/taiyi:write` · `/taiyi:apply` · `/taiyi:tdd dev` |
|
|
160
|
+
| **引擎 CLI** | Agent / CI(代用户跑) | 校验工件、放行门控、推进阶段 | `npx taiyi continue <slug>` · `npx taiyi complete <slug> change --approver "…"` |
|
|
161
|
+
| **Shell 入口** | Agent / CI | 等价于 CLI;安装到消费项目后写入 | `scripts/taiyi-forge.sh status --json --compact` |
|
|
162
|
+
| **MCP** | Cursor 等 | 只读排障 | `taiyi_doctor` · `taiyi_audit` |
|
|
163
|
+
|
|
164
|
+
**原则**:用户只说 `/taiyi:*`;**绝不**让用户手打 `taiyi-forge.sh`。Agent 读
|
|
165
|
+
`status --json --compact` 的 `engineTruth`;不要把整份工件塞进聊天。
|
|
166
|
+
|
|
167
|
+
### 3.3 · 架构一图
|
|
168
|
+
|
|
169
|
+
```
|
|
170
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
171
|
+
│ 入口: taiyi CLI · taiyi-forge.sh · OpenCode plugin · MCP │
|
|
172
|
+
└───────────────────────────┬─────────────────────────────────┘
|
|
173
|
+
▼
|
|
174
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
175
|
+
│ workflow-engine — 意图分析 · token 预算 · 路由 · 门控 │
|
|
176
|
+
└───────────────────────────┬─────────────────────────────────┘
|
|
177
|
+
▼
|
|
178
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
179
|
+
│ .taiyi/changes/<slug>/ — CHANGE … CHANGELOG(真源) │
|
|
180
|
+
└─────────────────────────────────────────────────────────────┘
|
|
181
|
+
聊天加载 taiyi-* Skill 写工件 ↑ ↓ 引擎校验并推进阶段
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
- 代码布局 → **[docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)**
|
|
185
|
+
- C4 源 → **[docs/c4/](docs/c4/)**
|
|
186
|
+
- 视觉海报(README 顶部)→ [docs/diagrams/visual/](docs/diagrams/visual/)
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## 4 · 快速上手
|
|
191
|
+
|
|
192
|
+
> **状态说明**:v0.23.0 **尚未发布到 npm**。当前唯一的安装方式是 **从源码**。CI 已绿,
|
|
193
|
+
> npm 紧随其后;badge 届时自动切换。
|
|
194
|
+
|
|
195
|
+
### 方式 A · 源码安装(推荐,现成可用)
|
|
196
|
+
|
|
197
|
+
```bash
|
|
198
|
+
git clone https://github.com/Dong90/oh-my-taiyiforge.git
|
|
199
|
+
cd oh-my-taiyiforge
|
|
200
|
+
npm install && npm run build && npm test
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### 方式 B · 装到本项目(同样源码路径)
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
git clone https://github.com/Dong90/oh-my-taiyiforge.git
|
|
207
|
+
cd oh-my-taiyiforge
|
|
208
|
+
npm install && npm run build
|
|
209
|
+
|
|
210
|
+
# 一键装到四端 + 可选铁三角
|
|
211
|
+
# (OpenSpec / gstack / Superpowers / web-quality-skills)
|
|
212
|
+
node scripts/taiyi-forge.sh install --all
|
|
213
|
+
|
|
214
|
+
# 或一次一端:
|
|
215
|
+
node scripts/taiyi-forge.sh install --cursor
|
|
216
|
+
node scripts/taiyi-forge.sh install --claude --cursor
|
|
217
|
+
# 跳过可选依赖:
|
|
218
|
+
node scripts/taiyi-forge.sh install --all --skip-deps
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### 方式 C · 跑通示例工程(零安装,快速体验)
|
|
222
|
+
|
|
223
|
+
```bash
|
|
224
|
+
cd examples/commands-smoke
|
|
225
|
+
npm install
|
|
226
|
+
npm run chat-demo # 聊天动词: new / status / check / continue
|
|
227
|
+
npm run walkthrough-e2e # 九阶段 shell E2E + 铁三角
|
|
228
|
+
# /taiyi:doctor # 工作区 + 安装自检(聊天 slash)
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
| 示例 | 用途 |
|
|
232
|
+
|------|------|
|
|
233
|
+
| [examples/full-flow-demo](examples/full-flow-demo/README.md) | 九阶段 + slash E2E |
|
|
234
|
+
| [examples/commands-smoke](examples/commands-smoke/) | 命令冒烟测试 |
|
|
235
|
+
| [examples/browser-e2e-smoke](examples/browser-e2e-smoke/) | CI 模板 |
|
|
236
|
+
| [examples/verification-suite](examples/verification-suite/) | 极简集成验证 |
|
|
237
|
+
|
|
238
|
+
> 想用 `npm install oh-my-taiyiforge`?等 [Releases](https://github.com/Dong90/oh-my-taiyiforge/releases)
|
|
239
|
+
> 公告,这里会先亮。
|
|
240
|
+
|
|
241
|
+
### 方式 D · 第一个 change(5 分钟)
|
|
242
|
+
|
|
243
|
+
```bash
|
|
244
|
+
# 推荐入口: 自动 slug + 引擎引导
|
|
245
|
+
npx taiyi walkthrough
|
|
246
|
+
npx taiyi new "优化登录流程" # 写到 .taiyi/changes/<slug>/
|
|
247
|
+
npx taiyi status # 当前阶段 + 推荐 Skill + 下一步
|
|
248
|
+
|
|
249
|
+
# 编辑 .taiyi/changes/<slug>/CHANGE.md,然后:
|
|
250
|
+
npx taiyi complete <slug> change --approver "你的名字" # 人类门控
|
|
251
|
+
npx taiyi continue <slug> # 自动门控
|
|
252
|
+
|
|
253
|
+
# 在聊天里(OpenCode / Claude / Cursor——Codex 用 `$taiyi-*` 关键词):
|
|
254
|
+
/taiyi:new "<feature title>" # 落 CHANGE.md 模板
|
|
255
|
+
/taiyi:status # 当前阶段 + 推荐 Skill + 下一步
|
|
256
|
+
/taiyi:write # 写当前阶段工件(覆盖 9 阶段)
|
|
257
|
+
/taiyi:continue --approver "你的名字" # 人类门控(change / design / review)
|
|
258
|
+
/taiyi:apply # dev/test harness checklist
|
|
259
|
+
/taiyi:commit # dev 后带 Taiyi-Change trailer 的提交
|
|
260
|
+
/taiyi:archive # 九阶段全过后归档
|
|
261
|
+
|
|
262
|
+
# 常用 umbrella 一行:
|
|
263
|
+
/taiyi:doctor # 安装 + 工作区自检
|
|
264
|
+
/taiyi:token compress <slug> # 长会话 → CONTEXT-COMPACT.md
|
|
265
|
+
/taiyi:test smoke # Playwright 内置冒烟
|
|
266
|
+
/taiyi:flow bug <slug> # 小修复走 lite 路径
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
就这些。**阶段顺序、工件模板、门控校验全是引擎的活**。你只管写 Markdown 和代码。
|
|
270
|
+
|
|
271
|
+
Agent 排障:
|
|
272
|
+
|
|
273
|
+
```bash
|
|
274
|
+
scripts/taiyi-forge.sh doctor --json --compact
|
|
275
|
+
scripts/taiyi-forge.sh audit --json --compact
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## 5 · 参考
|
|
281
|
+
|
|
282
|
+
### 5.1 · 文档导航
|
|
283
|
+
|
|
284
|
+
| 文档 | 覆盖什么 | 何时读 |
|
|
285
|
+
|------|---------|-------|
|
|
286
|
+
| [docs/QUICKSTART.md](docs/QUICKSTART.md) | 5 分钟走通 | 首次安装 |
|
|
287
|
+
| [docs/USAGE.md](docs/USAGE.md) | 场景 · 日常节奏 · 交付链 | 走通之后 |
|
|
288
|
+
| [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) | 架构概览 + 代码布局 | 改引擎 / 排障 |
|
|
289
|
+
| [docs/taiyi/canonical-commands.md](docs/taiyi/canonical-commands.md) | v28 slash 命令表 | 查命令 |
|
|
290
|
+
| [docs/taiyi/control-plane.md](docs/taiyi/control-plane.md) | Agent 纪律 + token 纪律 | 给 Agent 做 onboarding |
|
|
291
|
+
| [docs/taiyi/full-oss-flow.md](docs/taiyi/full-oss-flow.md) | Superpowers + 全插件演示 | 想看完整端到端 |
|
|
292
|
+
| [docs/taiyi/integrations.md](docs/taiyi/integrations.md) | 铁三角 + 插件集成 | 装可选件 |
|
|
293
|
+
| [AGENTS.md](AGENTS.md) | Agent 的读态入口 | 配置 Agent |
|
|
294
|
+
| [CONTRIBUTING.md](CONTRIBUTING.md) | 贡献指南 | 开 PR 之前 |
|
|
295
|
+
| [CHANGELOG.md](CHANGELOG.md) | 发布说明 | 查更新 |
|
|
296
|
+
| [docs/diagrams/demo.gif](docs/diagrams/demo.gif) | 真实终端录制(27s) | 快速感受引擎 |
|
|
297
|
+
| [README.md](README.md) | English | English users |
|
|
298
|
+
|
|
299
|
+
### 5.2 · 开发与验证
|
|
300
|
+
|
|
301
|
+
**贡献者克隆:**
|
|
302
|
+
|
|
303
|
+
```bash
|
|
304
|
+
git clone https://github.com/Dong90/oh-my-taiyiforge.git
|
|
305
|
+
cd oh-my-taiyiforge
|
|
306
|
+
npm install && npm run build && npm test
|
|
307
|
+
node scripts/taiyi-forge.sh install --all
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
**常用命令:**
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
npm test # Vitest 契约 + 九阶段 E2E
|
|
314
|
+
npm run test:watch # 监听模式
|
|
315
|
+
npm run build # TypeScript → dist/
|
|
316
|
+
npm run dogfood # 根仓库自吃狗粮演示
|
|
317
|
+
npm run ci:platforms # 四端冒烟(opencode/claude/codex/cursor)
|
|
318
|
+
npm run check:docs # doc-vs-commands.yaml 同步校验
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
CI: [`.github/workflows/ci.yml`](.github/workflows/ci.yml)——平台冒烟跑 4 × ubuntu
|
|
322
|
+
矩阵。
|
|
323
|
+
|
|
324
|
+
### 5.3 · 路线图与状态
|
|
325
|
+
|
|
326
|
+
| 版本 | 状态 | 关键里程碑 |
|
|
327
|
+
|------|------|----------|
|
|
328
|
+
| v0.23.0 | ✅ 已发布 | **canonical v28**: 28 顶栏 slashes + 6 umbrellas(`token`/`test`/`review`/`diagram`/`mode`/`workflow`) + `skill-fusion-principles.md` + `validateV28CatalogSync` gate |
|
|
329
|
+
| v0.24.x | 🚧 进行中 | 首次 npm 发布 · `oh-my-taiyiforge` 零构建安装 · README v28 收敛(本次重写) · umbrella Phase 2(真 IDE 菜单裁剪)延后 |
|
|
330
|
+
| v1.0.0 | ⏳ 计划 | 锁定 9 阶段 API · 四端 parity · 外部案例收集 |
|
|
331
|
+
|
|
332
|
+
**已就绪**: 完整九阶段流水线 · 四端共享 Skill · 强制 TDD · token 压缩 · 平台冒烟 CI
|
|
333
|
+
**未就绪**: 一行 npm 安装(v0.24 目标) · 生产级 SLA · 完整 i18n
|
|
334
|
+
|
|
335
|
+
### 5.4 · 社区与贡献
|
|
336
|
+
|
|
337
|
+
- 🐛 **报告 Bug**: [GitHub Issues](https://github.com/Dong90/oh-my-taiyiforge/issues/new) · `bug` 标签
|
|
338
|
+
- 💡 **想法 / RFC**: [Discussions](https://github.com/Dong90/oh-my-taiyiforge/discussions)
|
|
339
|
+
- 🔧 **开 PR**: 先读 [CONTRIBUTING.md](CONTRIBUTING.md);`npm test` + `npm run check:docs` 必须绿
|
|
340
|
+
- ⭐ **Star / Watch**: 点个星,下次发布就收到通知
|
|
341
|
+
- 🧵 **Codex 用户**: 搜 `$taiyi-*` 关键词;四端入口决策树在 [docs/taiyi/invoke.yaml](docs/taiyi/invoke.yaml)
|
|
342
|
+
|
|
343
|
+
行为准则: 遵循 [Contributor Covenant](https://www.contributor-covenant.org/) 精神——批评想法,不批评人。
|
|
344
|
+
|
|
345
|
+
### 5.5 · 许可证
|
|
346
|
+
|
|
347
|
+
[MIT](LICENSE) © 2026 TaiyiForge contributors
|
|
348
|
+
|
|
349
|
+
### 5.6 · 致谢
|
|
350
|
+
|
|
351
|
+
灵感来自: [oh-my-claudecode](https://github.com/Yeachan-Heo/oh-my-claudecode) · [oh-my-codex](https://github.com/Yeachan-Heo/oh-my-codex) · Harness Engineering · OpenSpec · GStack · Superpowers · OMO · Spec-Kit。
|