/cross-harness-skills:crystallizefrom Cross Harness Skills
Turn a rough feature, bug, refactor, architecture, documentation, or operations idea into a ready-to-implement local plan file. Use when the user asks to crystallize, shape, refine, plan, spec, or de-risk ambiguous work before implementation; the workflow researches the codebase, public prior art, and relevant history, debates the proposed approach with subagents, and writes a final plan with no open questions.
Ships in Cross Harness Skills. 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.
Read when SKILL.md points to them.
Use this skill to convert rough input into an implementation plan that another agent can execute without needing the original discussion. The output is a single ignored local Markdown file under the gitignored plans/ directory.
Do not implement the plan while crystallizing. Inspect, research, and reason; only write the plan artifact.
Create plans/ if it does not exist:
mkdir -p plans
Choose a unique filename:
date -u +%Y%m%d-%H%M%S.plans/<timestamp>-<slug>.md.-2, -3, etc.Keep plans/ and every plan file ignored and untracked. Do not add them to git, do not create a tracked placeholder, and do not include plan files in commits.
Launch parallel subagents before drafting the plan. Give each subagent the raw user input, any linked issue or document text, and explicit permission to inspect the workspace. Do not include your intended solution.
Use these research roles unless a role is plainly irrelevant:
CodebaseResearch: identify affected packages, modules, APIs, tests, docs, and local patterns. Return concrete file paths and constraints.HistoryResearch: use available session-history or agent-history tools when prior or active agent context may matter. Search past sessions by keywords, inspect relevant sessions, and return only actionable history.PublicPriorArtResearch: research public implementations, official docs, standards, libraries, and comparable approaches. Prefer primary sources and include links when external sources influence the plan.RiskResearch: identify correctness, security, performance, migration, compatibility, rollout, and testing risks.Subagent prompt shape:
Research this rough implementation idea for the current repository.
Focus only on <role>.
Return evidence, concrete file paths or source links, constraints, and recommended plan implications.
Do not draft the whole plan and do not assume my preferred approach.
Rough input:
<raw user input>
Wait for every required research subagent to finish. If a subagent fails, retry once with a narrower prompt. If a role is still unavailable, perform that research yourself before drafting.
Synthesize the research into a concrete plan. Resolve ambiguities yourself using evidence and repository conventions. Do not ask the user open-ended questions unless the request would require an external decision that cannot be inferred safely; if that happens, stop before writing the final plan.
The draft must include implementation steps, affected files, validation, risks, and acceptance criteria. It must be specific enough that another agent can start from the plan file alone.
Before finalizing, launch a second parallel wave of subagents to argue against the draft plan. Provide the draft and the research summary, not private reasoning.
Use these debate roles:
PlanSkeptic: find bugs, missing requirements, invalid assumptions, and vague steps.PlanSimplifier: force the minimal viable approach and remove unnecessary generalization.PlanIdiomaticReviewer: check language, framework, library, and repo idioms.PlanScopeGuard: reject scope creep and unrelated cleanup.PlanValidationReviewer: verify the validation strategy would prove the change works.Debate prompt shape:
Attack this implementation plan for the current repository from the <role> perspective.
Be direct. Identify blockers, weak assumptions, unnecessary scope, and missing validation.
Return required changes to make the plan ready to implement. If it is ready, say so.
Draft plan:
<draft plan>
Research summary:
<research summary>
Resolve every substantive objection. If debate agents disagree, decide the best course using evidence, repo conventions, and the user's original objective. Prefer the PlanScopeGuard when other roles request broader behavior that crosses the task boundary.
Run targeted follow-up only with the debate subagents whose objections required interpretation or whose facet changed after revision. Do not start a whole new debate wave unless the draft was fundamentally replaced.
The final plan must have no open questions, no TBD, no unresolved alternatives, and no "ask the user" steps. Every uncertainty must be converted into a decision, assumption, or explicit non-goal.
Write the plan file with this structure:
# <short plan title>
Status: Ready to implement
Created: <UTC timestamp>
Source input: <brief quote or summary of the rough input>
## Objective
<one concrete outcome>
## Context
- Codebase findings:
- History findings:
- Public prior art:
- Constraints:
## Decisions
- <decision and rationale>
## Non-Goals
- <explicitly out-of-scope work>
## Implementation Plan
1. <step>
- Files:
- Change:
- Tests:
## Validation
- <commands, checks, fixtures, manual QA, or docs build steps>
## Risks And Mitigations
- <risk>: <mitigation>
## Acceptance Criteria
- <observable completion criterion>
## Implementation Handoff
<concise prompt an implementation agent can use to execute the plan>
Include exact file paths where possible. Include commands with expected outcomes. For stack-facing changes, include the repository's normal integration or smoke validation. For public prior art that materially influenced the plan, include source links in Context.
Before finishing, run:
git check-ignore -v plans/<plan-file>.md
The expected result is that root .gitignore ignores the plan file through the plans/ rule. In the final response, report the plan path and state that it was intentionally left ignored and untracked.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub eric-tramel/cross-harness-skills --plugin cross-harness-skills14 skills in this plugin
/author-prCreate ready-for-review pull requests on GitHub. Use when the branch is ready to open a PR; when the user asks to create, push, or open a PR; after local changes are committed; or when documenting user-facing features, bug fixes, performance optimizations, validation, changelog impact, or operational impact in a PR that follows repository conventions without AI attribution./code-reviewCoordinate a delegated full multi-persona code review for a PR or local change. Use when asked to review a PR, run review agents, get code review feedback, or iterate on review feedback using all CodeReview personas: elegance, idiom, correctness, completeness, security, YAGNI, and scope. Invoking this skill is an explicit request to launch reviewer subagents./code-review-agent-auditAudit and improve a code-review persona or review-coordinator skill using historical agent sessions. Use when asked to evaluate whether a review agent is useful, noisy, overreaching, missing meaningful findings, or to update a review skill or agent definition based on observed Moraine/session-history behavior./code-review-completenessReview a PR through the CodeReviewCompleteness persona. Use when asked to check whether a PR fully addresses the objectives it claims to address in its title, description, cited issue, PRD, epic, acceptance criteria, or linked discussion./code-review-correctnessReview a PR through the CodeReviewCorrectness persona. Use when asked to check whether the implementation does the job correctly, avoids bugs and regressions, preserves data and API contracts, handles relevant edge cases, and has tests that would catch the important failures./code-review-eleganceReview a PR through the CodeReviewElegance persona. Use when asked to review code for minimal design, architectural leverage, elegant abstractions, simplification, removing unnecessary moving parts, or finding the design move that sidesteps an entire class of problems.