@givolt/i3-composer-agent 2.2.2 → 2.3.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/.agents/plugins/marketplace.json +1 -1
- package/.claude/commands/i3-prototype.md +23 -0
- package/.claude/commands/i3-review.md +1 -1
- package/.claude/commands/i3-ship.md +1 -1
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +2 -2
- package/.gemini/commands/i3-prototype.toml +23 -0
- package/.gemini/commands/i3-review.toml +1 -1
- package/.gemini/commands/i3-ship.toml +1 -1
- package/README.md +42 -25
- package/agents/code-reviewer.md +1 -1
- package/agents/test-engineer.md +1 -1
- package/bin/i3-composer-agent.cjs +5 -4
- package/bin/install.cjs +22 -10
- package/bin/native-command-validation.cjs +8 -13
- package/bin/native-layout.cjs +64 -28
- package/bin/native-migration.cjs +13 -7
- package/bin/native-runtime.cjs +10 -5
- package/commands/i3-prototype.toml +23 -0
- package/commands/i3-review.toml +1 -1
- package/commands/i3-ship.toml +1 -1
- package/docs/advanced-per-agent-configuration.md +78 -0
- package/docs/agents.md +2 -2
- package/docs/codebuddy-setup.md +5 -5
- package/docs/codex-setup.md +3 -3
- package/docs/copilot-setup.md +4 -0
- package/docs/cursor-setup.md +3 -0
- package/docs/other-hosts.md +44 -9
- package/docs/workbuddy-setup.md +9 -9
- package/evals/README.md +28 -16
- package/evals/cases/i3-documentation-and-adrs.json +18 -0
- package/evals/cases/i3-test-driven-development.json +8 -0
- package/evals/cases/i3-ui-prototype.json +49 -0
- package/evals/fixtures/i3-documentation-and-adrs/prose-review/README.md +19 -0
- package/evals/fixtures/i3-documentation-and-adrs/prose-review/queue.js +32 -0
- package/evals/fixtures/i3-ui-prototype/business-brief.md +7 -0
- package/evals/plugin/tdd-fires-on-pasted-bug/graders/failing-test-first.md +7 -0
- package/evals/plugin/tdd-fires-on-pasted-bug/graders/skill-fired.md +5 -0
- package/evals/plugin/tdd-fires-on-pasted-bug/prompt.md +15 -0
- package/evals/plugin/tdd-stays-quiet-on-debug/graders/not-fired.md +8 -0
- package/evals/plugin/tdd-stays-quiet-on-debug/prompt.md +25 -0
- package/evals/zh-CN/cases/i3-documentation-and-adrs.json +19 -0
- package/evals/zh-CN/cases/i3-test-driven-development.json +4 -0
- package/evals/zh-CN/cases/i3-ui-prototype.json +50 -0
- package/hooks/SIMPLIFY-IGNORE.md +3 -2
- package/hooks/simplify-ignore-test.sh +93 -1
- package/hooks/simplify-ignore.sh +94 -11
- package/package.json +63 -18
- package/plugin.json +1 -1
- package/references/performance-checklist.md +4 -2
- package/scripts/enterprise-template-test.js +139 -0
- package/scripts/floor-guard-reference-test.js +291 -0
- package/scripts/lib/skill-lint-test.js +762 -0
- package/scripts/lib/skill-lint.js +62 -8
- package/scripts/run-evals-test.js +830 -0
- package/scripts/run-evals.js +47 -9
- package/scripts/run-regressions.js +19 -0
- package/scripts/template-adapter-test.js +155 -0
- package/scripts/ui-prototype-test.js +114 -0
- package/scripts/validate-artifact-paths-test.js +179 -0
- package/scripts/validate-commands-test.js +246 -0
- package/scripts/validate-commands.js +6 -16
- package/scripts/validate-reference-links-test.js +513 -0
- package/scripts/validate-reference-links.js +4 -2
- package/scripts/validate-skills.js +26 -3
- package/scripts/validate-versions-test.js +32 -0
- package/skills/i3-documentation-and-adrs/SKILL.md +9 -0
- package/skills/i3-frontend-ui-engineering/SKILL.md +5 -1
- package/skills/i3-idea-refine/SKILL.md +20 -5
- package/skills/i3-incremental-implementation/SKILL.md +4 -0
- package/skills/i3-performance-optimization/SKILL.md +10 -10
- package/skills/i3-security-and-hardening/references/hardening-patterns.md +1 -1
- package/skills/i3-shipping-and-launch/SKILL.md +6 -0
- package/skills/i3-test-driven-development/SKILL.md +3 -3
- package/skills/i3-ui-prototype/SKILL.md +119 -0
- package/skills/i3-ui-prototype/assets/templates/catalog.json +147 -0
- package/skills/i3-ui-prototype/assets/templates/classic-admin/manifest.json +9 -0
- package/skills/i3-ui-prototype/assets/templates/classic-admin/preset.json +6 -0
- package/skills/i3-ui-prototype/assets/templates/common/app/app.mjs +89 -0
- package/skills/i3-ui-prototype/assets/templates/common/app/config.json +1 -0
- package/skills/i3-ui-prototype/assets/templates/common/app/domain.mjs +20 -0
- package/skills/i3-ui-prototype/assets/templates/common/app/index.html +17 -0
- package/skills/i3-ui-prototype/assets/templates/common/app/serve.cjs +16 -0
- package/skills/i3-ui-prototype/assets/templates/common/app/styles.css +670 -0
- package/skills/i3-ui-prototype/assets/templates/common/app/tokens.css +19 -0
- package/skills/i3-ui-prototype/assets/templates/common/design-system/master.md +20 -0
- package/skills/i3-ui-prototype/assets/templates/common/gallery.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/common/mocks/applications.json +5 -0
- package/skills/i3-ui-prototype/assets/templates/common/requirements-map.json +8 -0
- package/skills/i3-ui-prototype/assets/templates/common/serve-gallery.cjs +16 -0
- package/skills/i3-ui-prototype/assets/templates/credits.md +17 -0
- package/skills/i3-ui-prototype/assets/templates/data-operations/manifest.json +9 -0
- package/skills/i3-ui-prototype/assets/templates/data-operations/preset.json +6 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/design-system.md +32 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/index.html +29 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/manifest.json +9 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/origin.json +344 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/preset.json +928 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/app.js +22 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/assets/empty.svg +1 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/assets/reference-styles.json +1 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/assets/result-403.svg +1 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/assets/result-404.svg +1 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/assets-manifest.json +334 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/baseline.json +173 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/conversion.md +30 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/credits.md +17 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/design-tokens.json +881 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/index.html +28 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/licenses/@qin-ui-antdv-next-pro.txt +9 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/licenses/ant-design-icons.txt +22 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/licenses/antdv-next.txt +21 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/package.json +12 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/browser-routes.json +298 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/coverage.json +180 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/integrity.json +13 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/keyboard.json +11 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/responsive.json +125 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/review.md +51 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/rules.log +150 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/screenshots/flow-editor-html.png +0 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/screenshots/flow-editor-original.png +0 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/screenshots/intent-create-html.png +0 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/screenshots/intent-create-original.png +0 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/screenshots/models-html.png +0 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/screenshots/models-original.png +0 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/screenshots/workbench-html.png +0 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/screenshots/workbench-original.png +0 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/selection.json +9 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/qa/visual-comparison.json +342 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/readme.md +73 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/reference.md +59 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/routes.json +178 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/runtime/controls.js +99 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/runtime/dialogs.js +54 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/runtime/dom.js +264 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/runtime/forms.js +47 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/runtime/icons.js +41 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/runtime/layout.js +47 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/runtime/router.js +63 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/runtime/state.js +90 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/runtime/table.js +41 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/runtime/widgets.js +8 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/AgentDetail.html +3 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/AgentDetail.js +36 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/AgentEditor.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/AgentEditor.js +51 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/AgentsPage.html +3 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/AgentsPage.js +48 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/CheckResults.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/CheckResults.js +6 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/ResourcePicker.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/ResourcePicker.js +13 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/data.js +24 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/domain.js +32 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/registry.js +25 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/agents/store.js +85 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentClose.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentClose.js +17 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentCreate.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentCreate.js +66 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentDecisions.html +3 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentDecisions.js +38 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentDetail.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentDetail.js +66 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentDocument.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentDocument.js +5 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentHeader.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentHeader.js +12 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentHistory.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentHistory.js +11 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentList.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentList.js +116 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentReplan.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentReplan.js +32 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentRevision.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentRevision.js +49 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentSummary.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentSummary.js +10 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentWorkspace.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/IntentWorkspace.js +77 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/data.js +60 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/domain.js +105 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/intents/store.js +212 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/AuditPanel.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/AuditPanel.js +18 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelDetail.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelDetail.js +23 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelEditor.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelEditor.js +78 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelGrant.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelGrant.js +55 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelReferences.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelReferences.js +26 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelRelease.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelRelease.js +38 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelStatus.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelStatus.js +7 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelTable.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelTable.js +72 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelTester.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelTester.js +46 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelsPage.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/ModelsPage.js +52 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/RowActions.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/RowActions.js +19 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/UsagePanel.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/UsagePanel.js +30 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/data.js +48 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/domain.js +39 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/models/store.js +129 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/IncidentDetail.html +4 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/IncidentDetail.js +21 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/IntentSource.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/IntentSource.js +8 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/OperationActionDialog.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/OperationActionDialog.js +37 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/OperationEntry.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/OperationEntry.js +10 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/OperationsPage.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/OperationsPage.js +37 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/RepairTrack.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/RepairTrack.js +49 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/RunDetail.html +4 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/RunDetail.js +22 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/SourceSummary.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/SourceSummary.js +9 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/commands.js +82 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/examples.js +47 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/model.js +61 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/repair.js +68 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/store.js +55 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/types.js +1 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/operations/workbench.js +18 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/ManagementTable.html +3 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/ManagementTable.js +28 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcCreateEntry.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcCreateEntry.js +18 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcDetail.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcDetail.js +31 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcEditor.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcEditor.js +27 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcLifecycle.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcLifecycle.js +16 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcPage.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcPage.js +43 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcPicker.html +4 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcPicker.js +34 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcProgress.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcProgress.js +30 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcWizard.html +3 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcWizard.js +67 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcWorkspace.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcWorkspace.js +41 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcsPage.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/PbcsPage.js +31 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/ServiceEditor.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/ServiceEditor.js +26 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/ServiceList.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/ServiceList.js +70 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/data.js +8 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/domain.js +62 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/management.js +36 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/managementStore.js +49 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/pbc/store.js +132 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/AdminList.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/AdminList.js +38 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/EffectiveGrants.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/EffectiveGrants.js +11 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/GrantEditor.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/GrantEditor.js +45 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/MemberEditor.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/MemberEditor.js +54 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/MembersPage.html +3 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/MembersPage.js +27 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/RecordsPage.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/RecordsPage.js +12 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/RoleEditor.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/RoleEditor.js +45 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/RolesPage.html +3 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/RolesPage.js +38 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/domain.js +61 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/state.js +51 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/permissions/store.js +116 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/releases/ReleaseActionDialog.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/releases/ReleaseActionDialog.js +45 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/releases/ReleaseDetail.html +4 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/releases/ReleaseDetail.js +30 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/releases/ReleaseEditor.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/releases/ReleaseEditor.js +67 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/releases/ReleaseExecution.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/releases/ReleaseExecution.js +5 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/releases/ReleasesPage.html +4 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/releases/ReleasesPage.js +60 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/releases/commands.js +157 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/releases/model.js +136 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/releases/store.js +76 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/reviews/ReviewDetail.html +3 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/reviews/ReviewDetail.js +26 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/reviews/ReviewEvidence.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/reviews/ReviewEvidence.js +14 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/reviews/ReviewProcess.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/reviews/ReviewProcess.js +113 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/reviews/ReviewsPage.html +3 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/reviews/ReviewsPage.js +62 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/reviews/commands.js +97 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/reviews/model.js +147 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/reviews/store.js +13 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/ColumnSettings.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/ColumnSettings.js +9 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/ListBatchBar.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/ListBatchBar.js +8 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/ListDeleteDialog.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/ListDeleteDialog.js +37 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/ListMore.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/ListMore.js +8 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/RecordMetadata.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/RecordMetadata.js +17 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/columns.js +32 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/deliveryGuide.js +49 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/deliveryView.js +12 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/listBatch.js +15 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/listSelection.js +37 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/policy.js +68 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shared/session.js +44 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shell/ConfirmationDialog.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shell/ConfirmationDialog.js +25 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shell/ConsoleShell.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shell/ConsoleShell.js +53 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shell/PrototypeGuide.html +10 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shell/PrototypeGuide.js +30 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shell/ScopePage.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shell/ScopePage.js +10 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shell/SessionDialog.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shell/SessionDialog.js +9 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shell/confirmation.js +3 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/shell/navigation.js +19 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/SpecDocument.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/SpecDocument.js +8 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/SpecEdit.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/SpecEdit.js +32 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/SpecHeader.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/SpecHeader.js +15 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/SpecHistory.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/SpecHistory.js +11 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/SpecReview.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/SpecReview.js +57 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/SpecWorkspace.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/SpecWorkspace.js +37 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/data.js +20 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/domain.js +55 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/specs/store.js +151 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/ArtifactDetail.html +3 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/ArtifactDetail.js +18 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/TaskCreate.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/TaskCreate.js +40 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/TaskDetail.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/TaskDetail.js +51 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/TaskLaunch.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/TaskLaunch.js +9 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/TasksPage.html +5 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/TasksPage.js +48 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/domain.js +204 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/exampleSource.js +22 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/registry.js +135 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/tasks/store.js +137 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workbench/WorkbenchPage.html +3 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workbench/WorkbenchPage.js +36 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workbench/model.js +56 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workbench/store.js +15 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workflows/FlowCanvas.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workflows/FlowCanvas.js +27 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workflows/FlowDetail.html +4 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workflows/FlowDetail.js +31 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workflows/FlowEditor.html +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workflows/FlowEditor.js +68 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workflows/WorkflowsPage.html +5 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workflows/WorkflowsPage.js +55 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workflows/data.js +16 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workflows/domain.js +83 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workflows/registry.js +18 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/src/workflows/store.js +61 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/admin.css +60 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/agents.css +46 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/antdv.css +295 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/app.css +102 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/delivery.css +4 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/intents.css +37 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/native.css +22 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/operations.css +2 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/pbc.css +3 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/permissions.css +22 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/pro.css +1 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/releases.css +4 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/reset.css +246 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/reviews.css +8 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/tasks.css +6 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/tokens.css +15 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/workbench.css +61 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/styles/workflows.css +1 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/admin-rules.test.js +96 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/agents.test.js +14 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/intent-state.test.js +37 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/list-batch.test.js +44 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/operation-fixtures.js +19 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/operation-repair.test.js +14 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/operations.test.js +25 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/pbc-management.test.js +17 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/pbc-state.test.js +24 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/permission-config.test.js +23 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/permissions.test.js +24 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/releases.test.js +50 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/reviews.test.js +36 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/runtime-forms-router.test.js +28 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/runtime-state.test.js +42 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/runtime-stores.test.js +16 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/spec-state.test.js +11 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/tasks.test.js +27 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/workbench.test.js +34 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tests/workflows.test.js +16 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tools/convert.mjs +168 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tools/serve.mjs +7 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tools/styles.mjs +11 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/reference/tools/verify.mjs +24 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/serve.cjs +16 -0
- package/skills/i3-ui-prototype/assets/templates/enterprise-admin/usability.css +44 -0
- package/skills/i3-ui-prototype/assets/templates/gallery/index.html +40 -0
- package/skills/i3-ui-prototype/assets/templates/modern-workspace/manifest.json +9 -0
- package/skills/i3-ui-prototype/assets/templates/modern-workspace/preset.json +6 -0
- package/skills/i3-ui-prototype/assets/templates/serve-gallery.cjs +16 -0
- package/skills/i3-ui-prototype/references/artifact-contract.md +41 -0
- package/skills/i3-ui-prototype/references/enterprise-admin.md +38 -0
- package/skills/i3-ui-prototype/references/expert-adapter.md +42 -0
- package/skills/i3-ui-prototype/references/template-adapters.md +57 -0
- package/skills/i3-ui-prototype/references/workflow-contract.md +19 -0
- package/skills/i3-ui-prototype/scripts/adapters/easel-html.cjs +30 -0
- package/skills/i3-ui-prototype/scripts/adapters/legacy-html.cjs +28 -0
- package/skills/i3-ui-prototype/scripts/check-design-provider.cjs +9 -0
- package/skills/i3-ui-prototype/scripts/check-prototype.cjs +14 -0
- package/skills/i3-ui-prototype/scripts/enterprise-template.cjs +88 -0
- package/skills/i3-ui-prototype/scripts/init-prototype.cjs +8 -0
- package/skills/i3-ui-prototype/scripts/manage-baseline.cjs +11 -0
- package/skills/i3-ui-prototype/scripts/prototype-lib.cjs +255 -0
- package/skills/i3-ui-prototype/scripts/template-adapters.cjs +89 -0
- package/skills/i3-using-agent-skills/SKILL.md +5 -0
- package/bin/native-version-validation.cjs +0 -8
package/bin/native-migration.cjs
CHANGED
|
@@ -5,6 +5,12 @@ const path = require('node:path');
|
|
|
5
5
|
const { fingerprint } = require('./asset-fingerprint.cjs');
|
|
6
6
|
const inventory = require('./legacy-native-files.json').files;
|
|
7
7
|
const name = 'i3-composer-agent';
|
|
8
|
+
const publishedFiles = new Set(inventory);
|
|
9
|
+
|
|
10
|
+
function ownsAsset(previous, relative) {
|
|
11
|
+
return previous.assets.some(file => file === relative
|
|
12
|
+
|| (!(previous.layoutVersion >= 2) && publishedFiles.has(relative) && relative.startsWith(file + '/')));
|
|
13
|
+
}
|
|
8
14
|
|
|
9
15
|
function allowed(relative) {
|
|
10
16
|
return typeof relative === 'string' && !relative.includes('\0') && !relative.includes(':') && !relative.includes('\\')
|
|
@@ -41,7 +47,7 @@ function migrationAssets(target, previous, current) {
|
|
|
41
47
|
const file = fileAt(base, relative);
|
|
42
48
|
if (!file) continue;
|
|
43
49
|
if (fs.statSync(file).isFile()) oldFiles.add(relative);
|
|
44
|
-
else if (previous.layoutVersion
|
|
50
|
+
else if (!(previous.layoutVersion >= 2)) {
|
|
45
51
|
// Old manifests registered directories, not their contents. Expand only
|
|
46
52
|
// paths in the published inventory, never the current filesystem tree.
|
|
47
53
|
for (const known of inventory) if (known.startsWith(relative + '/')) oldFiles.add(known);
|
|
@@ -51,8 +57,8 @@ function migrationAssets(target, previous, current) {
|
|
|
51
57
|
|
|
52
58
|
// Evaluation output is user data, not an installed package asset. Move it
|
|
53
59
|
// transactionally, including plugin and locale-specific result folders.
|
|
54
|
-
if (previous.
|
|
55
|
-
const oldEvals = path.join(base,
|
|
60
|
+
if (previous.layoutVersion === 2) {
|
|
61
|
+
const oldEvals = path.join(base, 'evals', name);
|
|
56
62
|
function visit(directory, relative = '') {
|
|
57
63
|
if (!fs.existsSync(directory)) return;
|
|
58
64
|
for (const entry of fs.readdirSync(directory, { withFileTypes: true })) {
|
|
@@ -61,7 +67,7 @@ function migrationAssets(target, previous, current) {
|
|
|
61
67
|
if (entry.isSymbolicLink()) continue;
|
|
62
68
|
if (entry.isDirectory()) visit(source, subpath);
|
|
63
69
|
else if (entry.isFile() && subpath.split('/').includes('results')) {
|
|
64
|
-
const destinationRelative =
|
|
70
|
+
const destinationRelative = `${name}/evals/${subpath}`;
|
|
65
71
|
const destination = path.join(base, destinationRelative);
|
|
66
72
|
let reusable = false;
|
|
67
73
|
if (fs.existsSync(destination)) {
|
|
@@ -70,11 +76,11 @@ function migrationAssets(target, previous, current) {
|
|
|
70
76
|
}
|
|
71
77
|
assets.push({ base, source, destination, relative: destinationRelative, kind: 'result', reusable,
|
|
72
78
|
expectedFingerprint: fingerprint(source) });
|
|
73
|
-
retire(
|
|
79
|
+
retire(`evals/${name}/${subpath}`);
|
|
74
80
|
}
|
|
75
81
|
}
|
|
76
82
|
}
|
|
77
|
-
if (fileAt(base,
|
|
83
|
+
if (fileAt(base, `evals/${name}`)) visit(oldEvals);
|
|
78
84
|
}
|
|
79
85
|
return assets;
|
|
80
86
|
}
|
|
@@ -90,4 +96,4 @@ function pruneRetiredDirectories(assets) {
|
|
|
90
96
|
}
|
|
91
97
|
}
|
|
92
98
|
|
|
93
|
-
module.exports = { migrationAssets, pruneRetiredDirectories };
|
|
99
|
+
module.exports = { migrationAssets, pruneRetiredDirectories, ownsAsset };
|
package/bin/native-runtime.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
// Installed as
|
|
3
|
+
// Installed as i3-composer-agent/scripts/lib/installation.js. Resolve from
|
|
4
4
|
// this file, never the caller's working directory or the host's package.json.
|
|
5
5
|
const fs = require('node:fs');
|
|
6
6
|
const path = require('node:path');
|
|
@@ -27,7 +27,7 @@ function loadInstallation() {
|
|
|
27
27
|
let manifest;
|
|
28
28
|
try { manifest = JSON.parse(fs.readFileSync(manifestPath, 'utf8')); }
|
|
29
29
|
catch (error) { throw new Error(`无法读取安装清单 ${manifestPath}:${error.message}`); }
|
|
30
|
-
if (manifest.name !== 'i3-composer-agent' || manifest.layoutVersion !==
|
|
30
|
+
if (manifest.name !== 'i3-composer-agent' || manifest.layoutVersion !== 3
|
|
31
31
|
|| manifest.version !== EXPECTED_VERSION || !Array.isArray(manifest.assets) || !manifest.assets.length) {
|
|
32
32
|
throw new Error(`安装清单的名称、布局或版本不匹配:${manifestPath}`);
|
|
33
33
|
}
|
|
@@ -44,14 +44,19 @@ function loadInstallation() {
|
|
|
44
44
|
}
|
|
45
45
|
for (const relative of assets) resolveOwned(relative);
|
|
46
46
|
const resources = {};
|
|
47
|
-
for (const category of ['references', 'evals', 'hooks', 'scripts', 'docs']) {
|
|
48
|
-
const relative =
|
|
47
|
+
for (const category of ['references', 'evals', 'hooks', 'scripts', 'docs', 'adapters']) {
|
|
48
|
+
const relative = 'i3-composer-agent/' + category;
|
|
49
49
|
if (manifest.resources?.[category] !== relative || ![...assets].some(file => file.startsWith(relative + '/'))) {
|
|
50
50
|
throw new Error(`安装清单缺少资源:${category}`);
|
|
51
51
|
}
|
|
52
52
|
resources[category] = path.join(root, relative);
|
|
53
53
|
}
|
|
54
|
-
|
|
54
|
+
const toolkitRoot = path.join(root, 'i3-composer-agent');
|
|
55
|
+
const pkg = JSON.parse(fs.readFileSync(path.join(toolkitRoot, 'package.json'), 'utf8'));
|
|
56
|
+
if (pkg.name !== '@givolt/i3-composer-agent' || pkg.type !== 'commonjs' || pkg.version !== EXPECTED_VERSION) {
|
|
57
|
+
throw new Error('配套 package.json 的名称、模块格式或版本与安装不一致');
|
|
58
|
+
}
|
|
59
|
+
return { root, toolkitRoot, manifest, catalog: manifest.catalog, resources, skillsDirectory: path.join(root, 'skills') };
|
|
55
60
|
}
|
|
56
61
|
|
|
57
62
|
module.exports = { loadInstallation };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
description = "选择模板并生成、评审和迭代交互原型,维护已确认的 UI 基线。"
|
|
2
|
+
# i3-description-source: "description = \"Create, review and iterate interactive UI prototypes with template selection and approved baselines\""
|
|
3
|
+
|
|
4
|
+
prompt = """
|
|
5
|
+
<!-- i3:zh-CN:start -->
|
|
6
|
+
## 中文交互与输出
|
|
7
|
+
|
|
8
|
+
默认使用简体中文回复,包括追问、选项说明、阶段进度、分析、规格、计划、验收、代码审查与发布报告。只有用户明确要求其他语言时才切换;输入中出现英文术语、代码或引用不构成切换语言的要求。
|
|
9
|
+
下文的工程步骤、审批要求、退出条件和工具约束完整有效。英文示例中的人类可读标题、说明和占位内容在实际输出时应译为中文;保留原有信息与验证标准,不删减方法。
|
|
10
|
+
Skill/Command/Agent 标识、文件路径、命令参数、代码/API 名称、工具调用参数、JSON 键/类型/枚举、机器状态、测试期望字面量及引用原文保持原样。生成文档正文用中文,SPEC.md、tasks/plan.md、tasks/todo.md、CONSTRAINTS.md 等约定路径不改名。
|
|
11
|
+
严重程度按原规则判断,面向用户可写“严重(Critical)”“必须修复(Required)”“小问题(Nit)”“可选(Optional)”“建议考虑(Consider)”“仅供参考(FYI)”;High/Medium/Low、APPROVE/REQUEST CHANGES 和 GO/NO-GO 保留其原始语义与机器值。不得因翻译降低门槛,角色不能互相委派。
|
|
12
|
+
|
|
13
|
+
适用说明:选择模板并生成、评审和迭代交互原型,维护已确认的 UI 基线。
|
|
14
|
+
<!-- i3:zh-CN:end -->
|
|
15
|
+
|
|
16
|
+
Invoke the i3-ui-prototype skill.
|
|
17
|
+
|
|
18
|
+
$ARGUMENTS
|
|
19
|
+
|
|
20
|
+
With no arguments, use create. Supported operations: create, revise, inspect, confirm-baseline.
|
|
21
|
+
Default to professional enhancement mode. Detect UI/UX Pro Max in the current host; if unavailable, offer installation or explicit template mode. Never silently downgrade.
|
|
22
|
+
Use the skill workflow for template selection, business mapping, professional advice, real browser verification and version-specific human confirmation. Preserve approved snapshots during iteration.
|
|
23
|
+
"""
|
package/commands/i3-review.toml
CHANGED
|
@@ -23,6 +23,6 @@ Review the current changes (staged or recent commits) across all five axes:
|
|
|
23
23
|
4. **Security** — Input validated? Secrets safe? Auth checked? (Use i3-security-and-hardening skill)
|
|
24
24
|
5. **Performance** — No N+1 queries? No unbounded ops? (Use i3-performance-optimization skill)
|
|
25
25
|
|
|
26
|
-
Categorize findings as Critical,
|
|
26
|
+
Categorize findings as Critical, Required, Optional, or Nit.
|
|
27
27
|
Output a structured review with specific file:line references and fix recommendations.
|
|
28
28
|
"""
|
package/commands/i3-ship.toml
CHANGED
|
@@ -40,7 +40,7 @@ Constraints (from CLI's subagent model):
|
|
|
40
40
|
|
|
41
41
|
Once all three reports are back, the main agent (not a sub-persona) synthesizes them:
|
|
42
42
|
|
|
43
|
-
1. **Code Quality** — Aggregate Critical/
|
|
43
|
+
1. **Code Quality** — Aggregate Critical/Required findings from `code-reviewer` and any failing tests, lint, or build output. Resolve duplicates between reviewers.
|
|
44
44
|
2. **Security** — Promote any Critical/High `security-auditor` findings to launch blockers. Cross-reference with `code-reviewer`'s security axis.
|
|
45
45
|
3. **Performance** — Pull from `code-reviewer`'s performance axis; cross-check Core Web Vitals if applicable.
|
|
46
46
|
4. **Accessibility** — Verify keyboard nav, screen reader support, contrast (not covered by the three personas — handle directly here, or invoke the accessibility checklist).
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Advanced per-agent configuration
|
|
2
|
+
|
|
3
|
+
<!-- i3:zh-guide:start -->
|
|
4
|
+
## 中文使用说明
|
|
5
|
+
|
|
6
|
+
按下文完整工程步骤、检查项与验证条件执行。根据任务选择适用步骤,保留证据、风险和退出条件;正文示例中的英文标签在面向用户输出时译为中文。
|
|
7
|
+
|
|
8
|
+
默认使用简体中文解释、追问及生成报告;用户明确要求其他语言时可切换。原方法正文、引用、阈值和审批条件完整保留。代码标识、路径、命令、工具参数、JSON 键/枚举与原文引用保持原样。
|
|
9
|
+
<!-- i3:zh-guide:end -->
|
|
10
|
+
|
|
11
|
+
Skills in this repository are intentionally portable. Every `SKILL.md` keeps its frontmatter limited to the fields the [Agent Skills specification](https://agentskills.io) defines, so the same file works across Claude Code, Cursor, Gemini CLI, Antigravity, and any other spec-conformant client.
|
|
12
|
+
|
|
13
|
+
Several agents also support extra runtime controls: model routing, tool restrictions, turn limits, execution isolation. These controls are valuable, but they are vendor-specific and do not belong in the shared, portable frontmatter. This document explains which controls each agent supports, where they belong, and how to apply them as an opt-in without breaking portability.
|
|
14
|
+
|
|
15
|
+
This is the canonical reference for per-agent configuration, and it supersedes the earlier approach of adding vendor fields to top-level `SKILL.md` frontmatter. Fields such as `kind`, `model`, `temperature`, `max_turns`, `tools`, and `context` must not appear at the top level of a skill. They belong under `metadata` or in a separate per-agent adapter file, as described below.
|
|
16
|
+
|
|
17
|
+
## Principles
|
|
18
|
+
|
|
19
|
+
1. **Keep `SKILL.md` portable.** The Agent Skills specification reserves top-level frontmatter for `name`, `description`, `license`, `compatibility`, `metadata`, and the experimental `allowed-tools`. Vendor or client-specific properties belong under `metadata`, not at the top level.
|
|
20
|
+
2. **Unknown top-level fields are not guaranteed to be ignored.** Many parsers only read `name` and `description` and silently drop the rest, but a strict spec-conformant validator or client may flag or reject unrecognized top-level keys. Putting vendor fields under `metadata` keeps the file conformant everywhere.
|
|
21
|
+
3. **Opt-in, not global.** Runtime controls should be something a user adds for their own agent and workflow, not a default baked into every skill in the repository.
|
|
22
|
+
4. **Prefer generation over hand-editing.** Where a configuration is repetitive and mechanical, generate it from a single source of truth instead of maintaining copies by hand. See [Automating with scripts](#automating-with-scripts).
|
|
23
|
+
|
|
24
|
+
## Where vendor fields belong
|
|
25
|
+
|
|
26
|
+
| Field type | Example | Correct home |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| Spec fields | `name`, `description`, `license`, `compatibility` | Top-level frontmatter in `SKILL.md` |
|
|
29
|
+
| Vendor metadata | model hints, routing tags | Under the `metadata` key in `SKILL.md` |
|
|
30
|
+
| Runtime orchestration | subagent definitions, turn limits, tool allowlists | A separate per-agent adapter file (see each agent below) |
|
|
31
|
+
|
|
32
|
+
## Claude Code
|
|
33
|
+
|
|
34
|
+
Claude Code reads `name` and `description` for discovery. Custom commands and skills share the same frontmatter, so the `context` and `allowed-tools` fields below work in both `.claude/commands/*.md` and `.claude/skills/*/SKILL.md`.
|
|
35
|
+
|
|
36
|
+
- **`context: fork`** runs a command or skill in an isolated subagent context instead of the active conversation. This gives context isolation, repeatable execution from a clean state, execution tokens spent in the fork rather than the main session, and a cleaner handoff where only the result surfaces back. An optional **`agent`** field selects which subagent type runs the fork (for example `agent: Plan`); it defaults to `general-purpose`.
|
|
37
|
+
- **`allowed-tools`** pre-approves tools; it does not restrict them. Listed tools run without a permission prompt for the turn that invokes the command or skill, and the grant clears on your next message. Nothing is removed from the tool pool.
|
|
38
|
+
- **`disallowed-tools`** is the field that actually restricts: it removes the listed tools from the available pool while the skill is active, which is what least-privilege needs for passive stages such as review or audit. The restriction also clears on your next message. Note it is a Claude Code field and not one of the specification's six, so it belongs in a local copy or an adapter file; in a published `SKILL.md` it fails packaging with an unexpected-key error.
|
|
39
|
+
|
|
40
|
+
These are Claude Code conventions. Keep the shared, published `SKILL.md` limited to spec fields; apply these runtime controls in your own local command or skill copies instead.
|
|
41
|
+
|
|
42
|
+
## Gemini CLI and Antigravity
|
|
43
|
+
|
|
44
|
+
Gemini CLI and Antigravity discover skills the same way: they match `name` and `description`, then load the full skill on demand. Runtime orchestration lives in a separate resource, not in the skill frontmatter.
|
|
45
|
+
|
|
46
|
+
- **Subagent definitions** live in `.gemini/agents/*.md`, which are distinct from skills. Their schema is `kind` (`local` or `remote`), `model`, `temperature`, `max_turns`, and `tools`. Note that this is a subagent schema, not a skill schema: the two should not be merged into one `SKILL.md`.
|
|
47
|
+
- **Model routing** can send lighter tasks (formatting, documentation, git operations) to a faster model and reserve a stronger model for cognitively demanding work (debugging, security auditing, interface design).
|
|
48
|
+
- **Tool restrictions** enforce least-privilege per subagent, which also trims unused tool schemas from the prompt.
|
|
49
|
+
- **Turn limits** (`max_turns`) cap execution to avoid runaway correction loops.
|
|
50
|
+
|
|
51
|
+
### Model guidance
|
|
52
|
+
|
|
53
|
+
Google recommends omitting `temperature` for Gemini 3.x models and using `thinking_level` instead. Do not hardcode `temperature` on skills or subagents routed to 3.x models; prefer `thinking_level` and revisit this guidance as the models evolve.
|
|
54
|
+
|
|
55
|
+
```yaml
|
|
56
|
+
# .gemini/agents/security-auditor.md
|
|
57
|
+
---
|
|
58
|
+
kind: local
|
|
59
|
+
model: gemini-3-pro
|
|
60
|
+
thinking_level: high # not: temperature: 0.1
|
|
61
|
+
tools: [read_file, grep]
|
|
62
|
+
max_turns: 10
|
|
63
|
+
---
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Automating with scripts
|
|
67
|
+
|
|
68
|
+
Maintaining per-agent metadata by hand across every skill is repetitive, drifts out of sync, and is easy to get wrong. A better approach is to keep a single source of truth and generate the agent-specific output:
|
|
69
|
+
|
|
70
|
+
- A generator reads a per-skill configuration map (which model, tool allowlist, turn limit, and isolation each skill should use for a given agent).
|
|
71
|
+
- For metadata-style fields, it injects them under the `metadata` key of each `SKILL.md`, keeping the file spec-conformant.
|
|
72
|
+
- For orchestration-style fields, it emits the separate adapter files an agent expects, for example `.gemini/agents/*.md` subagent definitions, leaving `SKILL.md` untouched.
|
|
73
|
+
|
|
74
|
+
Generation also lets the tooling validate **semantics, not just shape**: confirm that a model name is a known model, that a tool name is a real tool, that `max_turns` is a positive integer, and that `temperature` (where still applicable) is a valid number in range. Shape-only checks let invalid values such as `parseInt("1.5")` or `parseFloat("0.2oops")` slip through.
|
|
75
|
+
|
|
76
|
+
## Status
|
|
77
|
+
|
|
78
|
+
It is the single reference for per-agent configuration: it keeps the shared skills portable while documenting the advanced controls each agent offers as an opt-in. The script-based automation described above is a proposal pending agreement before any implementation.
|
package/docs/agents.md
CHANGED
|
@@ -42,10 +42,10 @@ Pick this when you want one perspective on the current change and the user is in
|
|
|
42
42
|
### Slash command (single persona behind it)
|
|
43
43
|
Pick this when there's a repeatable workflow you'd otherwise re-explain every time.
|
|
44
44
|
|
|
45
|
-
- `/i3-review` → wraps `code-reviewer` with the project's review skill
|
|
46
|
-
- `/i3-test` → wraps `test-engineer` with TDD skill
|
|
47
45
|
- `/i3-webperf` → wraps `web-performance-auditor` for performance-focused audits on web apps
|
|
48
46
|
|
|
47
|
+
`/i3-review` and `/i3-test` are not persona wrappers. They run the `i3-code-review-and-quality` and `i3-test-driven-development` skills in the main session, where the conversation's context is. To get `code-reviewer` or `test-engineer` in a fresh context, invoke the persona directly or run `/i3-ship`.
|
|
48
|
+
|
|
49
49
|
### Slash command (orchestrator — fan-out)
|
|
50
50
|
Pick this only when **independent** investigations can run in parallel and produce reports that a single agent then merges.
|
|
51
51
|
|
package/docs/codebuddy-setup.md
CHANGED
|
@@ -9,9 +9,9 @@ npx @givolt/i3-composer-agent --codebuddy
|
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
向导预选 CodeBuddy,可增加其他工具,再选择项目或全局范围。
|
|
12
|
-
项目安装提供 `.codebuddy/skills/`(
|
|
13
|
-
`commands/`(
|
|
14
|
-
同级 `evals/`、`hooks/`、`scripts/`、`docs/`、`references/`
|
|
12
|
+
项目安装提供 `.codebuddy/skills/`(26 个技能)、`references/`、
|
|
13
|
+
`commands/`(10 个命令)和 `agents/`(4 个角色)。
|
|
14
|
+
同级 `i3-composer-agent/` 是配套工具根,集中提供 `package.json`、`evals/`、`hooks/`、`scripts/`、`docs/`、`references/` 和校验输入 `adapters/`,
|
|
15
15
|
只有一份实际技能、命令和角色,评测与宿主共用。
|
|
16
16
|
全局使用 `~/.codebuddy/` 的相同结构。默认中文说明和回复;技能/命令标识不改名。
|
|
17
17
|
安装成功清理旧内容,失败恢复;设置与自定义命令保留。
|
|
@@ -41,8 +41,8 @@ CodeBuddy 与 WorkBuddy 项目共用 `.codebuddy/`;同版本追加客户端会
|
|
|
41
41
|
|
|
42
42
|
## 配套检查
|
|
43
43
|
|
|
44
|
-
在业务项目运行 `node .codebuddy/
|
|
45
|
-
|
|
44
|
+
在业务项目运行 `node .codebuddy/i3-composer-agent/scripts/run-evals.js --min-rank1 95`,
|
|
45
|
+
可检查中英文触发,不调用模型;进入 `.codebuddy/i3-composer-agent/` 可运行 `npm test` 和 `node scripts/run-evals.js --locale zh-CN --min-rank1 95`。全局安装使用脚本的全局绝对路径。五项校验、行为评测和样例用法见
|
|
46
46
|
[评测说明](../evals/README.md)。Hook 文件已安装,需要按宿主协议单独启用。
|
|
47
47
|
|
|
48
48
|
## 通过 CodeBuddy Code 插件管理器安装
|
package/docs/codex-setup.md
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
npx @givolt/i3-composer-agent --codex
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
项目范围写入 `.agents/skills/`,全局写入 `~/.agents/skills/`,并安装同级 `
|
|
10
|
-
提供全部
|
|
9
|
+
项目范围写入 `.agents/skills/`,全局写入 `~/.agents/skills/`,并安装同级 `i3-composer-agent/references/`。
|
|
10
|
+
提供全部 26 个 `i3-` 技能,中文选择说明与默认中文回复在每个入口独立生效。
|
|
11
11
|
同级 `evals/`、`hooks/`、`scripts/`、`docs/` 各自以 `i3-composer-agent/` 分组资料。
|
|
12
12
|
命令与角色文件也会提供,供按需阅读,其自动发现由宿主决定。
|
|
13
|
-
从项目目录执行 `node .agents/
|
|
13
|
+
从项目目录执行 `node .agents/i3-composer-agent/scripts/run-evals.js --min-rank1 95`
|
|
14
14
|
检查实际安装技能的中英文触发,不调用模型;五项结构校验详见
|
|
15
15
|
[评测说明](../evals/README.md)。原生调用使用技能 ID,Hook 文件需按宿主能力单独启用。
|
|
16
16
|
|
package/docs/copilot-setup.md
CHANGED
|
@@ -12,6 +12,8 @@ This guide covers Copilot in VS Code. For the standalone `copilot` command-line
|
|
|
12
12
|
|
|
13
13
|
**What an install actually gives you:** the skills. Each installed skill becomes a slash command named after its frontmatter `name` — `/i3-spec-driven-development`, `/i3-test-driven-development`, and so on. `npx skills add /path/to/i3-composer-agent` and the manual copy below both install skills only. Neither of those two routes copies this repo's short lifecycle wrappers (`/i3-spec`, `/i3-plan`, `/i3-build`, `/i3-test`, `/i3-review`, `/i3-ship`) — those are Claude Code commands living in `.claude/commands/`. Use the full skill names, or add your own aliases — see [Lifecycle workflows](#lifecycle-workflows).
|
|
14
14
|
|
|
15
|
+
> **`/i3-spec`, `/i3-plan`, `/i3-build`, `/i3-test`, `/i3-review`, `/i3-code-simplify`, `/i3-webperf` and `/i3-ship` never appear in Copilot.** They are Claude Code commands, and Copilot does not read `.claude/commands/`. Not seeing them after an install is expected, not a missing step. Invoke the skill by its own name instead — `/i3-spec-driven-development` for `/i3-spec`, `/i3-planning-and-task-breakdown` for `/i3-plan`, and so on; the full mapping is in [Lifecycle Workflows](#lifecycle-workflows). On VS Code you can add [short aliases](#optional-short-spec-style-aliases) yourself if you want the short forms.
|
|
16
|
+
|
|
15
17
|
## Setup
|
|
16
18
|
|
|
17
19
|
### Copilot Instructions
|
|
@@ -153,6 +155,8 @@ Write the body yourself, or take it from this table, rather than copying `.claud
|
|
|
153
155
|
|
|
154
156
|
### If the skill slash commands don't appear
|
|
155
157
|
|
|
158
|
+
First rule out the expected case: if the only commands you miss are the short lifecycle wrappers (`/i3-spec`, `/i3-plan`, `/i3-build`, `/i3-test`, `/i3-review`, `/i3-ship`), nothing is wrong — those are Claude Code commands and never surface in Copilot (see the note at the top). The steps below are for when the skills' own names, such as `/i3-spec-driven-development`, are missing too.
|
|
159
|
+
|
|
156
160
|
Work through these in order — `/i3-spec-driven-development` missing and `/i3-spec` missing have different causes:
|
|
157
161
|
|
|
158
162
|
1. **Check where the skills landed.** Each one needs its own directory containing a `SKILL.md`. The project-level paths this guide uses are `.github/skills/`, `.claude/skills/` and `.agents/skills/` — but an installer run with a global/user flag writes outside the workspace instead (`~/.agents/skills/` and equivalents), so a skill that isn't in any of the three may simply be installed personally. Confirm the actual path against the [VS Code agent skills docs](https://code.visualstudio.com/docs/agent-customization/agent-skills), then re-install into the project if you wanted it project-scoped.
|
package/docs/cursor-setup.md
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
How to wire [i3-composer-agent](../README.md) into **Cursor** using current, supported project context — not legacy monolith files or Kaizen-specific layouts.
|
|
12
12
|
|
|
13
|
+
Every `.cursor/` path in this guide lives in **your** project (or under `~/.cursor/` for user scope). This repository does not ship a `.cursor/` directory: you create it and sync the skills into it, which is what [step 1](#1-install-skills-into-cursorskills) does.
|
|
14
|
+
|
|
13
15
|
---
|
|
14
16
|
|
|
15
17
|
## What Cursor supports today
|
|
@@ -213,6 +215,7 @@ Files under `i3-composer-agent/agents/` (e.g. code reviewer persona) are **not**
|
|
|
213
215
|
| Stale workflow | Re-`rsync` from `i3-composer-agent/skills/` |
|
|
214
216
|
| Duplicate instructions | Remove skill content from rules; keep one source |
|
|
215
217
|
| Wrong skill picked | Narrow `description` in custom skills; nudge in chat |
|
|
218
|
+
| "An unexpected error occurred on our servers" right after attaching a skill with `/`, and every later message in that chat fails too | Known Cursor-side issue, tracked in [upstream agent-skills #494](https://github.com/addyosmani/agent-skills/issues/494): Cursor pulls the attached `SKILL.md` into the request and the failure happens on its side, not in the skill. Start a new chat and reference the skill by name in plain text ("Use the i3-test-driven-development skill to …") instead of attaching it. |
|
|
216
219
|
|
|
217
220
|
---
|
|
218
221
|
|
package/docs/other-hosts.md
CHANGED
|
@@ -1,15 +1,50 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 其他宿主
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
## 中文使用说明
|
|
3
|
+
这些宿主尚未完成当前版本的真实宿主与模型执行验证。安装文件、宿主发现技能和模型正确执行是三项独立检查;请在测试项目中验证后再用于正式工作。
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
技能包包含 26 个技能及共享资源。接入时应保留完整的技能、引用与配套工具,不能只复制 `SKILL.md`。
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
<!-- i3:zh-guide:end -->
|
|
7
|
+
## 使用本地分发目录
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
以下命令使用完整分发包解压目录里的 CLI,适用于本地测试和离线接入。`/absolute/path/to/package` 均替换为实际解压目录;已发布版本也可使用 `npx @givolt/i3-composer-agent@2.3.0` 的对应入口。
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
### fx
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
在业务项目目录执行:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
node /absolute/path/to/package/bin/i3-composer-agent.cjs --agents fx --scope project --yes
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
原生目标使用 `.fx/skills/`;全局安装可将 `--scope project` 改成 `--scope global`。上游记录要求 fx 0.0.5 或更新版本;当前版本的宿主发现与调用仍需人工验证。
|
|
20
|
+
|
|
21
|
+
### Pi
|
|
22
|
+
|
|
23
|
+
在业务项目目录执行:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
node /absolute/path/to/package/bin/i3-composer-agent.cjs --agents pi --scope project --yes
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
原生目标使用 `.agents/skills/`;全局安装可将 `--scope project` 改成 `--scope global`。当前版本的宿主发现与调用仍需人工验证。
|
|
30
|
+
|
|
31
|
+
### Dojo Workspace
|
|
32
|
+
|
|
33
|
+
上游接入方式使用标准 `.agents/skills/` 布局。i3 CLI 目前没有专用 Dojo 目标;应先核对实际宿主的本地技能接入协议、共享资源路径和技能发现行为,再确定安装方式。不要将其他宿主目标的安装成功视为 Dojo 已验证。
|
|
34
|
+
|
|
35
|
+
### Oh My Pi
|
|
36
|
+
|
|
37
|
+
先将本地分发包导出为完整插件目录:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
node /absolute/path/to/package/bin/i3-composer-agent.cjs --extract --dir ./i3-composer-agent
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
然后使用实际导出目录的绝对路径注册:
|
|
44
|
+
|
|
45
|
+
```text
|
|
46
|
+
omp plugin marketplace add /absolute/path/to/i3-composer-agent
|
|
47
|
+
omp plugin install i3-composer-agent@i3-composer-agent
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
这是待人工验证的插件接入路径,i3 CLI 目前没有专用 Oh My Pi 原生目标。注册后需另行检查技能、命令和角色是否被宿主发现,以及模型能否正确调用;Hook 需要按宿主协议单独启用。
|
package/docs/workbuddy-setup.md
CHANGED
|
@@ -10,14 +10,14 @@ npx @givolt/i3-composer-agent --agents codebuddy,workbuddy --scope global --yes
|
|
|
10
10
|
|
|
11
11
|
向导中 WorkBuddy 位于第 2 项,预选后仍可多选。全局目录:
|
|
12
12
|
|
|
13
|
-
- `~/.workbuddy/skills/`:
|
|
14
|
-
- `~/.workbuddy/commands/`:
|
|
13
|
+
- `~/.workbuddy/skills/`:26 个 `i3-` 技能,选择说明和默认回复中文。
|
|
14
|
+
- `~/.workbuddy/commands/`:10 个 `/i3-*` 短命令。
|
|
15
15
|
- `~/.workbuddy/agents/`:4 个专业角色。
|
|
16
|
-
- `~/.workbuddy/
|
|
17
|
-
- `~/.workbuddy/
|
|
18
|
-
- `~/.workbuddy/
|
|
19
|
-
- `~/.workbuddy/
|
|
20
|
-
- `~/.workbuddy/
|
|
16
|
+
- `~/.workbuddy/i3-composer-agent/references/`:共享参考。
|
|
17
|
+
- `~/.workbuddy/i3-composer-agent/docs/agents.md`:角色说明。
|
|
18
|
+
- `~/.workbuddy/i3-composer-agent/evals/`:中英文用例、样例与评测结果。
|
|
19
|
+
- `~/.workbuddy/i3-composer-agent/hooks/`:Hook 文件与说明。
|
|
20
|
+
- `~/.workbuddy/i3-composer-agent/scripts/`:评测、校验与依赖库。
|
|
21
21
|
- `~/.workbuddy/.i3-composer-agent.json`:安装内容所有权及客户端清单。
|
|
22
22
|
|
|
23
23
|
自定义 profile 可设置 `WORKBUDDY_CONFIG_DIR`,安装后打开对应 profile。
|
|
@@ -25,8 +25,8 @@ WorkBuddy 的目录选择使用自己的配置,不借用 `CODEBUDDY_CONFIG_DIR
|
|
|
25
25
|
|
|
26
26
|
## 配套检查
|
|
27
27
|
|
|
28
|
-
运行 `node ~/.workbuddy/
|
|
29
|
-
|
|
28
|
+
运行 `node ~/.workbuddy/i3-composer-agent/scripts/run-evals.js --min-rank1 95`,检查实际安装技能的中英文触发,
|
|
29
|
+
不会调用模型。进入 `~/.workbuddy/i3-composer-agent/` 运行 `npm test` 可检查完整内容、两种语言及全部脚本回归;原 `.js` 入口保留。项目安装将 `~/.workbuddy/` 换成 `.codebuddy/`。五项校验、行为评测用例、样例和
|
|
30
30
|
脚本用法见 [评测说明](../evals/README.md)。Hook 文件默认提供,启用需适配宿主事件协议。
|
|
31
31
|
|
|
32
32
|
## 发现和调用
|
package/evals/README.md
CHANGED
|
@@ -6,22 +6,31 @@
|
|
|
6
6
|
|
|
7
7
|
## 运行位置
|
|
8
8
|
|
|
9
|
-
原生安装的技能位于宿主基址的 `skills/`;评测资料位于 `
|
|
10
|
-
脚本位于 `
|
|
9
|
+
原生安装的技能位于宿主基址的 `skills/`;评测资料位于 `i3-composer-agent/evals/`,
|
|
10
|
+
脚本位于 `i3-composer-agent/scripts/`。安装清单记录预期技能和文件,评测只读取这份实际安装内容。
|
|
11
11
|
例如 CodeBuddy 项目基址是 `.codebuddy/`,WorkBuddy 全局基址是 `~/.workbuddy/`。
|
|
12
12
|
下面原生示例从业务项目根目录运行;从其他位置运行时,将脚本路径换成绝对路径即可。
|
|
13
|
-
Node.js 20 或以上,无需额外 npm
|
|
13
|
+
Node.js 20 或以上,无需额外 npm 依赖;配套根的独立 CommonJS 配置使 `.js` 入口兼容业务项目的 ESM/CommonJS 设置。
|
|
14
14
|
|
|
15
15
|
## 不调用模型的检查
|
|
16
16
|
|
|
17
|
+
进入 `.codebuddy/i3-composer-agent/`(全局安装进入对应宿主的配套根)即可沿用:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm test
|
|
21
|
+
node scripts/run-evals.js --locale zh-CN --min-rank1 95
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
第一条执行五项校验、中英文评测与全部脚本回归;第二条只运行中文评测。以下项目路径入口也可用。
|
|
25
|
+
|
|
17
26
|
```bash
|
|
18
|
-
node .codebuddy/
|
|
19
|
-
node .codebuddy/
|
|
20
|
-
node .codebuddy/
|
|
21
|
-
node .codebuddy/
|
|
22
|
-
node .codebuddy/
|
|
23
|
-
node .codebuddy/
|
|
24
|
-
node .codebuddy/
|
|
27
|
+
node .codebuddy/i3-composer-agent/scripts/validate-skills.js
|
|
28
|
+
node .codebuddy/i3-composer-agent/scripts/validate-versions.js
|
|
29
|
+
node .codebuddy/i3-composer-agent/scripts/validate-commands.js
|
|
30
|
+
node .codebuddy/i3-composer-agent/scripts/validate-reference-links.js
|
|
31
|
+
node .codebuddy/i3-composer-agent/scripts/validate-artifact-paths.js
|
|
32
|
+
node .codebuddy/i3-composer-agent/scripts/run-evals.js --locale zh-CN --min-rank1 95
|
|
33
|
+
node .codebuddy/i3-composer-agent/scripts/run-evals.js --locale en --min-rank1 95
|
|
25
34
|
```
|
|
26
35
|
|
|
27
36
|
五项校验分别检查技能格式、安装版本及登记文件、实际命令和角色格式、引用锚点、规格/计划产物路径。
|
|
@@ -37,8 +46,9 @@ npm run validate
|
|
|
37
46
|
node scripts/run-evals.js --locale zh-CN --min-rank1 95
|
|
38
47
|
```
|
|
39
48
|
|
|
40
|
-
|
|
41
|
-
|
|
49
|
+
原生配套与独立插件均保留全部原版脚本及回归测试。原生校验读取真实宿主命令,
|
|
50
|
+
并与 `adapters/` 中另外两种格式比较;同时检查五份插件清单、配套包及安装版本。
|
|
51
|
+
这些 adapter 输入不自动注册插件。在配套根运行 `npm test`,不修改业务项目配置。
|
|
42
52
|
|
|
43
53
|
触发评测使用词法评分检查正例、负例、描述冲突、用例结构及样例是否齐全。
|
|
44
54
|
中英文各自满足指定门槛;这不能证明模型在实际宿主中一定选择正确技能。
|
|
@@ -49,13 +59,13 @@ node scripts/run-evals.js --locale zh-CN --min-rank1 95
|
|
|
49
59
|
先预览,不调用模型、不生成评测结果:
|
|
50
60
|
|
|
51
61
|
```bash
|
|
52
|
-
node .codebuddy/
|
|
62
|
+
node .codebuddy/i3-composer-agent/scripts/run-evals.js --behavioral i3-test-driven-development --locale zh-CN --dry-run
|
|
53
63
|
```
|
|
54
64
|
|
|
55
65
|
确认需要后,移除 `--dry-run` 才会调用已登录的 Claude Code,并消耗该账户的模型额度:
|
|
56
66
|
|
|
57
67
|
```bash
|
|
58
|
-
node .codebuddy/
|
|
68
|
+
node .codebuddy/i3-composer-agent/scripts/run-evals.js --behavioral i3-test-driven-development --locale zh-CN
|
|
59
69
|
```
|
|
60
70
|
|
|
61
71
|
执行型用例需要 Git,并在临时 Git 项目中复制 `fixtures/` 的真实输入;
|
|
@@ -63,10 +73,12 @@ node .codebuddy/scripts/i3-composer-agent/run-evals.cjs --behavioral i3-test-dri
|
|
|
63
73
|
可能编辑文件、运行命令、访问网络;各样例还可能需要自身的语言运行环境。
|
|
64
74
|
评分依据执行轨迹或对话与 `expectations`,不会把“声称完成”当成实际执行证据。
|
|
65
75
|
模型输出按不可信数据评分,执行和评分均有限时。临时项目完成后清理。
|
|
76
|
+
每项评分必须提供非空白的 `evidence`;缺失或空白证据会使该次评分无效,原始输出保留为
|
|
77
|
+
`.grading.raw.txt`,不能视为行为验收通过。
|
|
66
78
|
|
|
67
79
|
`--locale en` 运行英文用例,省略该参数运行两种语言。可通过 `I3_EVAL_MODEL`
|
|
68
80
|
和 `I3_EVAL_GRADER_MODEL` 指定执行/评分模型;报告同时记录宿主和模型信息。
|
|
69
|
-
原生结果写入 `
|
|
81
|
+
原生结果写入 `i3-composer-agent/evals/results/`;独立插件写入 `evals/results/`。
|
|
70
82
|
结果不会进入发行包和文件替换清单,升级保留;旧配套目录的结果会迁入新位置,同名异内容时停止迁移。
|
|
71
83
|
|
|
72
84
|
## 插件级评测
|
|
@@ -86,7 +98,7 @@ claude plugin eval . --no-publish
|
|
|
86
98
|
|
|
87
99
|
## Hooks
|
|
88
100
|
|
|
89
|
-
原生的 `
|
|
101
|
+
原生的 `i3-composer-agent/hooks/`(独立插件为 `hooks/`)默认交付会话注入、文档缓存、代码块保护脚本及说明。
|
|
90
102
|
安装文件不会自动注册事件。中文回复与普通技能调用不依赖启用 Hook。
|
|
91
103
|
会话注入仅适用于缺少原生技能路由的宿主;已有路由时不要重复注入。
|
|
92
104
|
缓存及保护的当前配置示例针对 Claude Code,详见
|
|
@@ -39,6 +39,24 @@
|
|
|
39
39
|
"Trade-offs and rejected options are recorded, not just the winning choice",
|
|
40
40
|
"The ADR records a status from the skill's lifecycle (Proposed, Accepted, Superseded or Deprecated) and a date"
|
|
41
41
|
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": 4,
|
|
45
|
+
"kind": "execution",
|
|
46
|
+
"prompt": "Review README.md for operators onboarding to this batch queue. Make the prose clearer, check it against queue.js, and keep the operational details and caveats accurate. Do not change the implementation.",
|
|
47
|
+
"expected_output": "A concise operational README grounded in the inspected implementation, with unsupported assurances removed or flagged, limits and caveats preserved, and the unverified command identified",
|
|
48
|
+
"files": [
|
|
49
|
+
"i3-documentation-and-adrs/prose-review"
|
|
50
|
+
],
|
|
51
|
+
"expectations": [
|
|
52
|
+
"The final README identifies queuectl submit jobs.json --max-batch-size 50 as an unverified documented example because the fixture contains neither the CLI nor jobs.json; it does not invent, silently certify, or replace that interface",
|
|
53
|
+
"The final README preserves the 50-job batch limit, 72-hour retention period, and at most three retries, distinguishing those units correctly",
|
|
54
|
+
"The final README preserves the operational caveat that failed jobs require operator review and queue state is not durable across a process restart",
|
|
55
|
+
"The unsupported claims of guaranteed zero job loss and no need for monitoring are removed or explicitly marked as unsubstantiated rather than restated as facts",
|
|
56
|
+
"The promotional opening is replaced with a concrete description of the queue without invented users, benchmarks, certifications, or capabilities",
|
|
57
|
+
"The execution trace shows the agent inspecting queue.js and comparing the README with its batch, retention, retry, and in-memory-state implementation before editing",
|
|
58
|
+
"queue.js remains unchanged, and the agent does not install a tool or send the fixture to a hosted service"
|
|
59
|
+
]
|
|
42
60
|
}
|
|
43
61
|
]
|
|
44
62
|
}
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
{
|
|
14
14
|
"prompt": "What tests should cover this new parsing logic before I write it?",
|
|
15
15
|
"top_k": 3
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"prompt": "Add unit tests for this function. There are none yet.",
|
|
19
|
+
"top_k": 3
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"prompt": "Fix this bug: splitCents(100, 3) returns [33, 33, 33] and a cent goes missing. Here is the function.",
|
|
23
|
+
"top_k": 3
|
|
16
24
|
}
|
|
17
25
|
],
|
|
18
26
|
"negative": [
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "i3-ui-prototype",
|
|
3
|
+
"trigger": {
|
|
4
|
+
"positive": [
|
|
5
|
+
{
|
|
6
|
+
"prompt": "Choose a UI prototype template and generate an interactive approval prototype for review",
|
|
7
|
+
"top_k": 1
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"prompt": "Generate a reviewable interactive UI prototype from business requirements",
|
|
11
|
+
"top_k": 1
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"prompt": "Inspect prototype fidelity against its approved prototype baseline",
|
|
15
|
+
"top_k": 1
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"prompt": "Iterate the interactive prototype using review feedback and preserve the approved baseline",
|
|
19
|
+
"top_k": 1
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"negative": [
|
|
23
|
+
{
|
|
24
|
+
"prompt": "Build an accessible modal component with keyboard support",
|
|
25
|
+
"owner": "i3-frontend-ui-engineering"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"prompt": "Optimize slow database indexes",
|
|
29
|
+
"owner": "i3-performance-optimization"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"evals": [
|
|
34
|
+
{
|
|
35
|
+
"id": 1,
|
|
36
|
+
"prompt": "Create an interactive application approval prototype from the supplied business brief. Use template mode explicitly, compare the templates and generate a review candidate. Do not approve it yourself.",
|
|
37
|
+
"expected_output": "A runnable business-specific prototype with traceability and pending-review status",
|
|
38
|
+
"files": [
|
|
39
|
+
"i3-ui-prototype"
|
|
40
|
+
],
|
|
41
|
+
"expectations": [
|
|
42
|
+
"Selected template and template mode are recorded without claiming UI/UX Pro Max was used",
|
|
43
|
+
"Business fields, role visibility, status transitions and review scenarios follow the supplied brief",
|
|
44
|
+
"A runnable prototype and verification evidence are produced; absent browser evidence is marked pending",
|
|
45
|
+
"The prototype remains pending human review and no approved baseline is invented"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Batch Queue
|
|
2
|
+
|
|
3
|
+
Batch Queue is an innovative, enterprise-grade solution that seamlessly unlocks
|
|
4
|
+
the power of batch processing. In today's fast-paced landscape, it is important
|
|
5
|
+
to note that this robust queue empowers operators to take work to the next level.
|
|
6
|
+
|
|
7
|
+
## Submit a batch
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
queuectl submit jobs.json --max-batch-size 50
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
A batch contains at most 50 jobs. Queue entries expire after 72 hours. Failed
|
|
14
|
+
jobs are retried at most three times.
|
|
15
|
+
|
|
16
|
+
Operators review jobs that still fail after retries. Queue state is held in
|
|
17
|
+
memory and is not durable across a process restart.
|
|
18
|
+
|
|
19
|
+
This guarantees zero job loss and means operators never need to monitor the queue.
|