Repository navigation
docs(references): add FirstMate commands and skills usage guide - #21
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
在 learn-firstmate 里加一份 firstmate 命令和技能的使用说明
What Changed
references/commands-and-skills-guide-2026-10-15.md, a Chinese quick-reference for captains. It starts with a table that maps everyday needs to commands. It then covers each command a captain can type:/afk,/quiet,/ahoy,/bearings(includingfile,lavish, andinclude PRs),/stow,/updatefirstmate, and the harness-registered/calmand/supervision-model. For each one it says what the command does, when to use it, gives an example, and lists what it will not do on its own. It also lists the 6 user-invocable skills, the installablestowvariant, and the firstmate-only reference skills. Every section cites its source files in the FirstMate repo.README.md.GLOSSARY.mdwithsupervision hostand a new "命令与技能" table (skill, slash command, agent-only reference skill, digest, board, completion receipt, pinned), so the guide uses one fixed rendering for each term.🤖 Generated with Claude Code
Risk Assessment
✅ Low: This is a documentation-only change, and its claims check out against the read-only FirstMate source: there are 6 user-invocable skills, the 23 agent-only skills are all listed, and the stow local-skill and pinned-entry wording matches the source; the round-2 glossary fix adds only the missing pinned term, in the table's existing format.
Testing
The baseline docs check (
python3 scripts/check-docs.py) had already passed. This is a pure Markdown change to a tutorial repo with no build or runtime, so no product surface can be driven live. The scenarios that would exercise it are running FirstMate slash commands in a live agent session, which would need a real captain session in the read-only FirstMate checkout, so none were driven live. Read-only checks show the guide's skill tables match the FirstMate checkout exactly (6 user-invocable, 23 agent-only, firstmate-calm is a symlink), every cited source file exists, the recorded review fixes are present, and there are no em dashes. No visual artifact was captured: the deliverable is plain Markdown, and rendering it through GitHub's markdown API would publish the content to an external service.Evidence: Skill classification check against the FirstMate checkout
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 2 issues found → auto-fixed (2) ✅
references/commands-and-skills-guide-2026-10-15.md:174- The/stowsection's bullet "不会自己写或改任何技能" is too broad, and the source contradicts it..agents/skills/stow/SKILL.md(section 'Over-budget offload to JIT-loaded owners' > 'Destinations' and 'Flow: reduce, approve, migrate, remove') says what stow is forbidden to touch: a skill tracked in the FirstMate repo ('Hard rule: the stow process never creates or writes a firstmate-repo-tracked skill'). It does write user-owned local skills. When memory is over budget, it moves eligible non-pinned conditional entries into an already-existing local, untracked skill under.agents/skills/<freeform-name>/without asking. After per-item captain approval, it moves pinned entries into a new local skill directory, which it creates and excludes from git. A captain reading the current wording would wrongly conclude stow never writes skill files. Suggested fix: say it never writes or changes skills tracked in the FirstMate repo, and that when over budget it may move entries into a local, untracked skill that exists only on this machine (pinned entries only with your per-item approval). This would also tie up the vague '迁出去' at line 160. The publicskills/stowstatement at line 262 ('它不会往技能里存东西') is accurate and needs no change.references/commands-and-skills-guide-2026-10-15.md:99- The/ahoydescription says "凡是 PR,都给完整的https://链接", which overstates the source..agents/skills/ahoy/SKILL.mdstep 4 only requires it to 'preserve every full PR URL present in that interval'. Step 6 forbids it from calling GitHub, running tools or reading files. So if a PR shows up in the conversation only as#123,/ahoycannot produce a full link for it. Suggested wording: 对话里出现过的 PR 完整链接会原样保留.🔧 Fix applied.
3 issues (1 warning, 2 infos) still open:
references/commands-and-skills-guide-2026-10-15.md:174- The/stowsection's bullet "不会自己写或改任何技能" is too broad, and the source contradicts it..agents/skills/stow/SKILL.md(section 'Over-budget offload to JIT-loaded owners' > 'Destinations' and 'Flow: reduce, approve, migrate, remove') says what stow is forbidden to touch: a skill tracked in the FirstMate repo ('Hard rule: the stow process never creates or writes a firstmate-repo-tracked skill'). It does write user-owned local skills. When memory is over budget, it moves eligible non-pinned conditional entries into an already-existing local, untracked skill under.agents/skills/<freeform-name>/without asking. After per-item captain approval, it moves pinned entries into a new local skill directory, which it creates and excludes from git. A captain reading the current wording would wrongly conclude stow never writes skill files. Suggested fix: say it never writes or changes skills tracked in the FirstMate repo, and that when over budget it may move entries into a local, untracked skill that exists only on this machine (pinned entries only with your per-item approval). This would also tie up the vague '迁出去' at line 160. The publicskills/stowstatement at line 262 ('它不会往技能里存东西') is accurate and needs no change.references/commands-and-skills-guide-2026-10-15.md:99- The/ahoydescription says "凡是 PR,都给完整的https://链接", which overstates the source..agents/skills/ahoy/SKILL.mdstep 4 only requires it to 'preserve every full PR URL present in that interval'. Step 6 forbids it from calling GitHub, running tools or reading files. So if a PR shows up in the conversation only as#123,/ahoycannot produce a full link for it. Suggested wording: 对话里出现过的 PR 完整链接会原样保留.references/commands-and-skills-guide-2026-10-15.md:174- The guide coins the rendering 「固定」 for the memory-tier termpinnedinline, butGLOSSARY.mdhas no entry for it. AGENTS.md says GLOSSARY.md 'is the only copy of the term table: add a new term there rather than coining a rendering inline'. This change already adds a 「命令与技能」 section to GLOSSARY.md (GLOSSARY.md:76-86), butpinnedwas left out. The round-1 fix moved the first bilingual use from line 176 to line 174, and line 176 now uses Chinese only, which is correct. The same term sits in the stow tier vocabulary, next toagingandperishable, which a later chapter or reference may need. Remedy: add| pinned | 固定 |to the 「命令与技能」 table in GLOSSARY.md. Nothing else in the guide needs to change.🔧 Fix applied.
✅ Re-checked - no issues remain.
python3 scripts/check-docs.pypython3 scripts/check-docs.py(baseline, already run by the pipeline: link integrity and formatting hygiene)git diff --stat 4cf0d06..a9bbd14and reviewed the GLOSSARY.md and README.md diffsRead-only check of every.agents/skills/*/SKILL.mdin the FirstMate checkout foruser-invocableandmetadata.internal, compared with the guide's 6-skill table and 23-skill agent-only tablesRead-onlylsconfirming the cited sources exist: docs/calm.md, docs/configuration.md, docs/architecture.md, docs/supervision-host.md, bin/fm-afk-launch.sh, skills/stow/SKILL.mdsedof the guide's /ahoy and /stow sections, checking the round-1 and round-2 fixes are in placegrep -c '—'on all changed files (0 em dashes)✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.