/myflow:onboard [initial | refresh | missing requirement]from MyFlow
Use when introducing MyFlow to a repository, refreshing repository workflow knowledge, or when a MyFlow skill lacks a required repository path or convention.
Ships in MyFlow. 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.
Create or refresh compact repository knowledge through the shipped resolver, never an assumed local path. Run these from this skill folder; every script path is relative to it:
node ../myflow/scripts/resolve-repository-map.mjs discover --cwd <git-root>
node ../myflow/scripts/resolve-repository-map.mjs target --cwd <git-root>
discover selects an explicit override, an existing repository-local map, or an existing personal global map. target names the preferred writable personal global map for an origin-backed repository or a no-origin common-Git-directory identity. The resolver emits metadata only; read map contents only after it selects a path.
An onboarding run writes or updates the resolved repository map and, for a personal global map, evidence-led records beside it:
<map-parent>/onboarding/runs/<timestamp>_<initial|refresh>.md
<map-parent>/onboarding/evaluations/<timestamp>_<initial|refresh>.md
A repository-local map remains authoritative and compatible. Follow its tracking/retention policy for its run and evaluation records. Workstream artifacts go wherever the developer's artifact storage settings put them (step 4); never move them without myflow artifacts import.
Start at the Git root and run discover. Record its selected path in all frontmatter. If found, read that map and every named applicable instruction file. Preserve confirmed entries; correct only evidence-disproved entries.
If no map exists, run target. Use its mapPath as the preferred writable location; create its parent only after discovery and developer decisions are complete. Do not create a tracked local map merely because .myflow/ is available. The exception is a repository-only install: when discover reports storeMode: "checkout" with storeFallback: false and MyFlow's scripts live inside this repository, offer to write the map at .myflow/repository-map.md so it travels with the repository. The explicit --map <path> option is only for approved exceptional locations. A non-Git or malformed-origin diagnostic is actionable: ask for a valid repository or an explicit override; do not invent a fallback.
Inspect applicable instruction files, manifests/task runners, CI, documentation, status/changelog/runbook locations, ADR/glossary candidates, local skills/templates, and Git delivery conventions. Record each source and what it establishes. This is discovery, not an architecture review; recommend a dedicated assessment only when evidence warrants it.
Ask only where an answer changes operation: required checks/manual verification; documentation and delivery policy; glossary/ADR sources; artifact retention; local capabilities; approvals and sensitive-data constraints. Unknown is valid. Do not invent commands, policies, or paths.
Run node ../myflow/scripts/cli.mjs artifacts status --cwd <git-root>. When it reports configured: false, ask the developer, one question at a time:
home, recommended when MyFlow is installed globally) Or next to the code in the checkout, ignored by Git? (checkout)home only: should they be backed up to a Git repository the developer owns? If so, which URL? For example [email protected]:<you>/myflow-artifacts.git. The repository should be private.Then run node ../myflow/scripts/cli.mjs artifacts init --location <home|checkout> [--remote <url> | --no-remote] and report its warnings. These settings are personal configuration in <MYFLOW_HOME>/config/myflow.json; never write them into the repository map or name a particular artifact repository in repository files. If status lists needsImport, offer artifacts import. If the developer declines to decide, leave the configuration absent; MyFlow then follows the install location.
Read templates/repository-map.md and templates/onboarding-report.md. Fill them from evidence. The map points to authoritative sources rather than copying policy; those sources win on conflict. Use a punctuation-safe ISO timestamp and record the resolved repository-map path in the map, report, and evaluation frontmatter.
Include MyFlow capability gaps in the report for needs no current skill handles. Do not expand this run to solve them.
Read templates/onboarding-evaluation.md; write its pending record beside the report and link all three records. Telemetry is optional. Never send source, credentials, tokens, personal data, sensitive repository identifiers, or the original remote URL without explicit approval.
Report the resolved map, report, and evaluation paths; the artifact store mode, workstream root, and whether a remote is configured; confirmed sources/material unknowns; ready, provisional, or blocked status; next safe action; and any specialist recommendation. A missing map alone does not block ordinary low-risk Scope work once onboarding has written its target.
A skill needing repository-specific information must run resolve-repository-map.mjs discover, read its selected map when found, follow mapped sources, and record a missing/stale gap for onboard. Do not hard-code .myflow/repository-map.md as the only supported source.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub don-smith/myflow --plugin myflow21 skills in this plugin
/closeUse after a passing MyFlow Verify report to make proportionate closeout decisions, preserve continuity, and decide delivery with the developer./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./code-reviewUse when reviewing a branch, commit range, pull request, or work-in-progress change against its specification and repository standards./commitCreate structured atomic commits. Use when the user asks to commit, or when Implement has completed a plan phase whose automated success criteria are green./designResolve material architectural decisions for a MyFlow workstream and write a standalone design artifact only when Scope or Plan requires structural design. Use after Scope and selected research/specialists, before Plan./diagnosing-bugsUse when behavior is broken, failing, flaky, unexpectedly slow, or otherwise differs from its expected result, before proposing a durable fix.