mustflow 1.15.97
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/LICENSE +16 -0
- package/README.md +422 -0
- package/dist/cli/commands/check.js +73 -0
- package/dist/cli/commands/classify.js +104 -0
- package/dist/cli/commands/context.js +95 -0
- package/dist/cli/commands/contract-lint.js +74 -0
- package/dist/cli/commands/dashboard.js +654 -0
- package/dist/cli/commands/docs.js +382 -0
- package/dist/cli/commands/doctor.js +232 -0
- package/dist/cli/commands/explain.js +293 -0
- package/dist/cli/commands/help.js +148 -0
- package/dist/cli/commands/impact.js +120 -0
- package/dist/cli/commands/index.js +70 -0
- package/dist/cli/commands/init.js +986 -0
- package/dist/cli/commands/line-endings.js +102 -0
- package/dist/cli/commands/map.js +95 -0
- package/dist/cli/commands/run.js +442 -0
- package/dist/cli/commands/search.js +166 -0
- package/dist/cli/commands/status.js +65 -0
- package/dist/cli/commands/update.js +443 -0
- package/dist/cli/commands/verify.js +448 -0
- package/dist/cli/commands/version-sources.js +79 -0
- package/dist/cli/commands/version.js +57 -0
- package/dist/cli/i18n/en.js +702 -0
- package/dist/cli/i18n/es.js +702 -0
- package/dist/cli/i18n/fr.js +702 -0
- package/dist/cli/i18n/hi.js +702 -0
- package/dist/cli/i18n/ko.js +702 -0
- package/dist/cli/i18n/zh.js +702 -0
- package/dist/cli/index.js +218 -0
- package/dist/cli/lib/agent-context.js +342 -0
- package/dist/cli/lib/browser-open.js +58 -0
- package/dist/cli/lib/cli-output.js +36 -0
- package/dist/cli/lib/command-contract.js +1 -0
- package/dist/cli/lib/command-registry.js +107 -0
- package/dist/cli/lib/dashboard-html.js +1866 -0
- package/dist/cli/lib/dashboard-locale.js +309 -0
- package/dist/cli/lib/dashboard-preferences.js +405 -0
- package/dist/cli/lib/doc-review-ledger.js +226 -0
- package/dist/cli/lib/filesystem.js +125 -0
- package/dist/cli/lib/git-changes.js +13 -0
- package/dist/cli/lib/i18n.js +55 -0
- package/dist/cli/lib/local-index.js +1014 -0
- package/dist/cli/lib/locale-tags.js +4 -0
- package/dist/cli/lib/manifest-lock.js +131 -0
- package/dist/cli/lib/npm-version-check.js +97 -0
- package/dist/cli/lib/package-info.js +13 -0
- package/dist/cli/lib/preferences-options.js +8 -0
- package/dist/cli/lib/project-root.js +23 -0
- package/dist/cli/lib/repo-map.js +635 -0
- package/dist/cli/lib/reporter.js +8 -0
- package/dist/cli/lib/run-receipt.js +1 -0
- package/dist/cli/lib/template-i18n.js +265 -0
- package/dist/cli/lib/templates.js +188 -0
- package/dist/cli/lib/toml.js +1 -0
- package/dist/cli/lib/validation.js +1639 -0
- package/dist/cli/lib/version-sources.js +1 -0
- package/dist/core/authority-resolution.js +155 -0
- package/dist/core/change-classification.js +122 -0
- package/dist/core/change-verification.js +80 -0
- package/dist/core/check-issues.js +67 -0
- package/dist/core/command-classification.js +22 -0
- package/dist/core/command-contract-rules.js +27 -0
- package/dist/core/command-contract-validation.js +197 -0
- package/dist/core/command-cwd.js +12 -0
- package/dist/core/command-effects.js +182 -0
- package/dist/core/command-explanation.js +135 -0
- package/dist/core/command-intent-eligibility.js +76 -0
- package/dist/core/config-loading.js +54 -0
- package/dist/core/contract-lint.js +110 -0
- package/dist/core/contract-models.js +53 -0
- package/dist/core/dashboard-verification.js +132 -0
- package/dist/core/doc-review-triage.js +92 -0
- package/dist/core/line-endings.js +144 -0
- package/dist/core/public-json-contracts.js +112 -0
- package/dist/core/public-surface-explanation.js +49 -0
- package/dist/core/release-version-validation.js +53 -0
- package/dist/core/retention-explanation.js +74 -0
- package/dist/core/retention-policy.js +57 -0
- package/dist/core/run-receipt.js +77 -0
- package/dist/core/skill-route-alignment.js +100 -0
- package/dist/core/skill-route-explanation.js +117 -0
- package/dist/core/source-anchor-explanation.js +33 -0
- package/dist/core/source-anchor-status.js +269 -0
- package/dist/core/source-anchor-symbols.js +181 -0
- package/dist/core/source-anchor-validation.js +158 -0
- package/dist/core/source-anchors.js +194 -0
- package/dist/core/surface-decision-model.js +18 -0
- package/dist/core/toml.js +11 -0
- package/dist/core/verification-plan.js +41 -0
- package/dist/core/verification-scheduler.js +92 -0
- package/dist/core/version-impact.js +54 -0
- package/dist/core/version-sources.js +235 -0
- package/dist/core/version-sync-policy.js +85 -0
- package/examples/README.md +13 -0
- package/examples/docs-only/README.md +72 -0
- package/examples/host-instruction-conflicts/README.md +47 -0
- package/examples/minimal-js/README.md +98 -0
- package/examples/missing-command-contracts/README.md +70 -0
- package/examples/nested-repos/README.md +62 -0
- package/package.json +80 -0
- package/schemas/README.md +32 -0
- package/schemas/change-verification-report.schema.json +319 -0
- package/schemas/classify-report.schema.json +113 -0
- package/schemas/commands.schema.json +116 -0
- package/schemas/context-report.schema.json +341 -0
- package/schemas/contract-lint-report.schema.json +61 -0
- package/schemas/docs-review-list.schema.json +72 -0
- package/schemas/doctor-report.schema.json +175 -0
- package/schemas/explain-report.schema.json +471 -0
- package/schemas/impact-report.schema.json +121 -0
- package/schemas/line-endings-report.schema.json +63 -0
- package/schemas/run-receipt.schema.json +75 -0
- package/schemas/verify-report.schema.json +67 -0
- package/schemas/version-sources-report.schema.json +42 -0
- package/templates/default/common/.mustflow/config/commands.toml +251 -0
- package/templates/default/common/.mustflow/config/mustflow.toml +424 -0
- package/templates/default/common/.mustflow/config/preferences.toml +125 -0
- package/templates/default/common/gitignore.mustflow +9 -0
- package/templates/default/i18n.toml +483 -0
- package/templates/default/locales/en/.mustflow/context/INDEX.md +39 -0
- package/templates/default/locales/en/.mustflow/context/PROJECT.md +66 -0
- package/templates/default/locales/en/.mustflow/docs/agent-workflow.md +345 -0
- package/templates/default/locales/en/.mustflow/skills/INDEX.md +78 -0
- package/templates/default/locales/en/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
- package/templates/default/locales/en/.mustflow/skills/artifact-integrity-check/SKILL.md +121 -0
- package/templates/default/locales/en/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
- package/templates/default/locales/en/.mustflow/skills/code-review/SKILL.md +115 -0
- package/templates/default/locales/en/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
- package/templates/default/locales/en/.mustflow/skills/command-pattern/SKILL.md +247 -0
- package/templates/default/locales/en/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
- package/templates/default/locales/en/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
- package/templates/default/locales/en/.mustflow/skills/date-number-audit/SKILL.md +116 -0
- package/templates/default/locales/en/.mustflow/skills/dependency-injection/SKILL.md +161 -0
- package/templates/default/locales/en/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
- package/templates/default/locales/en/.mustflow/skills/diff-risk-review/SKILL.md +143 -0
- package/templates/default/locales/en/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
- package/templates/default/locales/en/.mustflow/skills/docs-update/SKILL.md +100 -0
- package/templates/default/locales/en/.mustflow/skills/external-prompt-injection-defense/SKILL.md +124 -0
- package/templates/default/locales/en/.mustflow/skills/facade-pattern/SKILL.md +210 -0
- package/templates/default/locales/en/.mustflow/skills/failure-triage/SKILL.md +97 -0
- package/templates/default/locales/en/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
- package/templates/default/locales/en/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
- package/templates/default/locales/en/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
- package/templates/default/locales/en/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
- package/templates/default/locales/en/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
- package/templates/default/locales/en/.mustflow/skills/pattern-scout/SKILL.md +110 -0
- package/templates/default/locales/en/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
- package/templates/default/locales/en/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
- package/templates/default/locales/en/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
- package/templates/default/locales/en/.mustflow/skills/readme-authoring/SKILL.md +115 -0
- package/templates/default/locales/en/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
- package/templates/default/locales/en/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
- package/templates/default/locales/en/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
- package/templates/default/locales/en/.mustflow/skills/result-option/SKILL.md +186 -0
- package/templates/default/locales/en/.mustflow/skills/security-privacy-review/SKILL.md +130 -0
- package/templates/default/locales/en/.mustflow/skills/security-regression-tests/SKILL.md +157 -0
- package/templates/default/locales/en/.mustflow/skills/skill-authoring/SKILL.md +110 -0
- package/templates/default/locales/en/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
- package/templates/default/locales/en/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
- package/templates/default/locales/en/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
- package/templates/default/locales/en/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
- package/templates/default/locales/en/.mustflow/skills/test-maintenance/SKILL.md +122 -0
- package/templates/default/locales/en/.mustflow/skills/ui-quality-gate/SKILL.md +119 -0
- package/templates/default/locales/en/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
- package/templates/default/locales/en/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
- package/templates/default/locales/en/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
- package/templates/default/locales/en/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
- package/templates/default/locales/en/AGENTS.md +114 -0
- package/templates/default/locales/es/.mustflow/context/INDEX.md +39 -0
- package/templates/default/locales/es/.mustflow/context/PROJECT.md +63 -0
- package/templates/default/locales/es/.mustflow/docs/agent-workflow.md +365 -0
- package/templates/default/locales/es/.mustflow/skills/INDEX.md +78 -0
- package/templates/default/locales/es/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
- package/templates/default/locales/es/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
- package/templates/default/locales/es/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
- package/templates/default/locales/es/.mustflow/skills/code-review/SKILL.md +115 -0
- package/templates/default/locales/es/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
- package/templates/default/locales/es/.mustflow/skills/command-pattern/SKILL.md +247 -0
- package/templates/default/locales/es/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
- package/templates/default/locales/es/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
- package/templates/default/locales/es/.mustflow/skills/date-number-audit/SKILL.md +116 -0
- package/templates/default/locales/es/.mustflow/skills/dependency-injection/SKILL.md +161 -0
- package/templates/default/locales/es/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
- package/templates/default/locales/es/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
- package/templates/default/locales/es/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
- package/templates/default/locales/es/.mustflow/skills/docs-update/SKILL.md +97 -0
- package/templates/default/locales/es/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
- package/templates/default/locales/es/.mustflow/skills/facade-pattern/SKILL.md +210 -0
- package/templates/default/locales/es/.mustflow/skills/failure-triage/SKILL.md +97 -0
- package/templates/default/locales/es/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
- package/templates/default/locales/es/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
- package/templates/default/locales/es/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
- package/templates/default/locales/es/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
- package/templates/default/locales/es/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
- package/templates/default/locales/es/.mustflow/skills/pattern-scout/SKILL.md +110 -0
- package/templates/default/locales/es/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
- package/templates/default/locales/es/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
- package/templates/default/locales/es/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
- package/templates/default/locales/es/.mustflow/skills/readme-authoring/SKILL.md +115 -0
- package/templates/default/locales/es/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
- package/templates/default/locales/es/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
- package/templates/default/locales/es/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
- package/templates/default/locales/es/.mustflow/skills/result-option/SKILL.md +186 -0
- package/templates/default/locales/es/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
- package/templates/default/locales/es/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
- package/templates/default/locales/es/.mustflow/skills/skill-authoring/SKILL.md +110 -0
- package/templates/default/locales/es/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
- package/templates/default/locales/es/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
- package/templates/default/locales/es/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
- package/templates/default/locales/es/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
- package/templates/default/locales/es/.mustflow/skills/test-maintenance/SKILL.md +122 -0
- package/templates/default/locales/es/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
- package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
- package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
- package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
- package/templates/default/locales/es/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
- package/templates/default/locales/es/AGENTS.md +83 -0
- package/templates/default/locales/fr/.mustflow/context/INDEX.md +39 -0
- package/templates/default/locales/fr/.mustflow/context/PROJECT.md +63 -0
- package/templates/default/locales/fr/.mustflow/docs/agent-workflow.md +368 -0
- package/templates/default/locales/fr/.mustflow/skills/INDEX.md +78 -0
- package/templates/default/locales/fr/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
- package/templates/default/locales/fr/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
- package/templates/default/locales/fr/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
- package/templates/default/locales/fr/.mustflow/skills/code-review/SKILL.md +115 -0
- package/templates/default/locales/fr/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
- package/templates/default/locales/fr/.mustflow/skills/command-pattern/SKILL.md +247 -0
- package/templates/default/locales/fr/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
- package/templates/default/locales/fr/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
- package/templates/default/locales/fr/.mustflow/skills/date-number-audit/SKILL.md +116 -0
- package/templates/default/locales/fr/.mustflow/skills/dependency-injection/SKILL.md +161 -0
- package/templates/default/locales/fr/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
- package/templates/default/locales/fr/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
- package/templates/default/locales/fr/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
- package/templates/default/locales/fr/.mustflow/skills/docs-update/SKILL.md +97 -0
- package/templates/default/locales/fr/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
- package/templates/default/locales/fr/.mustflow/skills/facade-pattern/SKILL.md +210 -0
- package/templates/default/locales/fr/.mustflow/skills/failure-triage/SKILL.md +97 -0
- package/templates/default/locales/fr/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
- package/templates/default/locales/fr/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
- package/templates/default/locales/fr/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
- package/templates/default/locales/fr/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
- package/templates/default/locales/fr/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
- package/templates/default/locales/fr/.mustflow/skills/pattern-scout/SKILL.md +110 -0
- package/templates/default/locales/fr/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
- package/templates/default/locales/fr/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
- package/templates/default/locales/fr/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
- package/templates/default/locales/fr/.mustflow/skills/readme-authoring/SKILL.md +115 -0
- package/templates/default/locales/fr/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
- package/templates/default/locales/fr/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
- package/templates/default/locales/fr/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
- package/templates/default/locales/fr/.mustflow/skills/result-option/SKILL.md +186 -0
- package/templates/default/locales/fr/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
- package/templates/default/locales/fr/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
- package/templates/default/locales/fr/.mustflow/skills/skill-authoring/SKILL.md +110 -0
- package/templates/default/locales/fr/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
- package/templates/default/locales/fr/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
- package/templates/default/locales/fr/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
- package/templates/default/locales/fr/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
- package/templates/default/locales/fr/.mustflow/skills/test-maintenance/SKILL.md +122 -0
- package/templates/default/locales/fr/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
- package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
- package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
- package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
- package/templates/default/locales/fr/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
- package/templates/default/locales/fr/AGENTS.md +84 -0
- package/templates/default/locales/hi/.mustflow/context/INDEX.md +39 -0
- package/templates/default/locales/hi/.mustflow/context/PROJECT.md +65 -0
- package/templates/default/locales/hi/.mustflow/docs/agent-workflow.md +359 -0
- package/templates/default/locales/hi/.mustflow/skills/INDEX.md +78 -0
- package/templates/default/locales/hi/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
- package/templates/default/locales/hi/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
- package/templates/default/locales/hi/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
- package/templates/default/locales/hi/.mustflow/skills/code-review/SKILL.md +115 -0
- package/templates/default/locales/hi/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
- package/templates/default/locales/hi/.mustflow/skills/command-pattern/SKILL.md +247 -0
- package/templates/default/locales/hi/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
- package/templates/default/locales/hi/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
- package/templates/default/locales/hi/.mustflow/skills/date-number-audit/SKILL.md +116 -0
- package/templates/default/locales/hi/.mustflow/skills/dependency-injection/SKILL.md +161 -0
- package/templates/default/locales/hi/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
- package/templates/default/locales/hi/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
- package/templates/default/locales/hi/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
- package/templates/default/locales/hi/.mustflow/skills/docs-update/SKILL.md +97 -0
- package/templates/default/locales/hi/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
- package/templates/default/locales/hi/.mustflow/skills/facade-pattern/SKILL.md +210 -0
- package/templates/default/locales/hi/.mustflow/skills/failure-triage/SKILL.md +97 -0
- package/templates/default/locales/hi/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
- package/templates/default/locales/hi/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
- package/templates/default/locales/hi/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
- package/templates/default/locales/hi/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
- package/templates/default/locales/hi/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
- package/templates/default/locales/hi/.mustflow/skills/pattern-scout/SKILL.md +110 -0
- package/templates/default/locales/hi/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
- package/templates/default/locales/hi/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
- package/templates/default/locales/hi/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
- package/templates/default/locales/hi/.mustflow/skills/readme-authoring/SKILL.md +115 -0
- package/templates/default/locales/hi/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
- package/templates/default/locales/hi/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
- package/templates/default/locales/hi/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
- package/templates/default/locales/hi/.mustflow/skills/result-option/SKILL.md +186 -0
- package/templates/default/locales/hi/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
- package/templates/default/locales/hi/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
- package/templates/default/locales/hi/.mustflow/skills/skill-authoring/SKILL.md +110 -0
- package/templates/default/locales/hi/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
- package/templates/default/locales/hi/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
- package/templates/default/locales/hi/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
- package/templates/default/locales/hi/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
- package/templates/default/locales/hi/.mustflow/skills/test-maintenance/SKILL.md +122 -0
- package/templates/default/locales/hi/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
- package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
- package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
- package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
- package/templates/default/locales/hi/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
- package/templates/default/locales/hi/AGENTS.md +83 -0
- package/templates/default/locales/ko/.mustflow/context/INDEX.md +39 -0
- package/templates/default/locales/ko/.mustflow/context/PROJECT.md +66 -0
- package/templates/default/locales/ko/.mustflow/docs/agent-workflow.md +506 -0
- package/templates/default/locales/ko/.mustflow/skills/INDEX.md +78 -0
- package/templates/default/locales/ko/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
- package/templates/default/locales/ko/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
- package/templates/default/locales/ko/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
- package/templates/default/locales/ko/.mustflow/skills/code-review/SKILL.md +118 -0
- package/templates/default/locales/ko/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
- package/templates/default/locales/ko/.mustflow/skills/command-pattern/SKILL.md +247 -0
- package/templates/default/locales/ko/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
- package/templates/default/locales/ko/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
- package/templates/default/locales/ko/.mustflow/skills/date-number-audit/SKILL.md +116 -0
- package/templates/default/locales/ko/.mustflow/skills/dependency-injection/SKILL.md +161 -0
- package/templates/default/locales/ko/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
- package/templates/default/locales/ko/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
- package/templates/default/locales/ko/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
- package/templates/default/locales/ko/.mustflow/skills/docs-update/SKILL.md +107 -0
- package/templates/default/locales/ko/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
- package/templates/default/locales/ko/.mustflow/skills/facade-pattern/SKILL.md +210 -0
- package/templates/default/locales/ko/.mustflow/skills/failure-triage/SKILL.md +119 -0
- package/templates/default/locales/ko/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
- package/templates/default/locales/ko/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
- package/templates/default/locales/ko/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
- package/templates/default/locales/ko/.mustflow/skills/multi-agent-work-coordination/SKILL.md +259 -0
- package/templates/default/locales/ko/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
- package/templates/default/locales/ko/.mustflow/skills/pattern-scout/SKILL.md +110 -0
- package/templates/default/locales/ko/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
- package/templates/default/locales/ko/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
- package/templates/default/locales/ko/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
- package/templates/default/locales/ko/.mustflow/skills/readme-authoring/SKILL.md +115 -0
- package/templates/default/locales/ko/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
- package/templates/default/locales/ko/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
- package/templates/default/locales/ko/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
- package/templates/default/locales/ko/.mustflow/skills/result-option/SKILL.md +186 -0
- package/templates/default/locales/ko/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
- package/templates/default/locales/ko/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
- package/templates/default/locales/ko/.mustflow/skills/skill-authoring/SKILL.md +110 -0
- package/templates/default/locales/ko/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
- package/templates/default/locales/ko/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
- package/templates/default/locales/ko/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
- package/templates/default/locales/ko/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
- package/templates/default/locales/ko/.mustflow/skills/test-maintenance/SKILL.md +130 -0
- package/templates/default/locales/ko/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
- package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
- package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
- package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
- package/templates/default/locales/ko/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
- package/templates/default/locales/ko/AGENTS.md +85 -0
- package/templates/default/locales/zh/.mustflow/context/INDEX.md +39 -0
- package/templates/default/locales/zh/.mustflow/context/PROJECT.md +64 -0
- package/templates/default/locales/zh/.mustflow/docs/agent-workflow.md +310 -0
- package/templates/default/locales/zh/.mustflow/skills/INDEX.md +78 -0
- package/templates/default/locales/zh/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
- package/templates/default/locales/zh/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
- package/templates/default/locales/zh/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
- package/templates/default/locales/zh/.mustflow/skills/code-review/SKILL.md +115 -0
- package/templates/default/locales/zh/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
- package/templates/default/locales/zh/.mustflow/skills/command-pattern/SKILL.md +247 -0
- package/templates/default/locales/zh/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
- package/templates/default/locales/zh/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
- package/templates/default/locales/zh/.mustflow/skills/date-number-audit/SKILL.md +116 -0
- package/templates/default/locales/zh/.mustflow/skills/dependency-injection/SKILL.md +161 -0
- package/templates/default/locales/zh/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
- package/templates/default/locales/zh/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
- package/templates/default/locales/zh/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
- package/templates/default/locales/zh/.mustflow/skills/docs-update/SKILL.md +97 -0
- package/templates/default/locales/zh/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
- package/templates/default/locales/zh/.mustflow/skills/facade-pattern/SKILL.md +210 -0
- package/templates/default/locales/zh/.mustflow/skills/failure-triage/SKILL.md +96 -0
- package/templates/default/locales/zh/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
- package/templates/default/locales/zh/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
- package/templates/default/locales/zh/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
- package/templates/default/locales/zh/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
- package/templates/default/locales/zh/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
- package/templates/default/locales/zh/.mustflow/skills/pattern-scout/SKILL.md +110 -0
- package/templates/default/locales/zh/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
- package/templates/default/locales/zh/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
- package/templates/default/locales/zh/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
- package/templates/default/locales/zh/.mustflow/skills/readme-authoring/SKILL.md +115 -0
- package/templates/default/locales/zh/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
- package/templates/default/locales/zh/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
- package/templates/default/locales/zh/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
- package/templates/default/locales/zh/.mustflow/skills/result-option/SKILL.md +186 -0
- package/templates/default/locales/zh/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
- package/templates/default/locales/zh/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
- package/templates/default/locales/zh/.mustflow/skills/skill-authoring/SKILL.md +110 -0
- package/templates/default/locales/zh/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
- package/templates/default/locales/zh/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
- package/templates/default/locales/zh/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
- package/templates/default/locales/zh/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
- package/templates/default/locales/zh/.mustflow/skills/test-maintenance/SKILL.md +122 -0
- package/templates/default/locales/zh/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
- package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
- package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
- package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
- package/templates/default/locales/zh/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
- package/templates/default/locales/zh/AGENTS.md +86 -0
- package/templates/default/manifest.toml +339 -0
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>Visual Review Artifact</title>
|
|
7
|
+
<style>
|
|
8
|
+
:root {
|
|
9
|
+
color-scheme: light dark;
|
|
10
|
+
--bg: #f7f7f4;
|
|
11
|
+
--fg: #1f2328;
|
|
12
|
+
--muted: #656d76;
|
|
13
|
+
--line: #d0d7de;
|
|
14
|
+
--panel: #ffffff;
|
|
15
|
+
--accent: #0969da;
|
|
16
|
+
--approve: #1a7f37;
|
|
17
|
+
--reject: #cf222e;
|
|
18
|
+
--discuss: #9a6700;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@media (prefers-color-scheme: dark) {
|
|
22
|
+
:root {
|
|
23
|
+
--bg: #0d1117;
|
|
24
|
+
--fg: #e6edf3;
|
|
25
|
+
--muted: #8b949e;
|
|
26
|
+
--line: #30363d;
|
|
27
|
+
--panel: #161b22;
|
|
28
|
+
--accent: #58a6ff;
|
|
29
|
+
--approve: #3fb950;
|
|
30
|
+
--reject: #ff7b72;
|
|
31
|
+
--discuss: #d29922;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
* {
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
body {
|
|
40
|
+
margin: 0;
|
|
41
|
+
background: var(--bg);
|
|
42
|
+
color: var(--fg);
|
|
43
|
+
font: 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
main {
|
|
47
|
+
max-width: 1120px;
|
|
48
|
+
margin: 0 auto;
|
|
49
|
+
padding: 24px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
header {
|
|
53
|
+
display: grid;
|
|
54
|
+
gap: 8px;
|
|
55
|
+
padding-block: 8px 20px;
|
|
56
|
+
border-bottom: 1px solid var(--line);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
h1,
|
|
60
|
+
h2 {
|
|
61
|
+
margin: 0;
|
|
62
|
+
line-height: 1.2;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
h1 {
|
|
66
|
+
font-size: 28px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
h2 {
|
|
70
|
+
font-size: 18px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
p {
|
|
74
|
+
margin: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.meta,
|
|
78
|
+
.note {
|
|
79
|
+
color: var(--muted);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.toolbar {
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-wrap: wrap;
|
|
85
|
+
gap: 8px;
|
|
86
|
+
margin-block: 18px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.sections {
|
|
90
|
+
display: grid;
|
|
91
|
+
gap: 14px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
section {
|
|
95
|
+
display: grid;
|
|
96
|
+
gap: 12px;
|
|
97
|
+
background: var(--panel);
|
|
98
|
+
border: 1px solid var(--line);
|
|
99
|
+
border-radius: 8px;
|
|
100
|
+
padding: 16px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.section-head {
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-wrap: wrap;
|
|
106
|
+
justify-content: space-between;
|
|
107
|
+
gap: 8px;
|
|
108
|
+
align-items: start;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.status {
|
|
112
|
+
color: var(--muted);
|
|
113
|
+
font-size: 13px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.actions {
|
|
117
|
+
display: flex;
|
|
118
|
+
flex-wrap: wrap;
|
|
119
|
+
gap: 8px;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
button {
|
|
123
|
+
min-height: 36px;
|
|
124
|
+
border: 1px solid var(--line);
|
|
125
|
+
border-radius: 6px;
|
|
126
|
+
background: transparent;
|
|
127
|
+
color: var(--fg);
|
|
128
|
+
padding: 6px 10px;
|
|
129
|
+
cursor: pointer;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
button:hover,
|
|
133
|
+
button:focus-visible {
|
|
134
|
+
border-color: var(--accent);
|
|
135
|
+
outline: 2px solid transparent;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
button[aria-pressed="true"][data-action="approve"] {
|
|
139
|
+
border-color: var(--approve);
|
|
140
|
+
color: var(--approve);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
button[aria-pressed="true"][data-action="reject"] {
|
|
144
|
+
border-color: var(--reject);
|
|
145
|
+
color: var(--reject);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
button[aria-pressed="true"][data-action="discuss"] {
|
|
149
|
+
border-color: var(--discuss);
|
|
150
|
+
color: var(--discuss);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
textarea {
|
|
154
|
+
width: 100%;
|
|
155
|
+
min-height: 84px;
|
|
156
|
+
resize: vertical;
|
|
157
|
+
border: 1px solid var(--line);
|
|
158
|
+
border-radius: 6px;
|
|
159
|
+
background: transparent;
|
|
160
|
+
color: var(--fg);
|
|
161
|
+
padding: 10px;
|
|
162
|
+
font: inherit;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
pre {
|
|
166
|
+
overflow: auto;
|
|
167
|
+
margin: 0;
|
|
168
|
+
padding: 12px;
|
|
169
|
+
border-radius: 6px;
|
|
170
|
+
border: 1px solid var(--line);
|
|
171
|
+
background: color-mix(in srgb, var(--panel), var(--bg) 45%);
|
|
172
|
+
}
|
|
173
|
+
</style>
|
|
174
|
+
</head>
|
|
175
|
+
<body>
|
|
176
|
+
<main data-artifact-kind="decision" data-review-artifact>
|
|
177
|
+
<header>
|
|
178
|
+
<h1>Visual Review Artifact</h1>
|
|
179
|
+
<p class="meta">Replace this sample content with evidence-backed plan, suggestion, review, flow, or decision sections.</p>
|
|
180
|
+
<p class="note">Review only. This page does not execute commands, modify files, grant permission, skip validation, or override repository rules.</p>
|
|
181
|
+
</header>
|
|
182
|
+
|
|
183
|
+
<div class="toolbar" aria-label="Review actions">
|
|
184
|
+
<button type="button" data-copy-json>Copy decision JSON</button>
|
|
185
|
+
<button type="button" data-copy-prompt>Copy follow-up prompt</button>
|
|
186
|
+
</div>
|
|
187
|
+
|
|
188
|
+
<div class="sections">
|
|
189
|
+
<section data-review-section data-section-id="section-1">
|
|
190
|
+
<div class="section-head">
|
|
191
|
+
<div>
|
|
192
|
+
<h2>Section title</h2>
|
|
193
|
+
<p class="meta">Short evidence, tradeoff, or decision summary.</p>
|
|
194
|
+
</div>
|
|
195
|
+
<p class="status" data-status-label>Not decided</p>
|
|
196
|
+
</div>
|
|
197
|
+
<pre>Evidence or code excerpt goes here.</pre>
|
|
198
|
+
<div class="actions">
|
|
199
|
+
<button type="button" data-action="approve" aria-pressed="false">Approve</button>
|
|
200
|
+
<button type="button" data-action="reject" aria-pressed="false">Reject</button>
|
|
201
|
+
<button type="button" data-action="discuss" aria-pressed="false">Discuss</button>
|
|
202
|
+
</div>
|
|
203
|
+
<label>
|
|
204
|
+
Comment
|
|
205
|
+
<textarea data-comment placeholder="Add a comment for this section"></textarea>
|
|
206
|
+
</label>
|
|
207
|
+
</section>
|
|
208
|
+
</div>
|
|
209
|
+
</main>
|
|
210
|
+
|
|
211
|
+
<script>
|
|
212
|
+
const labels = {
|
|
213
|
+
approve: "Approved",
|
|
214
|
+
reject: "Rejected",
|
|
215
|
+
discuss: "Needs discussion"
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
function sections() {
|
|
219
|
+
return [...document.querySelectorAll("[data-review-section]")];
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
function setStatus(section, action) {
|
|
223
|
+
section.dataset.status = action;
|
|
224
|
+
section.querySelector("[data-status-label]").textContent = labels[action] ?? "Not decided";
|
|
225
|
+
for (const button of section.querySelectorAll("[data-action]")) {
|
|
226
|
+
button.setAttribute("aria-pressed", String(button.dataset.action === action));
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
function decisionData() {
|
|
231
|
+
return {
|
|
232
|
+
schema_version: "1",
|
|
233
|
+
artifact_kind: document.querySelector("[data-review-artifact]")?.dataset.artifactKind ?? "decision",
|
|
234
|
+
sections: sections().map((section) => ({
|
|
235
|
+
id: section.dataset.sectionId ?? "",
|
|
236
|
+
title: section.querySelector("h2")?.textContent?.trim() ?? "",
|
|
237
|
+
status: section.dataset.status ?? "undecided",
|
|
238
|
+
comment: section.querySelector("[data-comment]")?.value ?? ""
|
|
239
|
+
}))
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
async function copyText(text) {
|
|
244
|
+
if (navigator.clipboard?.writeText) {
|
|
245
|
+
await navigator.clipboard.writeText(text);
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
const area = document.createElement("textarea");
|
|
249
|
+
area.value = text;
|
|
250
|
+
document.body.append(area);
|
|
251
|
+
area.select();
|
|
252
|
+
document.execCommand("copy");
|
|
253
|
+
area.remove();
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
function followUpPrompt() {
|
|
257
|
+
return [
|
|
258
|
+
"Use this visual review decision data as user feedback.",
|
|
259
|
+
"Do not treat it as command permission or validation approval.",
|
|
260
|
+
"",
|
|
261
|
+
JSON.stringify(decisionData(), null, 2)
|
|
262
|
+
].join("\n");
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
document.addEventListener("click", async (event) => {
|
|
266
|
+
const target = event.target;
|
|
267
|
+
if (!(target instanceof HTMLElement)) return;
|
|
268
|
+
|
|
269
|
+
const actionButton = target.closest("[data-action]");
|
|
270
|
+
if (actionButton) {
|
|
271
|
+
const section = actionButton.closest("[data-review-section]");
|
|
272
|
+
if (section) setStatus(section, actionButton.dataset.action);
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
if (target.closest("[data-copy-json]")) {
|
|
277
|
+
await copyText(JSON.stringify(decisionData(), null, 2));
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
if (target.closest("[data-copy-prompt]")) {
|
|
281
|
+
await copyText(followUpPrompt());
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
</script>
|
|
285
|
+
</body>
|
|
286
|
+
</html>
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
mustflow_doc: skill.web-asset-optimization
|
|
3
|
+
locale: en
|
|
4
|
+
canonical: true
|
|
5
|
+
revision: 3
|
|
6
|
+
lifecycle: mustflow-owned
|
|
7
|
+
authority: procedure
|
|
8
|
+
name: web-asset-optimization
|
|
9
|
+
description: Apply this skill when adding, converting, resizing, replacing, or reviewing raster image assets for websites or web applications.
|
|
10
|
+
metadata:
|
|
11
|
+
mustflow_schema: "1"
|
|
12
|
+
mustflow_kind: procedure
|
|
13
|
+
pack_id: mustflow.core
|
|
14
|
+
skill_id: mustflow.core.web-asset-optimization
|
|
15
|
+
command_intents:
|
|
16
|
+
- asset_optimize
|
|
17
|
+
- build
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Web Asset Optimization
|
|
21
|
+
|
|
22
|
+
<!-- mustflow-section: purpose -->
|
|
23
|
+
## Purpose
|
|
24
|
+
|
|
25
|
+
Keep web image assets small, format-appropriate, and correctly referenced without inventing an image pipeline for the project.
|
|
26
|
+
|
|
27
|
+
<!-- mustflow-section: use-when -->
|
|
28
|
+
## Use When
|
|
29
|
+
|
|
30
|
+
- A generated PNG, JPEG, WebP, AVIF, GIF, or other raster image is added to a website or web app.
|
|
31
|
+
- An existing web image is replaced, resized, compressed, or converted.
|
|
32
|
+
- A page, component, stylesheet, or metadata file changes image references.
|
|
33
|
+
- A user asks to reduce image size, convert to WebP or AVIF, or prepare generated images for production use.
|
|
34
|
+
|
|
35
|
+
<!-- mustflow-section: do-not-use-when -->
|
|
36
|
+
## Do Not Use When
|
|
37
|
+
|
|
38
|
+
- The asset is a vector source such as SVG, icon font, or design-token file.
|
|
39
|
+
- The image is an archival, print, source, or evidence artifact where preserving the original bytes matters more than web delivery size.
|
|
40
|
+
- The repository already has a more specific media, design-system, or framework asset procedure.
|
|
41
|
+
- The task is only to generate a new image and not to install or reference it in the repository.
|
|
42
|
+
|
|
43
|
+
<!-- mustflow-section: required-inputs -->
|
|
44
|
+
## Required Inputs
|
|
45
|
+
|
|
46
|
+
- The image file paths and their current or intended references.
|
|
47
|
+
- The expected display size, transparency needs, animation needs, and quality requirements.
|
|
48
|
+
- Existing framework image conventions, static asset folders, and import style.
|
|
49
|
+
- `.mustflow/config/commands.toml` entries for `asset_optimize` and `build`.
|
|
50
|
+
|
|
51
|
+
<!-- mustflow-section: preconditions -->
|
|
52
|
+
## Preconditions
|
|
53
|
+
|
|
54
|
+
- The task matches the Use When conditions and does not match the Do Not Use When exclusions.
|
|
55
|
+
- Required inputs are available, or missing inputs can be reported without guessing.
|
|
56
|
+
- Higher-priority instructions and `.mustflow/config/commands.toml` have been checked for the current scope.
|
|
57
|
+
|
|
58
|
+
<!-- mustflow-section: allowed-edits -->
|
|
59
|
+
## Allowed Edits
|
|
60
|
+
|
|
61
|
+
- Keep edits within the scope described by this skill, the user request, and the matching route in `.mustflow/skills/INDEX.md`.
|
|
62
|
+
- Do not broaden command permission, invent project facts, or change unrelated workflow files.
|
|
63
|
+
|
|
64
|
+
<!-- mustflow-section: procedure -->
|
|
65
|
+
## Procedure
|
|
66
|
+
|
|
67
|
+
1. Identify every changed image asset and every page, component, style, metadata, or manifest reference that depends on it.
|
|
68
|
+
2. Check the original file size, dimensions, format, transparency, and animation before changing the asset.
|
|
69
|
+
3. Prefer the repository's existing image pipeline, framework image component, or configured `asset_optimize` intent when one exists.
|
|
70
|
+
4. Do not add a new dependency, online service, or ad hoc conversion tool unless the user explicitly approves it or the repository already uses it.
|
|
71
|
+
5. Choose the output format based on actual needs: WebP or AVIF for most photographic and generated bitmap website assets, PNG when lossless transparency or exact pixels matter, and SVG only for real vector artwork.
|
|
72
|
+
6. Keep source and derived assets separate when the repository already has that convention. Otherwise, avoid adding duplicate originals unless future editing requires them.
|
|
73
|
+
7. Update imports, static paths, metadata references, dimensions, and cache-sensitive filenames according to the local style.
|
|
74
|
+
8. Compare before and after file sizes and note any quality, transparency, animation, browser-support, or fallback tradeoff.
|
|
75
|
+
|
|
76
|
+
<!-- mustflow-section: postconditions -->
|
|
77
|
+
## Postconditions
|
|
78
|
+
|
|
79
|
+
- The expected output can be produced with clear evidence, executed command intents, skipped checks, and remaining risks.
|
|
80
|
+
- Any missing command intent, unknown input, or authority conflict is reported instead of hidden.
|
|
81
|
+
|
|
82
|
+
<!-- mustflow-section: verification -->
|
|
83
|
+
## Verification
|
|
84
|
+
|
|
85
|
+
Use configured oneshot command intents when available:
|
|
86
|
+
|
|
87
|
+
- `asset_optimize`
|
|
88
|
+
- `build`
|
|
89
|
+
|
|
90
|
+
Do not infer missing image optimization commands. If `asset_optimize` is unknown, missing, manual-only, or not agent-runnable, report that status and describe the intended optimization without executing an unconfigured tool.
|
|
91
|
+
|
|
92
|
+
<!-- mustflow-section: failure-handling -->
|
|
93
|
+
## Failure Handling
|
|
94
|
+
|
|
95
|
+
- If optimization visibly degrades the image or breaks transparency, restore or keep the better asset and report the tradeoff.
|
|
96
|
+
- If image references break, fix the nearest import, path, metadata, or build configuration that owns the reference.
|
|
97
|
+
- If the repository lacks an optimization command, propose the smallest project-specific command intent instead of running an external website or guessed package command.
|
|
98
|
+
- If the build fails after asset changes, investigate the first asset-related failure before touching unrelated code.
|
|
99
|
+
|
|
100
|
+
<!-- mustflow-section: output-format -->
|
|
101
|
+
## Output Format
|
|
102
|
+
|
|
103
|
+
- Images reviewed or changed
|
|
104
|
+
- Format and size changes
|
|
105
|
+
- References updated
|
|
106
|
+
- Command intents run
|
|
107
|
+
- Skipped command intents and reasons
|
|
108
|
+
- Remaining image quality or browser-support risks
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
---
|
|
2
|
+
mustflow_doc: agents.root
|
|
3
|
+
locale: en
|
|
4
|
+
canonical: true
|
|
5
|
+
revision: 11
|
|
6
|
+
lifecycle: user-editable
|
|
7
|
+
authority: binding
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# AGENTS.md
|
|
11
|
+
|
|
12
|
+
This file is the first working agreement an LLM coding agent should read in this repository.
|
|
13
|
+
This repository follows the mustflow agent workflow.
|
|
14
|
+
mustflow-managed details are under `.mustflow/`.
|
|
15
|
+
|
|
16
|
+
## Read Order
|
|
17
|
+
|
|
18
|
+
1. `AGENTS.md`
|
|
19
|
+
2. `.mustflow/docs/agent-workflow.md`
|
|
20
|
+
3. `.mustflow/config/mustflow.toml`
|
|
21
|
+
4. `.mustflow/config/commands.toml`
|
|
22
|
+
5. `.mustflow/config/preferences.toml` if present
|
|
23
|
+
6. `.mustflow/skills/INDEX.md`
|
|
24
|
+
7. `.mustflow/context/INDEX.md` only when the task needs project, product, domain,
|
|
25
|
+
UI, backend, data, security, or operations context
|
|
26
|
+
8. The matching `.mustflow/context/<name>.md` files, only when selected by the context index
|
|
27
|
+
9. The matching `.mustflow/skills/<name>/SKILL.md`
|
|
28
|
+
10. `REPO_MAP.md` only when broader repository navigation is needed
|
|
29
|
+
11. Relevant source, test, and documentation files
|
|
30
|
+
|
|
31
|
+
## Core Rules
|
|
32
|
+
|
|
33
|
+
- Do not revert existing user changes.
|
|
34
|
+
- Do not infer commands from package manager files.
|
|
35
|
+
- Run only command definitions whose `status` is `configured`, `lifecycle` is `oneshot`,
|
|
36
|
+
and `run_policy` is `agent_allowed`.
|
|
37
|
+
- Prefer `mf run <intent>` for configured oneshot commands.
|
|
38
|
+
- Run `mf run` command intents serially. Do not start another `mf run` while a configured
|
|
39
|
+
intent is still running, especially when an intent declares non-empty `writes` such as `dist/`.
|
|
40
|
+
- Choose the narrowest configured verification intent that covers the risk. Prefer related or
|
|
41
|
+
fast checks over broad suites when the command contract exposes them, and report missing
|
|
42
|
+
narrower intents instead of defaulting silently to slow full-suite tests.
|
|
43
|
+
- Do not directly start development servers, watchers, browser interfaces, interactive prompts,
|
|
44
|
+
or background processes.
|
|
45
|
+
- Do not start autonomous loops, worker processes, persona systems, or long-running harness
|
|
46
|
+
processes unless this repository explicitly configures them.
|
|
47
|
+
- Follow `[budget]`, `[approval]`, and `[isolation]` in `.mustflow/config/mustflow.toml` when a
|
|
48
|
+
task may run for a long time or affect sensitive state.
|
|
49
|
+
- Use `mf doctor` or `mf doctor --json` for a read-only health check before broad changes.
|
|
50
|
+
- `mf context --json` may help with machine-readable orientation, but it does not replace the rules
|
|
51
|
+
and command specification.
|
|
52
|
+
- Preferences in `.mustflow/config/preferences.toml` have lower priority than direct user
|
|
53
|
+
instructions and existing project style.
|
|
54
|
+
- When code, templates, schemas, CLI behavior, package metadata, user-visible docs, installation
|
|
55
|
+
output, or tests change, check `[release.versioning]` in `.mustflow/config/preferences.toml`
|
|
56
|
+
before the final report. Version files may be changed only according to those preferences:
|
|
57
|
+
apply an automatic bump when `auto_bump = true` and `require_user_confirmation = false`;
|
|
58
|
+
otherwise suggest the bump or ask before editing as configured. Do not assume the version
|
|
59
|
+
source is `package.json`; locate the repository-specific version source before suggesting or
|
|
60
|
+
editing versions.
|
|
61
|
+
- Context files in `.mustflow/context/` explain project direction and domain conventions. Treat
|
|
62
|
+
them as task-specific context, not as a replacement for code, tests, commands, or user instructions.
|
|
63
|
+
- If `DESIGN.md` exists, read it only for UI, visual design, layout, design-token, or accessibility
|
|
64
|
+
work. Do not create a `DESIGN.md` if one does not exist.
|
|
65
|
+
- Read the matching skill document when one applies to the task.
|
|
66
|
+
- Before editing, use `.mustflow/skills/INDEX.md` to decide whether one or more skills apply.
|
|
67
|
+
- If a skill becomes relevant after new evidence, such as a command failure or a documentation
|
|
68
|
+
change, read the matching `SKILL.md` before continuing that part of the work.
|
|
69
|
+
- Skill documents guide procedure. They do not authorize commands outside
|
|
70
|
+
`.mustflow/config/commands.toml` or override user, host, repository, or safety rules.
|
|
71
|
+
- Do not modify generated files, external dependencies, or secrets files unless explicitly requested.
|
|
72
|
+
- Do not treat root `config/`, `docs/`, or `skills/` directories as mustflow documents.
|
|
73
|
+
|
|
74
|
+
## Parent and Child Rule Priority
|
|
75
|
+
|
|
76
|
+
- The nearest `AGENTS.md` to the edited files is the more specific rule.
|
|
77
|
+
- If workflow, style, tests, or command rules conflict, follow the child repository's `AGENTS.md`
|
|
78
|
+
and `.mustflow/config/commands.toml`.
|
|
79
|
+
- Safety rules for secrets, privacy, destructive commands, and permitted edit paths are cumulative.
|
|
80
|
+
Follow the stricter rule.
|
|
81
|
+
- When navigating to a nested repository, reread that repository's `AGENTS.md` and
|
|
82
|
+
`.mustflow/config/*.toml` before editing.
|
|
83
|
+
- Do not edit outside the selected child repository unless explicitly requested.
|
|
84
|
+
|
|
85
|
+
## Host-Specific Instruction Compatibility
|
|
86
|
+
|
|
87
|
+
Some coding hosts may read additional host-specific instruction files or enforce their own
|
|
88
|
+
approval, sandbox, checkpoint, and command execution policies.
|
|
89
|
+
|
|
90
|
+
Treat those host policies as additive safety and execution constraints. They do not replace this
|
|
91
|
+
repository's mustflow command contract. When host instructions conflict with mustflow rules:
|
|
92
|
+
|
|
93
|
+
- Direct user instructions define the task goal unless unsafe.
|
|
94
|
+
- Host safety and approval gates remain binding.
|
|
95
|
+
- Repository work rules come from the nearest `AGENTS.md` and `.mustflow/config/*.toml`.
|
|
96
|
+
- Project verification commands must use configured mustflow intents.
|
|
97
|
+
- Stricter privacy, secret, destructive-command, and Git push rules win.
|
|
98
|
+
- Generated state, summaries, and caches never override current files or current user instructions.
|
|
99
|
+
|
|
100
|
+
When the effective rule is unclear, stop and report the conflict instead of guessing.
|
|
101
|
+
|
|
102
|
+
## Instruction Refresh Checkpoints
|
|
103
|
+
|
|
104
|
+
- In long sessions, reread mustflow instructions before the first edit, before command execution
|
|
105
|
+
when the current command intent does not already have a fresh command refresh, after context
|
|
106
|
+
compaction, after changing `AGENTS.md` or `.mustflow/**`, after switching project roots, and
|
|
107
|
+
before writing the final report.
|
|
108
|
+
- Use the `[refresh]` policy in `.mustflow/config/mustflow.toml` to decide whether a light, a
|
|
109
|
+
command, a skill, or a full refresh is needed.
|
|
110
|
+
- Do not store conversation turn counts or session activity in project files. Session refresh state
|
|
111
|
+
belongs in local cache or the host application.
|
|
112
|
+
|
|
113
|
+
Detailed workflow, command policy, failure handling, and security rules are in
|
|
114
|
+
`.mustflow/docs/agent-workflow.md`.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
mustflow_doc: context.index
|
|
3
|
+
kind: mustflow-context
|
|
4
|
+
locale: es
|
|
5
|
+
canonical: false
|
|
6
|
+
revision: 1
|
|
7
|
+
lifecycle: mustflow-owned
|
|
8
|
+
name: context-index
|
|
9
|
+
authority: router
|
|
10
|
+
stability: medium
|
|
11
|
+
review_status: needs_human_review
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# Índice de Contexto
|
|
15
|
+
|
|
16
|
+
Consulta este archivo para identificar qué archivos de contexto del proyecto son relevantes para la tarea actual.
|
|
17
|
+
Evita leer todos los archivos de contexto por defecto para minimizar el ruido.
|
|
18
|
+
|
|
19
|
+
## Contexto Disponible
|
|
20
|
+
|
|
21
|
+
| Contexto | Usar cuando | Ruta |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| project | La tarea puede afectar la dirección del proyecto, el alcance, el comportamiento público, los no-objetivos o convenciones de todo el repositorio. | `.mustflow/context/PROJECT.md` |
|
|
24
|
+
|
|
25
|
+
## Referencias Externas Opcionales
|
|
26
|
+
|
|
27
|
+
| Ancla | Usar cuando | Ruta |
|
|
28
|
+
| --- | --- | --- |
|
|
29
|
+
| human overview | Se requiere una visión pública del proyecto o una guía de instalación. Trátalo como contexto general y no como política obligatoria. | `README.md` |
|
|
30
|
+
| roadmap | Se necesita contexto sobre planificación, prioridades, hitos o no-objetivos del proyecto. Trátalo como contexto de planificación, no como política mustflow instalada. | `ROADMAP.md` |
|
|
31
|
+
| visual design | La tarea implica cambios en la interfaz, identidad visual, tokens de diseño, maquetación o accesibilidad. | `DESIGN.md` |
|
|
32
|
+
|
|
33
|
+
## Reglas de Lectura
|
|
34
|
+
|
|
35
|
+
- Consulta solo los archivos de contexto relevantes para la tarea actual.
|
|
36
|
+
- Trata los archivos de contexto como guía, salvo que se indique explícitamente que están respaldados por una fuente de mayor autoridad.
|
|
37
|
+
- Si el contexto entra en conflicto con código, pruebas, especificaciones de comandos o instrucciones explícitas del usuario, reporta el conflicto y prioriza la fuente de mayor autoridad.
|
|
38
|
+
- No supongas ni inventes objetivos faltantes del proyecto, no-objetivos, tokens de diseño, contratos de API o reglas de datos.
|
|
39
|
+
- No dupliques tokens de diseño de `DESIGN.md` dentro de `.mustflow/context/`.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
---
|
|
2
|
+
mustflow_doc: context.project
|
|
3
|
+
kind: mustflow-context
|
|
4
|
+
locale: es
|
|
5
|
+
canonical: false
|
|
6
|
+
revision: 1
|
|
7
|
+
lifecycle: user-editable
|
|
8
|
+
name: project
|
|
9
|
+
authority: contextual
|
|
10
|
+
stability: medium
|
|
11
|
+
review_status: needs_human_review
|
|
12
|
+
source_refs:
|
|
13
|
+
- AGENTS.md
|
|
14
|
+
- .mustflow/config/mustflow.toml
|
|
15
|
+
- .mustflow/config/commands.toml
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# Contexto del Proyecto
|
|
19
|
+
|
|
20
|
+
Este archivo documenta el contexto específico del proyecto para agentes de codificación.
|
|
21
|
+
Si algún campo es desconocido, déjalo sin completar; no supongas ni inventes detalles.
|
|
22
|
+
|
|
23
|
+
## Límites de Autoridad
|
|
24
|
+
|
|
25
|
+
- Este archivo puede registrar contexto respaldado, incógnitas y conflictos.
|
|
26
|
+
- No debe otorgar permisos para ejecutar comandos, definir prohibiciones de edición de archivos, reemplazar `AGENTS.md` o `.mustflow/config/*.toml`, ni prometer funciones que no estén respaldadas por las fuentes actuales.
|
|
27
|
+
- Traslada las reglas operativas duraderas a `AGENTS.md`, `.mustflow/docs/agent-workflow.md` o al archivo de configuración correspondiente en lugar de guardarlas aquí.
|
|
28
|
+
|
|
29
|
+
## Objetivo Actual
|
|
30
|
+
|
|
31
|
+
Sin definir. Sustituye este texto por el objetivo actual del proyecto cuando la persona responsable lo proporcione.
|
|
32
|
+
|
|
33
|
+
## No-Objetivos
|
|
34
|
+
|
|
35
|
+
Sin definir. Enumera áreas u objetivos que el agente no debe perseguir en tareas no relacionadas.
|
|
36
|
+
|
|
37
|
+
## Promesas Principales
|
|
38
|
+
|
|
39
|
+
- Sigue `AGENTS.md` para las reglas operativas obligatorias.
|
|
40
|
+
- Considera `.mustflow/config/commands.toml` como la fuente de verdad para comandos.
|
|
41
|
+
- Considera `.mustflow/config/mustflow.toml` como la fuente de verdad para límites de flujo de trabajo y documentos.
|
|
42
|
+
- Usa `REPO_MAP.md` como mapa de navegación superficial cuando se requiera una vista más amplia del repositorio.
|
|
43
|
+
|
|
44
|
+
## Términos del Dominio
|
|
45
|
+
|
|
46
|
+
Sin definir. Agrega solo términos que afecten decisiones de implementación.
|
|
47
|
+
|
|
48
|
+
## Áreas de Cuidado Especial
|
|
49
|
+
|
|
50
|
+
Sin definir. Lista rutas, API públicas, archivos generados, migraciones, secretos o superficies de compatibilidad que requieran atención especial.
|
|
51
|
+
|
|
52
|
+
## Lectura Recomendada
|
|
53
|
+
|
|
54
|
+
- `AGENTS.md`
|
|
55
|
+
- `.mustflow/docs/agent-workflow.md`
|
|
56
|
+
- `.mustflow/config/mustflow.toml`
|
|
57
|
+
- `.mustflow/config/commands.toml`
|
|
58
|
+
- `.mustflow/skills/INDEX.md`
|
|
59
|
+
|
|
60
|
+
## Verificación de Obsolescencia
|
|
61
|
+
|
|
62
|
+
- Si este archivo entra en conflicto con el código actual, pruebas, contratos de comandos o instrucciones del usuario, trátalo como desactualizado y reporta el conflicto.
|
|
63
|
+
- Actualiza este archivo solo cuando cambie realmente la dirección del proyecto, los no-objetivos o las promesas de alcance del repositorio.
|