/mine:mine-archfrom mine
Creates or overhauls a repository's modular architecture source of truth at .mine/design/index.md and initializes engineering governance. Inspects code, researches official docs, designs abstract architecture, configures formatter/linter/type/test/CI, establishes AGENTS.md rules, and validates quality gates.
Ships in mine. 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.
Design target architecture from the owner's requirements, not merely from current code. Keep current implementation, accepted target, assumptions and open decisions distinct. Read AGENTS.md, requirements and the affected code before changing Design. Architecture does not implicitly authorize product implementation.
Resolve Root from the first Git worktree inventory record. Read Root .mine/config.toml and the ownership marker; use its configured Design/Plan/ADR paths, never a linked checkout's graph. Fresh 0.2 governance is .mine/design/index.md, .mine/design/decisions/ and .mine/plan/. User docs/ is not the governance namespace and must not be moved.
Check the installed mine version/help/schema before use. Do not install or invoke a future candidate against an older live workspace. An active legacy layout is completed using its existing binary; terminal cutover is a separate source-authorized release operation, never an init/sync-time migration or a prompt-only config rewrite.
Read the outline and AGENTS agreement before authoring. These are adaptable checklists, not a requirement to generate speculative components or a giant manuscript. One contract belongs in one leaf; indexes orient and link to authoritative leaves.
Define namespace/responsibility, supported behavior and exclusions, real consumer, physical mapping, shared-file integration owner and generator input/output closure. Directory membership alone is not semantic authority. Approved semantic partitions may allow mapped overlap; unpartitioned algorithms, schemas, migrations, lockfiles, mutable outputs and whole generators remain exclusive. Conservative repositories retain explicit nonempty path authority without inventing a policy approval.
A concrete semantic mapping needs an external policy JSON bound by one approved ADR body's unique mine-ownership-policy fence: schema_version=1, normalized policy_path and SHA-256 of its exact bytes. Actual registry approval actor/digest/applicability are native observations, not caller approved=true. Graph and ADR registry revisions are different counters. Mapping changes require a new approved binding.
Architects may implement types, consumer-owned interfaces, invariants and a minimum real foundation only when the owner explicitly assigns an ordinary execution Plan/work package. Applicable abstract decisions must be approved; unrelated detail need not be finished first. The work uses normal prepare/start, registered linked checkout, scoped commits, real consumer/invariant tests and IMPLEMENTED handoff. An existing Plan owning that responsibility is reused rather than creating ceremonial parallel work. No sixth Skill/state, Root coding exception or self-acceptance exists.
An ordinary arch invocation writes only Design, governance and authorized quality configuration. It does not automatically create/execute Plans, switch branches, commit, merge or publish. Source implementation and planning require explicit assignment; ADR approval alone is not an execution request. Read-only probes are default; explicitly scoped experiments remain isolated, disposable and unmerged.
Use native complete graph wave/show snapshots when planning around active work: IN_PROGRESS and IMPLEMENTED retain ownership through pending review/integration. Do not infer freedom from READY-only lists, worker silence or a clean checkout. Missing semantic policy fails closed and never downgrades an owner to conservative.
When explicitly authorized to perform a native write, commit only the operation's owned inputs first, read Root revision and supply that exact expected revision plus the required explicit actor. Native graph checkpoints commit only their graph pair. Check returned operation/checkpoint completion; a failed response may describe persisted pending work, not rollback. Query/resume the same operation before further writes. Never manually fast-forward or commit a pending checkpoint, repeat effects, or create a compensation for a transport/resource failure. No fabricated future CLI/MCP tools.
If an immutable active Plan is objectively infeasible, preserve it and its rejected lineage. Material replacement Design needs owner-approved ADRs and actual independent review/stopped-writer evidence before the bounded native rejection path. Retire only authorized unstarted stale registrations via lossless withdrawal; do not erase started history, infer a stopped writer, or repair the graph by hand.
Root remains on configured integration branch while a workspace is open; only release integration may move it to configured stable. Plan branches live only in their registered linked worktrees. Rejection's next sibling compensation reuses that lineage checkout; each Plan node still has its own mutable output namespace.
Reuse Root toolchains, downloads, venv and demonstrably safe immutable caches. Isolate all languages' mutable build/test/generated/coverage/package outputs under /.mine/build///; never create worktree target, node_modules, .venv or equivalent duplicate environments. Measure exceptional disk cost before building and agree with the owner on serialization/shared output/cleanup; never silently share mutable output or clean another owner's artifacts.
Report changed Design/configuration, actual command results, scoped readiness, unresolved decisions, real implemented versus pending foundation behavior and the next owner-invoked action. Distinguish IMPLEMENTED from independently ACCEPTED.
All new IDs follow planNN(?:-NN)*(?:-CNN)? (two-digit numeric segments, uppercase terminal C). Files are /-.md. Compensation uses the next contiguous sibling C ordinal in the same lineage. Never edit the configured execution-graph.toml or generated execution-graph.md directly. Root owns graph/config/locks/revision even for linked callers. For Rust set CARGO_TARGET_DIR to that exact Plan's isolated output class; the same mutable-output isolation applies to every other language, not just Cargo.
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/mine-plan-createCreate or update an evidence-backed, architecture-governed software implementation plan that is precise enough for independent coding agents to execute without rediscovering design decisions. Scope-first: an explicit user scope defines the planning boundary; research-backed: substantive planning requires mandatory scope-bounded web research comparing established practice; evidence-on-demand: repository inspection is proportional to scope. Use for initial project planning, incremental features, refactors, migrations, agent workflows, data/retrieval/tool contracts, or compensating plans. Routes material Design gaps back to mine-arch; never silently overrides accepted Design./mine-plan-execExecute one repository implementation plan end to end in its MINE-prepared linked worktree. Use when the user invokes mine-plan-exec with a plan ID or file, asks to implement a governed plan, or wants dependency checks, code changes, verification, reporting, commits, and graph updates. Never implement directly on stable or dev./mine-plan-reviewStrictly review one implemented repository plan against AGENTS.md, architecture, the immutable plan, implementation commits, real runtime behavior, verification evidence, and downstream contracts. Use when the user invokes the host-specific mine-plan-review skill with a plan path, asks whether a plan can be accepted, requests an acceptance review, or wants review failures classified into direct small fixes versus a new compensating plan. Work in the current workspace; never trust an implementation report or green tests without independent evidence./mine-syncReconcile MINE-owned design with repository reality using code-first synchronization. Use when onboarding an existing repository, after substantial out-of-band changes, when design drift is suspected, before stable release, or when the user requests a repository/design audit. Creates a verified local backup before rewriting design, then updates design to match current code unless the user explicitly protects a decision. Does not modify business code without a separate architecture/plan/execute flow.npx claudepluginhub 6ixgodd/mine --plugin mine2 plugins in one repository ship this exact skill · first indexed Oct 20, 2026
Other plugins' skills for the same job