monomind 2.5.1 → 2.5.2
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/package.json +2 -1
- package/packages/@monomind/cli/.claude/agents/design/design-monodesign.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/_repeat.md +4 -4
- package/packages/@monomind/cli/.claude/commands/mastermind/approvev1.md +4 -4
- package/packages/@monomind/cli/.claude/commands/mastermind/architect.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/autodev.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/brain.md +2 -2
- package/packages/@monomind/cli/.claude/commands/mastermind/build.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/code-review.md +2 -2
- package/packages/@monomind/cli/.claude/commands/mastermind/content.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/createorg.md +4 -4
- package/packages/@monomind/cli/.claude/commands/mastermind/createtask.md +3 -3
- package/packages/@monomind/cli/.claude/commands/mastermind/debug.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/design.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/do.md +2 -2
- package/packages/@monomind/cli/.claude/commands/mastermind/execute.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/finance.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/finish.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/idea.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/ideate.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/improve.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/marketing.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/master.md +54 -54
- package/packages/@monomind/cli/.claude/commands/mastermind/ops.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/orgs.md +2 -2
- package/packages/@monomind/cli/.claude/commands/mastermind/orgstatus.md +2 -2
- package/packages/@monomind/cli/.claude/commands/mastermind/plan.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/receive-review.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/release.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/research.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/review.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/runorg.md +4 -4
- package/packages/@monomind/cli/.claude/commands/mastermind/runorgv1.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/sales.md +6 -6
- package/packages/@monomind/cli/.claude/commands/mastermind/skill-builder.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/stoporg.md +3 -3
- package/packages/@monomind/cli/.claude/commands/mastermind/taskdev.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/tdd.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/techport.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/verify.md +5 -5
- package/packages/@monomind/cli/.claude/commands/mastermind/worktree.md +5 -5
- package/packages/@monomind/cli/.claude/helpers/control-start.cjs +30 -0
- package/packages/@monomind/cli/.claude/helpers/utils/monograph.cjs +44 -12
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/access.md → mastermind-access/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/activity.md → mastermind-activity/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/adapter-manager.md → mastermind-adapter-manager/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/adapters.md → mastermind-adapters/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/agent-detail.md → mastermind-agent-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/agents.md → mastermind-agents/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/approval-detail.md → mastermind-approval-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/approvev1.md → mastermind-approvev1/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/architect.md → mastermind-architect/SKILL.md} +7 -7
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/autodev.md → mastermind-autodev/SKILL.md} +10 -10
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/backup.md → mastermind-backup/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/bootstrap.md → mastermind-bootstrap/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/budgets.md → mastermind-budgets/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/build.md → mastermind-build/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/companies.md → mastermind-companies/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/content.md → mastermind-content/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/costs.md → mastermind-costs/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/createorg.md → mastermind-createorg/SKILL.md} +3 -3
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/debug.md → mastermind-debug/SKILL.md} +4 -4
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_delegation.md → mastermind-delegation/SKILL.md} +1 -1
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/design.md → mastermind-design/SKILL.md} +9 -9
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/diagnose.md → mastermind-diagnose/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/env.md → mastermind-env/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/environments.md → mastermind-environments/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/execute.md → mastermind-execute/SKILL.md} +10 -10
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/export.md → mastermind-export/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/finance.md → mastermind-finance/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/goal-detail.md → mastermind-goal-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/goals.md → mastermind-goals/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/heartbeatv1.md → mastermind-heartbeatv1/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/idea.md → mastermind-idea/SKILL.md} +7 -7
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/import.md → mastermind-import/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/inbox.md → mastermind-inbox/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/instance.md → mastermind-instance/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/instance-settings.md → mastermind-instance-settings/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/invite-landing.md → mastermind-invite-landing/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/invites.md → mastermind-invites/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/issue-detail.md → mastermind-issue-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/issues.md → mastermind-issues/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/join-queue.md → mastermind-join-queue/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/liveness.md → mastermind-liveness/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/marketing.md → mastermind-marketing/SKILL.md} +8 -8
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/memory.md → mastermind-memory/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/monitor.md → mastermind-monitor/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/my-issues.md → mastermind-my-issues/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/new-agent.md → mastermind-new-agent/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/ops.md → mastermind-ops/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/org-chart.md → mastermind-org-chart/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/org-settings.md → mastermind-org-settings/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/orgs.md → mastermind-orgs/SKILL.md} +1 -1
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/orgstatus.md → mastermind-orgstatus/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plan.md → mastermind-plan/SKILL.md} +7 -7
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plan-to-tasks.md → mastermind-plan-to-tasks/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugin-manager.md → mastermind-plugin-manager/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugin-settings.md → mastermind-plugin-settings/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/plugins.md → mastermind-plugins/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/profile.md → mastermind-profile/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/project-detail.md → mastermind-project-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/project-workspace.md → mastermind-project-workspace/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/projects.md → mastermind-projects/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_protocol.md → mastermind-protocol/SKILL.md} +3 -3
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/release.md → mastermind-release/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_repeat.md → mastermind-repeat/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/research.md → mastermind-research/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/review.md → mastermind-review/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/routine-detail.md → mastermind-routine-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/routines.md → mastermind-routines/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/runorgv1.md → mastermind-runorgv1/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/sales.md → mastermind-sales/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/search.md → mastermind-search/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/secrets.md → mastermind-secrets/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/skill-builder.md → mastermind-skill-builder/SKILL.md} +16 -14
- package/packages/@monomind/cli/.claude/skills/mastermind-skills/{skills.md → SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/stoporg.md → mastermind-stoporg/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/taskdev.md → mastermind-taskdev/SKILL.md} +6 -6
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/implementer-prompt.md +1 -1
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tasks.md → mastermind-tasks/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tdd.md → mastermind-tdd/SKILL.md} +4 -4
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/techport.md → mastermind-techport/SKILL.md} +5 -5
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/threads.md → mastermind-threads/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/tree-control.md → mastermind-tree-control/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/verify.md → mastermind-verify/SKILL.md} +1 -1
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/wiki.md → mastermind-wiki/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/workspace-detail.md → mastermind-workspace-detail/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/{mastermind-skills/workspaces.md → mastermind-workspaces/SKILL.md} +2 -2
- package/packages/@monomind/cli/.claude/skills/monodesign/SKILL.md +114 -190
- package/packages/@monomind/cli/.claude/skills/monodesign/adapt.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/agents/monodesign-asset-producer.md +4 -4
- package/packages/@monomind/cli/.claude/skills/monodesign/agents/monodesign-manual-edit-applier.md +103 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/audit.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/craft.md +2 -2
- package/packages/@monomind/cli/.claude/skills/monodesign/critique.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/init.md +30 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/layout.md +36 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/live.md +19 -44
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/adapt.md +122 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/adapt.native.md +58 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/android.md +40 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/animate.md +39 -11
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/antipatterns-catalog.md +22 -16
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/audit.md +5 -3
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/audit.native.md +139 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/bolder.md +71 -64
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/brand.md +12 -18
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/clarify.md +114 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/codex.md +4 -6
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/colorize.md +108 -5
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/craft.md +70 -143
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/critique.md +635 -68
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/delight.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/distill.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/document.md +24 -22
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/extract.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/hooks.md +22 -29
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/init.md +221 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/interaction-design.md +0 -6
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/ios.md +45 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/layout.md +57 -13
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/live.md +159 -63
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/overdrive.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/personas.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/polish.md +16 -8
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/pre-delivery-checklist.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/product.md +1 -3
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/quieter.md +1 -1
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/shape.md +27 -13
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/teach.md +6 -152
- package/packages/@monomind/cli/.claude/skills/monodesign/reference/typeset.md +180 -3
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/command-metadata.json +94 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/context-signals.mjs +227 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/context.mjs +1062 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/critique-storage.mjs +243 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detect-csp.mjs +199 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detect.mjs +34 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/browser/injected/index.mjs +1938 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/cli/main.mjs +322 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/design-system.mjs +815 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/detect-antipatterns-browser.js +5246 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/detect-antipatterns.mjs +51 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/browser/detect-url.mjs +260 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/browser/drivers.mjs +259 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/regex/detect-text.mjs +574 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/static-html/css-cascade.mjs +1016 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/static-html/detect-html.mjs +235 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/engines/visual/screenshot-contrast.mjs +199 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/findings.mjs +13 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/node/file-system.mjs +199 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/profile/profiler.mjs +167 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/registry/antipatterns.mjs +515 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/rules/checks.mjs +2704 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/color.mjs +125 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/constants.mjs +102 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/fonts.mjs +31 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/inline-ignores.mjs +149 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/detector/shared/page.mjs +8 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-admin.mjs +662 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-before-edit.mjs +517 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook-lib.mjs +1777 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/hook.mjs +62 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/design-parser.mjs +843 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/is-generated.mjs +70 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/monodesign-config.mjs +641 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/monodesign-paths.mjs +130 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/provider.mjs +5 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/lib/target-args.mjs +43 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/browser-script-parts.mjs +51 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/completion.mjs +20 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/event-validation.mjs +138 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/insert-ui.mjs +459 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-apply.mjs +940 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-edit-routes.mjs +358 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/manual-edits-buffer.mjs +153 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/session-store.mjs +290 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/svelte-component.mjs +827 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/sveltekit-adapter.mjs +275 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/ui-core.mjs +181 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live/vocabulary.mjs +37 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-accept.mjs +813 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser-dom.js +147 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser-session.js +124 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-browser.js +11241 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-commit-manual-edits.mjs +1242 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-complete.mjs +76 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-copy-edit-agent.mjs +684 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-discard-manual-edits.mjs +52 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-inject.mjs +584 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-insert.mjs +273 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-manual-edit-evidence.mjs +364 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-poll.mjs +385 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-resume.mjs +95 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-server.mjs +1138 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-status.mjs +62 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-target.mjs +31 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live-wrap.mjs +895 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/live.mjs +298 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/modern-screenshot.umd.js +15 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/palette.mjs +634 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/scripts/pin.mjs +222 -0
- package/packages/@monomind/cli/.claude/skills/monodesign/teach.md +7 -58
- package/packages/@monomind/cli/dist/src/commands/design-detect.d.ts +7 -1
- package/packages/@monomind/cli/dist/src/commands/design-detect.js +70 -38
- package/packages/@monomind/cli/dist/src/commands/design-palette.d.ts +1 -1
- package/packages/@monomind/cli/dist/src/commands/design-palette.js +3 -3
- package/packages/@monomind/cli/dist/src/commands/doc.js +72 -15
- package/packages/@monomind/cli/dist/src/commands/doctor-project-checks.d.ts +4 -0
- package/packages/@monomind/cli/dist/src/commands/doctor-project-checks.js +23 -0
- package/packages/@monomind/cli/dist/src/commands/doctor.js +3 -3
- package/packages/@monomind/cli/dist/src/commands/org.js +109 -9
- package/packages/@monomind/cli/dist/src/init/executor.js +14 -3
- package/packages/@monomind/cli/dist/src/knowledge/document-pipeline.d.ts +2 -0
- package/packages/@monomind/cli/dist/src/knowledge/document-pipeline.js +1 -0
- package/packages/@monomind/cli/dist/src/mcp-tools/knowledge-tools.js +38 -7
- package/packages/@monomind/cli/dist/src/mcp-tools/memory-tools.d.ts +8 -3
- package/packages/@monomind/cli/dist/src/mcp-tools/memory-tools.js +193 -31
- package/packages/@monomind/cli/dist/src/memory/memory-bridge.d.ts +33 -0
- package/packages/@monomind/cli/dist/src/memory/memory-bridge.js +166 -17
- package/packages/@monomind/cli/dist/src/memory/memory-kg.d.ts +185 -0
- package/packages/@monomind/cli/dist/src/memory/memory-kg.js +449 -0
- package/packages/@monomind/cli/dist/src/memory/query-router.d.ts +44 -0
- package/packages/@monomind/cli/dist/src/memory/query-router.js +113 -0
- package/packages/@monomind/cli/dist/src/orgrt/daemon.d.ts +18 -0
- package/packages/@monomind/cli/dist/src/orgrt/daemon.js +249 -12
- package/packages/@monomind/cli/dist/src/orgrt/migrate.js +7 -0
- package/packages/@monomind/cli/dist/src/orgrt/policy.js +7 -0
- package/packages/@monomind/cli/dist/src/orgrt/session.d.ts +24 -1
- package/packages/@monomind/cli/dist/src/orgrt/session.js +18 -3
- package/packages/@monomind/cli/dist/src/orgrt/templates.d.ts +1 -0
- package/packages/@monomind/cli/dist/src/orgrt/templates.js +9 -4
- package/packages/@monomind/cli/dist/src/orgrt/types.d.ts +15 -0
- package/packages/@monomind/cli/dist/src/orgrt/types.js +2 -0
- package/packages/@monomind/cli/dist/src/ui/dashboard.html +154 -6
- package/packages/@monomind/cli/dist/src/ui/orgs.html +24 -0
- package/packages/@monomind/cli/dist/src/ui/server.mjs +162 -12
- package/packages/@monomind/cli/package.json +5 -3
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_agent-select.md → mastermind-agent-select/SKILL.md} +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/finish.md → mastermind-finish/SKILL.md} +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/_intake.md → mastermind-intake/SKILL.md} +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-marketing}/references/copywriting-frameworks.md +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-marketing}/references/persuasion-psychology.md +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/monotask.md → mastermind-monotask/SKILL.md} +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/receive-review.md → mastermind-receive-review/SKILL.md} +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/runorg.md → mastermind-runorg/SKILL.md} +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/code-quality-reviewer-prompt.md +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/final-reviewer-prompt.md +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills → mastermind-taskdev}/spec-reviewer-prompt.md +0 -0
- /package/packages/@monomind/cli/.claude/skills/{mastermind-skills/worktree.md → mastermind-worktree/SKILL.md} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monomind",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.2",
|
|
4
4
|
"description": "Open-source CLI extension for Claude Code. Adds an MCP server with a codebase knowledge graph, persistent memory, multi-agent coordination, and reusable slash commands. MIT licensed, runs locally, no data leaves your machine.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"!packages/@monomind/cli/.claude/**/*.db",
|
|
40
40
|
"!packages/@monomind/cli/.claude/**/.monomind/**",
|
|
41
41
|
"!packages/@monomind/cli/.claude/**/*.lock",
|
|
42
|
+
"!packages/@monomind/cli/.claude/**/._*",
|
|
42
43
|
"!packages/@monomind/cli/.claude/agents/generated/**",
|
|
43
44
|
"!packages/@monomind/cli/.claude/agents/reengineer-squad/**",
|
|
44
45
|
"README.md",
|
|
@@ -71,7 +71,7 @@ Craft photography prompts for AI image generation that produce editorial-quality
|
|
|
71
71
|
Strategic personality injection — micro-interactions, Easter eggs, brand character, memorable moments. Delight that enhances rather than distracts. See `reference/delight.md`.
|
|
72
72
|
|
|
73
73
|
### Design Critique
|
|
74
|
-
|
|
74
|
+
46 deterministic detector rules covering slop tells (AI signatures) and quality issues (contrast, motion, readability, semantics). Run `monomind design detect` on any HTML/CSS target — the engine is bundled, no external install needed. Design-check hooks can auto-run the detector after UI file edits.
|
|
75
75
|
|
|
76
76
|
## Core Principles
|
|
77
77
|
|
|
@@ -92,20 +92,20 @@ For any design task, the sequence is:
|
|
|
92
92
|
|
|
93
93
|
1. **Load context** — Read PRODUCT.md and DESIGN.md from the project root
|
|
94
94
|
2. **Identify register** — brand or product?
|
|
95
|
-
3. **Load relevant references** — from the monodesign skill's
|
|
95
|
+
3. **Load relevant references** — from the monodesign skill's 50+ reference files
|
|
96
96
|
4. **Design → implement → inspect** — in that order, no exceptions
|
|
97
|
-
5. **Run antipattern check** — `
|
|
97
|
+
5. **Run antipattern check** — `monomind design detect` before presenting results
|
|
98
98
|
6. **Verify states** — all interactive states and responsive breakpoints
|
|
99
99
|
|
|
100
|
-
## Reference Library (
|
|
100
|
+
## Reference Library (50+ files)
|
|
101
101
|
|
|
102
102
|
The monodesign skill at `.claude/skills/monodesign/` contains the authoritative reference library:
|
|
103
103
|
|
|
104
104
|
**Core domains**: typography, color-and-contrast, spatial-design, motion-design, interaction-design, responsive-design, ux-writing
|
|
105
105
|
|
|
106
|
-
**Commands**: craft, shape, teach, document, extract, critique, audit, polish, bolder, quieter, distill, harden, onboard, animate, colorize, typeset, layout, delight, overdrive, clarify, adapt, optimize, live
|
|
106
|
+
**Commands**: craft, shape, init (alias: teach), document, extract, critique, audit, polish, bolder, quieter, distill, harden, onboard, animate, colorize, typeset, layout, delight, overdrive, clarify, adapt, optimize, live (interactive in-browser variant iteration) — plus native variants (audit.native, adapt.native) and platform guides (ios, android)
|
|
107
107
|
|
|
108
|
-
**New additions**: component-system, ux-research, image-prompts
|
|
108
|
+
**New additions**: component-system, ux-research, image-prompts, antipatterns-catalog, token-architecture, component-specs, component-states, brand-workflow, copy-formulas, ux-rules, pre-delivery-checklist
|
|
109
109
|
|
|
110
110
|
**Context**: brand, product, personas, cognitive-load, heuristics-scoring
|
|
111
111
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Shared inter-session repeat protocol. Referenced by mastermind and monomind commands via "Follow the Repeat Preamble/Postamble from
|
|
1
|
+
<!-- Shared inter-session repeat protocol. Referenced by mastermind and monomind commands via "Follow the Repeat Preamble/Postamble from mastermind-repeat/SKILL.md". -->
|
|
2
2
|
|
|
3
3
|
## Shared Repeat Protocol
|
|
4
4
|
|
|
@@ -152,7 +152,7 @@ If neither condition is true, skip to Section 4.
|
|
|
152
152
|
"lastRunAt": ${NOW_MS},
|
|
153
153
|
"nextRunAt": ${NOW_MS},
|
|
154
154
|
"status": "running",
|
|
155
|
-
"source": "
|
|
155
|
+
"source": "mastermind-repeat/SKILL.md"
|
|
156
156
|
}
|
|
157
157
|
EOF
|
|
158
158
|
```
|
|
@@ -174,7 +174,7 @@ If neither condition is true, skip to Section 4.
|
|
|
174
174
|
"lastRunAt": ${NOW_MS},
|
|
175
175
|
"nextRunAt": ${NOW_MS},
|
|
176
176
|
"status": "running",
|
|
177
|
-
"source": "
|
|
177
|
+
"source": "mastermind-repeat/SKILL.md"
|
|
178
178
|
}
|
|
179
179
|
EOF
|
|
180
180
|
```
|
|
@@ -443,7 +443,7 @@ cat > ".monomind/loops/${LOOP_ID}.json" << EOF
|
|
|
443
443
|
"lastRunAt": ${NOW_MS},
|
|
444
444
|
"nextRunAt": ${NEXT_AT},
|
|
445
445
|
"status": "running",
|
|
446
|
-
"source": "
|
|
446
|
+
"source": "mastermind-repeat/SKILL.md"
|
|
447
447
|
}
|
|
448
448
|
EOF
|
|
449
449
|
```
|
|
@@ -57,7 +57,7 @@ Validate the org file exists:
|
|
|
57
57
|
[ -f ".monomind/orgs/${org_name}.json" ] || { echo "Org '${org_name}' not found."; exit 1; }
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
Load brain context for the `ops` domain (follow
|
|
60
|
+
Load brain context for the `ops` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure, namespace: `ops`).
|
|
61
61
|
|
|
62
62
|
Generate a session ID:
|
|
63
63
|
```bash
|
|
@@ -77,7 +77,7 @@ curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "
|
|
|
77
77
|
'{type:"session:start",session:$session,domain:"ops",prompt:("Approve requests for org: "+$org),mode:"confirm",project:$proj,ts:(now*1000|floor)}')" || true
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
Invoke `Skill("mastermind-
|
|
80
|
+
Invoke `Skill("mastermind-approvev1")` passing: brain_context, org_name, action, approval_id, reason, caller: "command".
|
|
81
81
|
|
|
82
82
|
After skill returns: note the status. Emit `session:complete`:
|
|
83
83
|
```bash
|
|
@@ -89,6 +89,6 @@ curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "
|
|
|
89
89
|
'{type:"session:complete",session:$session,domain:"ops",status:$status,domains:["ops"],ts:(now*1000|floor)}')" || true
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
Follow
|
|
92
|
+
Follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
|
|
93
93
|
|
|
94
|
-
Invoke `Skill("mastermind-
|
|
94
|
+
Invoke `Skill("mastermind-repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Mastermind architect domain — architecture review, file structure deduplication, coupling analysis, design pattern audit, DDD mapping, and system design. Default mode: confirm. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for:
|
|
6
6
|
- `--auto` flag → mode = auto
|
|
@@ -13,9 +13,9 @@ Parse `$ARGUMENTS` for:
|
|
|
13
13
|
|
|
14
14
|
If prompt is empty: ask "What would you like the architect to do? (e.g. 'review the codebase structure', 'deduplicate files', 'design the API layer', 'map bounded contexts')"
|
|
15
15
|
|
|
16
|
-
Load brain context for the `architect` domain (follow
|
|
16
|
+
Load brain context for the `architect` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure).
|
|
17
17
|
|
|
18
|
-
Run intake if prompt is vague (follow
|
|
18
|
+
Run intake if prompt is vague (follow mastermind-intake/SKILL.md — stop at Q3, domain is already known as `architect`).
|
|
19
19
|
|
|
20
20
|
Default mode for this command: **confirm** (show architecture plan before executing, unless `--auto` flag present).
|
|
21
21
|
|
|
@@ -40,13 +40,13 @@ curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "
|
|
|
40
40
|
-d '{"type":"domain:dispatch","session":"<sessionId>","domain":"architect","ts":'"$(date +%s)"'000}' || true
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
Invoke `Skill("mastermind-
|
|
43
|
+
Invoke `Skill("mastermind-architect")` passing: brain_context, prompt, project_name, board_id (create board named "architect" inside the project_name monotask space if not already present), mode, scope, stack, sessionId, iterate, caller: "command".
|
|
44
44
|
|
|
45
|
-
After skill returns: note the status from the skill's output (`complete`, `partial`, or `blocked`). Emit `session:complete` using that status, then follow
|
|
45
|
+
After skill returns: note the status from the skill's output (`complete`, `partial`, or `blocked`). Emit `session:complete` using that status, then follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `architect`. Before executing the curl below, substitute the generated sessionId for `<sessionId>` and the skill's actual status for `<status>`:
|
|
46
46
|
```bash
|
|
47
47
|
curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "${REPO_ROOT:-$(git rev-parse --show-toplevel 2>/dev/null || pwd)}/.monomind/dashboard-token" 2>/dev/null || true)" \
|
|
48
48
|
-H "Content-Type: application/json" \
|
|
49
49
|
-d '{"type":"session:complete","session":"<sessionId>","domain":"architect","status":"<status>","domains":["architect"],"ts":'"$(date +%s)"'000}' || true
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
**MANDATORY — invoke `Skill("mastermind-
|
|
52
|
+
**MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Pre-PREAMBLE compatibility check:** Before following the REPEAT PREAMBLE, scan `$ARGUMENTS` for both `--newfeature` and `--tillend` present simultaneously. If both are found, emit `[autodev] Warning: --tillend is not supported with --newfeature and will be ignored.` and remove `--tillend` from `$ARGUMENTS` now — before the PREAMBLE processes it — so the PREAMBLE never creates a tillend loop state file.
|
|
4
4
|
|
|
5
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
5
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
|
|
6
6
|
|
|
7
7
|
Parse `$ARGUMENTS` for:
|
|
8
8
|
- **Leading integer** (first token is a bare number, e.g. `9`) → `count = 9` (how many improvements to build)
|
|
@@ -17,12 +17,12 @@ If no count is set, default `count = 1`.
|
|
|
17
17
|
If `--newfeature` is present without a valid N, default `newfeature_count = 3`.
|
|
18
18
|
If `newfeature_count > 10`: warn the user and set `newfeature_count = 10`.
|
|
19
19
|
|
|
20
|
-
Load brain context for the `autodev` domain (follow
|
|
20
|
+
Load brain context for the `autodev` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure).
|
|
21
21
|
|
|
22
22
|
Default mode for this command: **auto** (unless `--confirm` flag present).
|
|
23
23
|
|
|
24
|
-
Invoke `Skill("mastermind-
|
|
24
|
+
Invoke `Skill("mastermind-autodev")` passing: brain_context, count, newfeature_count, focus, mode, board_id (create if needed).
|
|
25
25
|
|
|
26
|
-
After skill returns: follow
|
|
26
|
+
After skill returns: follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `autodev`.
|
|
27
27
|
|
|
28
|
-
**MANDATORY — invoke `Skill("mastermind-
|
|
28
|
+
**MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Mastermind brain management — inspect, compact, refresh, and control the three-tier business memory (LanceDB + Monograph) -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` to determine the sub-command and flags.
|
|
6
6
|
|
|
@@ -96,4 +96,4 @@ If `--confirm` is present:
|
|
|
96
96
|
If `--confirm` is missing:
|
|
97
97
|
> "This will permanently delete all brain memory for domain '<name>'. To confirm, run: `/mastermind:brain reset --domain <name> --confirm`"
|
|
98
98
|
|
|
99
|
-
Invoke `Skill("mastermind-
|
|
99
|
+
Invoke `Skill("mastermind-repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Mastermind build domain — ship features, fix bugs, refactor code. Spawns a Development Manager who creates monotask tasks and coordinates specialized dev agents. Default mode: auto. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for:
|
|
6
6
|
- `--auto` flag → mode = auto
|
|
@@ -10,14 +10,14 @@ Parse `$ARGUMENTS` for:
|
|
|
10
10
|
|
|
11
11
|
If prompt is empty: ask "What would you like to build or fix?"
|
|
12
12
|
|
|
13
|
-
Load brain context for the `build` domain (follow
|
|
13
|
+
Load brain context for the `build` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure).
|
|
14
14
|
|
|
15
|
-
Run intake if prompt is vague (follow
|
|
15
|
+
Run intake if prompt is vague (follow mastermind-intake/SKILL.md — stop at Q3, domain is already known as `build`).
|
|
16
16
|
|
|
17
17
|
Default mode for this command: **auto** (unless `--confirm` flag present or intake Q4 says confirm).
|
|
18
18
|
|
|
19
|
-
Invoke `Skill("mastermind-
|
|
19
|
+
Invoke `Skill("mastermind-build")` passing: brain_context, prompt, project_name, board_id (create if needed), mode.
|
|
20
20
|
|
|
21
|
-
After skill returns: follow
|
|
21
|
+
After skill returns: follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `build`.
|
|
22
22
|
|
|
23
|
-
**MANDATORY — invoke `Skill("mastermind-
|
|
23
|
+
**MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- "Monomind — Multi-agent iterative review loop: runs Code Reviewer, Security Engineer, and domain specialists in parallel, auto-fixes findings each iteration, and captures human-in-loop items to a dated file." -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-arguments check below.
|
|
4
4
|
|
|
5
5
|
Parse remaining `$ARGUMENTS` as `TOTAL_ITERATIONS` (integer, min 1, max 10).
|
|
6
6
|
|
|
@@ -311,4 +311,4 @@ If `ALL_HIL` is empty, omit the HIL section and congratulate:
|
|
|
311
311
|
|
|
312
312
|
To repeat this command on a schedule, wrap it with `/mastermind:repeat` or use `--repeat N` / `--tillend` directly.
|
|
313
313
|
|
|
314
|
-
**MANDATORY — invoke `Skill("mastermind-
|
|
314
|
+
**MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Mastermind content domain — blog posts, threads, docs, newsletters. Default mode: confirm. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for:
|
|
6
6
|
- `--auto` flag → mode = auto
|
|
@@ -10,14 +10,14 @@ Parse `$ARGUMENTS` for:
|
|
|
10
10
|
|
|
11
11
|
If prompt is empty: ask "What content would you like created?"
|
|
12
12
|
|
|
13
|
-
Load brain context for the `content` domain (follow
|
|
13
|
+
Load brain context for the `content` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure).
|
|
14
14
|
|
|
15
|
-
Run intake if prompt is vague (follow
|
|
15
|
+
Run intake if prompt is vague (follow mastermind-intake/SKILL.md — stop at Q3, domain is already known as `content`).
|
|
16
16
|
|
|
17
17
|
Default mode for this command: **confirm** (unless `--auto` flag present or intake Q4 says auto).
|
|
18
18
|
|
|
19
|
-
Invoke `Skill("mastermind-
|
|
19
|
+
Invoke `Skill("mastermind-content")` passing: brain_context, prompt, project_name, board_id (create if needed), mode.
|
|
20
20
|
|
|
21
|
-
After skill returns: follow
|
|
21
|
+
After skill returns: follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `content`.
|
|
22
22
|
|
|
23
|
-
Invoke `Skill("mastermind-
|
|
23
|
+
Invoke `Skill("mastermind-repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -95,7 +95,7 @@ If neither `--auto` nor `--confirm` was provided, default: **mode = confirm**.
|
|
|
95
95
|
|
|
96
96
|
If prompt is empty (and not list/delete mode): ask "Describe your org's goal and optionally list the roles you want (e.g. 'a content team with a boss, writer, reviewer, and marketer to produce 10 blog posts per month')."
|
|
97
97
|
|
|
98
|
-
Load brain context for the `ops` domain (follow
|
|
98
|
+
Load brain context for the `ops` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure, namespace: `ops`).
|
|
99
99
|
|
|
100
100
|
Generate a session ID as a real shell variable:
|
|
101
101
|
```bash
|
|
@@ -125,7 +125,7 @@ curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "
|
|
|
125
125
|
'{type:"domain:dispatch",session:$session,domain:"ops",cmd:"Designing and saving org definition",ts:(now*1000|floor)}')" || true
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
-
Invoke `Skill("mastermind-
|
|
128
|
+
Invoke `Skill("mastermind-createorg")` passing: brain_context, prompt, org_name, roles_desc, schedule, mode, session_id: `$session_id`, caller: "command".
|
|
129
129
|
|
|
130
130
|
After skill returns: note the status (`complete`, `partial`, or `blocked`). Emit `session:complete`:
|
|
131
131
|
```bash
|
|
@@ -137,7 +137,7 @@ curl -s -X POST "${CTRL_URL}/api/mastermind/event" -H "x-monomind-token: $(cat "
|
|
|
137
137
|
'{type:"session:complete",session:$session,domain:"ops",status:$status,domains:["ops"],ts:(now*1000|floor)}')" || true
|
|
138
138
|
```
|
|
139
139
|
|
|
140
|
-
Follow
|
|
140
|
+
Follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `ops`.
|
|
141
141
|
|
|
142
142
|
|
|
143
|
-
Invoke `Skill("mastermind-
|
|
143
|
+
Invoke `Skill("mastermind-repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -55,7 +55,7 @@ Bundle everything into `FULL_CONTEXT`.
|
|
|
55
55
|
|
|
56
56
|
**File mode (default, `USE_MONOTASK=false`):**
|
|
57
57
|
|
|
58
|
-
Compute the output path (follow slug rules from `
|
|
58
|
+
Compute the output path (follow slug rules from `mastermind-taskfile/SKILL.md`):
|
|
59
59
|
```bash
|
|
60
60
|
DATE=$(date +%Y-%m-%d)
|
|
61
61
|
SLUG=$(echo "$INPUT_LABEL" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9]/-/g; s/-\+/-/g; s/^-//; s/-$//' | cut -c1-40)
|
|
@@ -161,7 +161,7 @@ Store as `TASKS` array.
|
|
|
161
161
|
|
|
162
162
|
**File mode (default, `USE_MONOTASK=false`):**
|
|
163
163
|
|
|
164
|
-
Write the file using the Write tool. Follow the task section format from `
|
|
164
|
+
Write the file using the Write tool. Follow the task section format from `mastermind-taskfile/SKILL.md` exactly. The file structure:
|
|
165
165
|
|
|
166
166
|
1. **Write frontmatter + header** (once):
|
|
167
167
|
```markdown
|
|
@@ -180,7 +180,7 @@ recommended_mode: <parallel|minimal|sequential>
|
|
|
180
180
|
---
|
|
181
181
|
```
|
|
182
182
|
|
|
183
|
-
2. **Append one section per task** (initial status = `todo` if no prerequisites, `backlog` if has prerequisites), following the task section format from `
|
|
183
|
+
2. **Append one section per task** (initial status = `todo` if no prerequisites, `backlog` if has prerequisites), following the task section format from `mastermind-taskfile/SKILL.md`:
|
|
184
184
|
```markdown
|
|
185
185
|
## Task N: <title>
|
|
186
186
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- Systematic root-cause debugging — use before ANY fix attempt for bugs, test failures, unexpected behavior, build failures, or performance regressions. Enforces Phase 1 root-cause investigation before proposing fixes. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text = problem description.
|
|
6
6
|
|
|
7
|
-
Load brain context for the `debug` domain (follow `
|
|
7
|
+
Load brain context for the `debug` domain (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
|
|
8
8
|
|
|
9
9
|
If problem description is empty: ask "What issue are you debugging?"
|
|
10
10
|
|
|
@@ -12,8 +12,8 @@ Default mode: **auto** (proceed immediately; the skill gates on root-cause inves
|
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
Invoke `Skill("mastermind-
|
|
15
|
+
Invoke `Skill("mastermind-debug")` passing: brain_context, problem_description, mode.
|
|
16
16
|
|
|
17
|
-
After skill returns: follow `
|
|
17
|
+
After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure for domain `debug`.
|
|
18
18
|
|
|
19
|
-
**MANDATORY — invoke `Skill("mastermind-
|
|
19
|
+
**MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
<!-- Collaborative design session — explore intent, clarify requirements, propose approaches, and produce an approved spec before any implementation begins. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text.
|
|
6
6
|
|
|
7
|
-
Load brain context (follow `
|
|
7
|
+
Load brain context (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
|
|
8
8
|
|
|
9
9
|
Default mode: **confirm**.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
Invoke `Skill("mastermind-
|
|
13
|
+
Invoke `Skill("mastermind-design")` passing: brain_context, params, mode.
|
|
14
14
|
|
|
15
|
-
After skill returns: follow `
|
|
15
|
+
After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure.
|
|
16
16
|
|
|
17
|
-
Invoke `Skill("mastermind-
|
|
17
|
+
Invoke `Skill("mastermind-repeat")` now. Required — do not skip.
|
|
@@ -67,7 +67,7 @@ Otherwise:
|
|
|
67
67
|
|
|
68
68
|
### 2a: Load all pending tasks
|
|
69
69
|
|
|
70
|
-
**File mode:** Read `TASK_FILE`. Find all `## Task N: <title>` sections with `> status: todo` or `> status: backlog`. Follow the parsing spec in `
|
|
70
|
+
**File mode:** Read `TASK_FILE`. Find all `## Task N: <title>` sections with `> status: todo` or `> status: backlog`. Follow the parsing spec in `mastermind-taskfile/SKILL.md`. If `--filter` was set, keep only tasks whose title contains the filter text (case-insensitive).
|
|
71
71
|
|
|
72
72
|
**Monotask mode:**
|
|
73
73
|
```bash
|
|
@@ -437,7 +437,7 @@ Proceed to Step 9.
|
|
|
437
437
|
1. Change `> status: review` → `> status: done` in that task's section
|
|
438
438
|
2. Replace all `- [ ]` with `- [x]` in that task's Checklist section
|
|
439
439
|
3. If DONE_WITH_CONCERNS: append `> concerns: <concerns>` after the status line
|
|
440
|
-
4. **Unblock dependents**: Follow the "Prerequisite Unblock Logic" from `
|
|
440
|
+
4. **Unblock dependents**: Follow the "Prerequisite Unblock Logic" from `mastermind-taskfile/SKILL.md` — find tasks whose prerequisites are now all `done` and change their status from `backlog` to `todo`.
|
|
441
441
|
|
|
442
442
|
*Monotask mode:*
|
|
443
443
|
```bash
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
<!-- Execute a written implementation plan step by step with review checkpoints and finishing handoff. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text (treated as plan path or goal).
|
|
6
6
|
|
|
7
|
-
Load brain context (follow `
|
|
7
|
+
Load brain context (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
|
|
8
8
|
|
|
9
9
|
Default mode: **auto**.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
Invoke `Skill("mastermind-
|
|
13
|
+
Invoke `Skill("mastermind-execute")` passing: brain_context, params, mode.
|
|
14
14
|
|
|
15
|
-
After skill returns: follow `
|
|
15
|
+
After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure.
|
|
16
16
|
|
|
17
|
-
Invoke `Skill("mastermind-
|
|
17
|
+
Invoke `Skill("mastermind-repeat")` now. Required — do not skip.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Mastermind finance domain — invoicing, budget tracking, financial forecasting. Default mode: confirm. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for:
|
|
6
6
|
- `--auto` flag → mode = auto
|
|
@@ -10,14 +10,14 @@ Parse `$ARGUMENTS` for:
|
|
|
10
10
|
|
|
11
11
|
If prompt is empty: ask "What financial task would you like to handle?"
|
|
12
12
|
|
|
13
|
-
Load brain context for the `finance` domain (follow
|
|
13
|
+
Load brain context for the `finance` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure).
|
|
14
14
|
|
|
15
|
-
Run intake if prompt is vague (follow
|
|
15
|
+
Run intake if prompt is vague (follow mastermind-intake/SKILL.md — stop at Q3, domain is already known as `finance`).
|
|
16
16
|
|
|
17
17
|
Default mode for this command: **confirm** (unless `--auto` flag present or intake Q4 says auto).
|
|
18
18
|
|
|
19
|
-
Invoke `Skill("mastermind-
|
|
19
|
+
Invoke `Skill("mastermind-finance")` passing: brain_context, prompt, project_name, board_id (create if needed), mode.
|
|
20
20
|
|
|
21
|
-
After skill returns: follow
|
|
21
|
+
After skill returns: follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `finance`.
|
|
22
22
|
|
|
23
|
-
Invoke `Skill("mastermind-
|
|
23
|
+
Invoke `Skill("mastermind-repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
<!-- Use when implementation is complete and you need to decide how to integrate the work — merge locally, create a PR, keep the branch, or discard -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for `--auto`, `--confirm`, `--project <name>`, and remaining text.
|
|
6
6
|
|
|
7
|
-
Load brain context (follow `
|
|
7
|
+
Load brain context (follow `mastermind-protocol/SKILL.md` Brain Load Procedure).
|
|
8
8
|
|
|
9
9
|
Default mode: **confirm**.
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
Invoke `Skill("mastermind-
|
|
13
|
+
Invoke `Skill("mastermind-finish")` passing: brain_context, params, mode.
|
|
14
14
|
|
|
15
|
-
After skill returns: follow `
|
|
15
|
+
After skill returns: follow `mastermind-protocol/SKILL.md` Brain Write Procedure.
|
|
16
16
|
|
|
17
|
-
Invoke `Skill("mastermind-
|
|
17
|
+
Invoke `Skill("mastermind-repeat")` now. Required — do not skip.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Mastermind idea domain — brainstorm products, features, pivots. Default mode: confirm. -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-prompt check and intake below.
|
|
4
4
|
|
|
5
5
|
Parse `$ARGUMENTS` for:
|
|
6
6
|
- `--auto` flag → mode = auto
|
|
@@ -10,14 +10,14 @@ Parse `$ARGUMENTS` for:
|
|
|
10
10
|
|
|
11
11
|
If prompt is empty: ask "What would you like to brainstorm or ideate on?"
|
|
12
12
|
|
|
13
|
-
Load brain context for the `idea` domain (follow
|
|
13
|
+
Load brain context for the `idea` domain (follow mastermind-protocol/SKILL.md Brain Load Procedure).
|
|
14
14
|
|
|
15
|
-
Run intake if prompt is vague (follow
|
|
15
|
+
Run intake if prompt is vague (follow mastermind-intake/SKILL.md — stop at Q3, domain is already known as `idea`).
|
|
16
16
|
|
|
17
17
|
Default mode for this command: **confirm** (unless `--auto` flag present or intake Q4 says auto).
|
|
18
18
|
|
|
19
|
-
Invoke `Skill("mastermind-
|
|
19
|
+
Invoke `Skill("mastermind-idea")` passing: brain_context, prompt, project_name, board_id (create if needed), mode.
|
|
20
20
|
|
|
21
|
-
After skill returns: follow
|
|
21
|
+
After skill returns: follow mastermind-protocol/SKILL.md Brain Write Procedure for domain `idea`.
|
|
22
22
|
|
|
23
|
-
**MANDATORY — invoke `Skill("mastermind-
|
|
23
|
+
**MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- "Mastermind — Research ideas from a prompt, evaluate them with a PM lens, elaborate, and decompose into subtasks saved to docs/ideas/ (default) or monotask boards (--monotask flag)" -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-arguments check below.
|
|
4
4
|
|
|
5
5
|
If `$ARGUMENTS` is empty, output this and STOP:
|
|
6
6
|
|
|
@@ -103,7 +103,7 @@ After all agents complete:
|
|
|
103
103
|
2. Deduplicate by title similarity (fuzzy match — drop ideas whose titles are >80% similar to an already-kept idea).
|
|
104
104
|
3. Persist each unique idea:
|
|
105
105
|
|
|
106
|
-
**File mode:** Append to `IDEA_FILE` using the idea section format from `
|
|
106
|
+
**File mode:** Append to `IDEA_FILE` using the idea section format from `mastermind-taskfile/SKILL.md`:
|
|
107
107
|
```markdown
|
|
108
108
|
### <Idea Title>
|
|
109
109
|
> status: new
|
|
@@ -245,14 +245,14 @@ If there are todo tasks:
|
|
|
245
245
|
|
|
246
246
|
*File mode:*
|
|
247
247
|
```
|
|
248
|
-
Skill("mastermind-
|
|
248
|
+
Skill("mastermind-do", "--file <TASK_FILE> --mode <parallel|minimal|sequential>")
|
|
249
249
|
```
|
|
250
250
|
|
|
251
251
|
*Monotask mode:*
|
|
252
252
|
```
|
|
253
|
-
Skill("mastermind-
|
|
253
|
+
Skill("mastermind-do", "--monotask --space $SPACE_ID --board $TASK_BOARD_ID --mode <parallel|minimal|sequential>")
|
|
254
254
|
```
|
|
255
255
|
|
|
256
256
|
To repeat this command on a schedule, wrap it with `/mastermind:repeat` or use `--repeat N` / `--tillend` directly.
|
|
257
257
|
|
|
258
|
-
Invoke `Skill("mastermind-
|
|
258
|
+
Invoke `Skill("mastermind-repeat")` now to execute the REPEAT POSTAMBLE. This is a required tool call — do not skip it.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- "Mastermind — Deeply analyze a component, research improvements online, and create improvement tasks saved to docs/improvements/ (default) or monotask boards (--monotask flag)" -->
|
|
2
2
|
|
|
3
|
-
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `
|
|
3
|
+
**First — extract repeat flags:** Follow the REPEAT PREAMBLE from `mastermind-repeat/SKILL.md`. Extracts `--repeat`, `--tillend`, `--maxruns`, `--wait`, `--rep`, `--loop` from `$ARGUMENTS` before all other parsing. If `is_continuation = true`, skip the empty-arguments check below.
|
|
4
4
|
|
|
5
5
|
If `$ARGUMENTS` is empty, output this and STOP:
|
|
6
6
|
|
|
@@ -47,7 +47,7 @@ Collect ALL of the following in parallel (skip any that error):
|
|
|
47
47
|
|
|
48
48
|
Bundle all gathered information into a single `PROJECT_CONTEXT` string for downstream agents.
|
|
49
49
|
|
|
50
|
-
**DELEGATION RULE:** Every agent spawned in this command MUST include the `== AGENT DELEGATION CAPABILITY ==` block (from `mastermind/
|
|
50
|
+
**DELEGATION RULE:** Every agent spawned in this command MUST include the `== AGENT DELEGATION CAPABILITY ==` block (from `mastermind/mastermind-delegation/SKILL.md`) in its prompt, immediately before `YOUR GOAL:`. This lets each agent spawn its own sub-agents when needed — delegation is recursive.
|
|
51
51
|
|
|
52
52
|
---
|
|
53
53
|
|
|
@@ -175,7 +175,7 @@ The agent must synthesize the code analysis and online research into concrete im
|
|
|
175
175
|
|
|
176
176
|
Persist each improvement:
|
|
177
177
|
|
|
178
|
-
**File mode:** Append to `IMPROVE_FILE` using the improvement section format from `
|
|
178
|
+
**File mode:** Append to `IMPROVE_FILE` using the improvement section format from `mastermind-taskfile/SKILL.md`:
|
|
179
179
|
```markdown
|
|
180
180
|
### <Improvement Title>
|
|
181
181
|
> status: discovered
|
|
@@ -329,14 +329,14 @@ If there are todo tasks:
|
|
|
329
329
|
|
|
330
330
|
*File mode:*
|
|
331
331
|
```
|
|
332
|
-
Skill("mastermind-
|
|
332
|
+
Skill("mastermind-do", "--file <TASK_FILE> --mode <parallel|minimal|sequential>")
|
|
333
333
|
```
|
|
334
334
|
|
|
335
335
|
*Monotask mode:*
|
|
336
336
|
```
|
|
337
|
-
Skill("mastermind-
|
|
337
|
+
Skill("mastermind-do", "--monotask --space $SPACE_ID --board $TASK_BOARD_ID --mode <parallel|minimal|sequential>")
|
|
338
338
|
```
|
|
339
339
|
|
|
340
340
|
To repeat this command on a schedule, wrap it with `/mastermind:repeat` or use `--repeat N` / `--tillend` directly.
|
|
341
341
|
|
|
342
|
-
**MANDATORY — invoke `Skill("mastermind-
|
|
342
|
+
**MANDATORY — invoke `Skill("mastermind-repeat")` now.** This is required regardless of how the skill above completed, regardless of whether you think the work is done, regardless of whether you plan to end your response. For `--repeat N`: the count is non-negotiable — all N runs must happen. For `--tillend`: only a verified empty round (confirmed by git diff) stops the loop. Do not end your response without invoking this skill.
|