/marvin:workfrom marvin
Executes a plan from start to ship: reads tasks, implements in dependency order, tests continuously, commits incrementally, runs quality checks, and pushes.
Ships in marvin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Execute a plan and ship it. This is the ONLY skill that writes code. Read tasks, implement in dependency order, test after every change, commit incrementally, quality checks, push.
This skill MAY: read code, write code, edit files, run tests, run linters, commit, push, create PRs.
This skill MAY NOT: skip the plan, skip tests, ship with known failures, commit .env or secrets.
This skill requires a plan. If no plan exists, suggest /deep-thought:plan first. Don't improvise implementation from scratch.
| Shortcut | Why It Fails | The Cost |
|---|---|---|
| "Skip reading the plan — I'll figure it out" | The plan has context, decisions, and dependencies you'll miss | Build the wrong thing → rework |
| "Giant commits — I'll sort it out later" | Hard to review, hard to revert, hide bugs | Technical debt + review burden |
| "Tests at the end — I'm in flow" | Late testing finds problems when fixing them is most expensive | Cascading failures |
| "Ship without quality checks — small change" | Small changes touch auth, data, or boundaries more often than you think | Bug in production from a "safe" change |
Entry: User invoked /work with a plan path or no arguments.
If invoked with a plan path:
If invoked without a path:
docs/plans/ (or project override path) for the most recent active plan (status: approved or status: in_progress in frontmatter)/deep-thought:plan first or describe what to build.Prefer the harness's structured choice UI when available. Otherwise present concise numbered options in plain text.
If anything in the plan is unclear: Ask clarifying questions now — better to ask than build wrong.
If the plan authorizes design-heavy, copy-heavy, or boundary-sensitive work, verify before leaving Phase 0 that the plan already includes:
If those items are missing, stop and return to planning. Do not invent the missing subjective contract during implementation.
When a plan file is provided: default to autonomous mode. Plans are pre-approved decisions — execute without re-litigating them.
Challenge only on clear anti-patterns during execution: skipping tests, unsafe patterns, ignoring documented constraints, scope creep beyond the plan.
Quality checks are never skipped regardless of mode — Phase 3 always runs.
After Phase 5 (Report): If a novel pattern was encountered during work (new approach, unexpected gotcha, reusable technique), suggest /marvin:compound to capture it.
Check docs/solutions/ for the relevant domain before starting implementation — avoid known pitfalls.
Pre-flight grounding: Before starting implementation, invoke /ground as a subagent for the plan's domain. The briefing it returns populates the implementation context with current ecosystem state — recent releases, known footguns, version-aware docs.
Task grounder("Follow /marvin:ground protocol for: <plan title or topic>. Survey the repo at <cwd> and ground externally. Return synthesized briefing.")
confidence: high AND scoped to a single small fix — grounding overhead isn't worth a one-line change.docs/ground/<fingerprint>.md is already fresh (<7d old), /ground returns the cached briefing itself — invoke it anyway; the freshness check lives inside /ground, not here./ground is unavailable or fails, proceed without grounding. It is advisory, never blocking.Exit: Plan loaded, tasks understood, ready to set up environment.
Entry: Plan loaded.
Check current state:
git branch --show-current
git status --short
Follow the project's branching conventions (check CLAUDE.md). Pull latest changes before starting.
If on a feature branch: Continue on it. If on main/default branch: Check CLAUDE.md for branching rules.
Update plan status to in_progress if it was approved.
Exit: Branch ready, latest code pulled.
Entry: Environment set up.
Create visible task tracking from the plan for each major task.
in progress, completed, blocked) and keep the plan checkboxes as the source of truth.For each task in dependency order:
while (unchecked tasks remain):
1. Mark the current task as in progress
2. Read the task and any referenced files
3. Look for similar patterns in the codebase (grep, glob)
4. Implement following existing conventions
5. Run relevant tests
6. If tests pass → mark the task completed
7. Check off the task in the plan ([ ] → [x])
8. Evaluate: commit now or continue?
Commit heuristic: Commit when you've completed a logical unit — a model, a service, a component, a migration. Don't commit partial units. If the commit message would be "WIP", keep working.
When tests fail: Fix immediately. Don't move to the next task with broken tests. If a test failure reveals a plan problem, update the plan.
Follow existing patterns:
Stage specific files — never git add .
If the plan requires a proof slice, do not propagate beyond that slice until its verification passes. If preview review or plan adherence fails, update the plan instead of improvising the missing contract in code.
Exit: All tasks checked off, all tests passing.
Entry: All tasks complete.
Run quality checks before shipping:
Tests:
# Run the project's test suite (check CLAUDE.md for the command)
# All tests must pass
Linting:
# Run the project's linter (check CLAUDE.md for the command)
# Fix any violations
Convention check:
If any check fails: Fix before proceeding. Do not ship with known issues.
Exit: All quality checks pass.
Entry: Quality checks pass.
Pre-ship gate — all must be true:
[x]).env, credentials, or secrets stagedIf any gate fails: Fix it. Don't ship with known issues.
Push and create PR if the project uses branches:
git push origin <branch>
# If using branches:
gh pr create --title "{short title}" --body "{summary + testing notes}"
Update plan status to complete.
Exit: Code pushed.
Entry: Code shipped.
Present the summary:
All tasks complete. Shipped.
Summary:
- [x] Task 1 — what was done
- [x] Task N — what was done
Acceptance criteria: all met / [list any that need verification]
Ask the user what to do next.
/marvin:review on the changes before merging/marvin:compound if this work has patterns worth preservingIf user selects "Generate release notes":
| Audience | Focus |
|---|---|
| Customer | What they can do now that they couldn't before |
| Engineering | What changed, which services, why, test coverage |
| Business | Business value, metrics affected |
Before shipping, verify:
completeWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ondrej-svec/heart-of-gold-toolkit --plugin marvin13 skills in this plugin
/compoundCapture knowledge — solutions, context docs, learnings, and principles. Use after fixing non-trivial bugs, creating context for AI, or discovering patterns worth preserving. Triggers: compound, document solution, capture fix, save solution, knowledge compound, document this, save this fix, context, create context, update context, build context, learn, save learning, remember this.
/copy-editorTwo-layer copy editor. Layer 1 is a deterministic typography audit (regex-level, auto-closeable). Layer 2 is LLM judgment — reject-list hits, nominal-style detection, clarity/ambiguity pass for participant-facing content, voice/register check, and spoken- readability read. Loads repo-local .copy-editor.yaml to compose the baked-in language profile with the repo's style guide, reject list, examples, and voice doctrine. Czech is a full profile; English is a stub. **Activate automatically when the conversation edits or creates any file matching a repo's .copy-editor.yaml include scope, when the user asks about Czech or participant-facing copy, when reviewing content PRs, or when a work slice would otherwise close without a Layer 2 pass on edited visible-surface content.** Do not wait to be invoked by name. Explicit trigger phrases: copy edit, editorial pass, czech review, czech copy review, audit copy, check typography, review prose, tighten copy.
/groundSurvey a repo and ground externally on the relevant parts of the internet. Local manifest scan + CLAUDE.md/AGENTS.md + recent git activity, then external grounding via WebSearch, WebFetch, and gh — synthesized into a terse, dated, sourced briefing cached at docs/ground/<fingerprint>.md with a 7-day freshness window. Composable: invoked standalone or embedded as a pre-flight phase in other skills. Triggers: ground, ground yourself, ground myself, survey and ground, pre-flight grounding, research the stack, what's new in.
/harness-syncReplicate a known-good Claude Code harness onto another machine or into another repo. Clones or updates the user's config repo, verifies it against the shipped conventions, reinstalls plugin marketplaces, and reports drift between two machines. Use when setting up a second machine, onboarding a new laptop, recovering a harness, or checking whether two machines have diverged. Triggers - harness sync, replicate harness, set up my config on this machine, sync claude config, new laptop setup, harness drift, are my machines in sync./harness-upInstall harness-engineering doctrine into a repository — short root AGENTS.md, docs/ taxonomy (plans, ADRs, solutions), verification rules, and project-scoped Claude Code plugins. Works on empty repos (greenfield scaffold), existing repos (survey + upgrade), and ports of existing systems. Distinct from `marvin:scaffold` (which installs deps and configs); distinct Triggers: harness up, harness this repo, set up AGENTS.md, agent doctrine, make this repo agent-ready, init harness, scaffold agent context.
/quick-reviewFast opinionated quality pass — simplicity, test integrity, and correctness. Not a deep review. One pass, one voice. For depth, use /review (deep-thought). Triggers: quick review, quality check, sanity check, check my code, is this good.
Other plugins' skills for the same job