docs(agents): add fleet-wide skill authoring standard - #12
Merged
Conversation
Owner
Author
|
I reviewed this standard against its own rules. The 73-line internal skill is single-concern and proportionate; its description is a concrete routing rule for authoring and substantial edits and distinguishes the neighboring generic Verdict: ready. |
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
Author firstmate's durable fleet-wide skill-authoring standard so skill crews produce correct first drafts instead of relying on review to catch bloat, duplication, vague triggers, wrong-artifact choices, or brittle specifics. Audit the generic skill creator, firstmate coding guidelines, a project review-time skill audit, and the project's mechanical metadata validator honestly; preserve existing ownership by cross-reference rather than duplication. The standard must gate facts and invariants into AGENTS.md or docs, enforce one skill and one PR per concern, teach principle-level content, make descriptions concrete load triggers, and provide a tight in-draft pre-PR rubric without replacing adversarial review. Keep it self-contained, agent-only, non-user-invocable, at or below 120 lines, add only the required AGENTS.md section 13 load trigger and one firstmate-coding-guidelines cross-pointer, and avoid unrelated edits or project-specific references in this shared template.
What Changed
Risk Assessment
✅ Low: The change is narrowly scoped, satisfies the stated authoring-standard requirements, and now routes project crews to the correct absolute skill path from the instruction repository rather than the operational FM_HOME.
Testing
The provided full baseline was green; focused manual review and an end-to-end evidence check verified exact three-file scope, the 73-line cap, internal/non-user-invocable metadata, concrete routing triggers, fact and concern gates, durable guidance, preserved review/validator ownership, realistic authoring decisions, and hidden installer discovery. All checks passed with a clean worktree.
Evidence: End-to-end decision and discovery transcript
Evidence: Reproducible end-to-end evidence check
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 2 issues found → auto-fixed (3) ✅
AGENTS.md:783- Intent requires this standard to be “fleet-wide” so “skill crews produce correct first drafts,” but the added trigger only says “load before authoring or substantially editing.” Firstmate delegates project work, while project crewmates do not inherit this repository’s section 13 or internal skills; unlike firstmate-repo briefs, nothing requires project skill briefs to direct crews to this file. Decide whether the trigger and standard should explicitly cover briefing/delegation and require passing the standard to the assigned crew..agents/skills/skill-authoring-standard/SKILL.md:4- The description does not follow the new standard’s own requirement to distinguish a plausible neighboring skill.skill-creatormatches the same create/update requests, but the routing metadata does not say that both should load or clarify their ownership boundary; that clarification exists only in the body, which is unavailable until routing succeeds. Add the creator/standard boundary to the description if both are intended to load.🔧 Fix: Clarify skill routing and project crew delegation
1 error still open:
.agents/skills/skill-authoring-standard/SKILL.md:17- Intent requires the standard to be “fleet-wide” so “skill crews produce correct first drafts,” but the new instruction passes the relative path.agents/skills/skill-authoring-standard/SKILL.md. Project crews launch with the project worktree as their working directory (for example, the tmux backend uses-c "$proj_abs"), so this resolves inside the project—where this internal Firstmate skill is absent or could name an unrelated file. Pass the resolved absolute path from the active Firstmate home, or another path explicitly rooted at that home, in both this instruction and the section 13 trigger.🔧 Fix: Resolve delegated skill path from active Firstmate home
1 error still open:
.agents/skills/skill-authoring-standard/SKILL.md:17- Intent requires a “fleet-wide” standard, butFM_HOMEis explicitly only the operational-state root when set (state/,data/,config/, andprojects/); tracked.agents/skills/remains under the repository root that ownsbin/andAGENTS.md. Thus a supported split-root instance can generate an absolute but nonexistent$FM_HOME/.agents/skills/...path. Resolve the actual repository/instruction root containing this skill (or this file’s own absolute path) rather than directing authors toFM_HOME, and update the duplicated section 13 instruction consistently.🔧 Fix: Root delegated skill path at Firstmate instruction repository
✅ Re-checked - no issues remain.
✅ **Test** - passed
✅ No issues found.
command -v tmux >/dev/null || { echo "tmux is required for e2e tests" >&2; exit 1; }; tmux -V; rc=0; for t in tests/*.test.sh; do echo "== $t =="; bash "$t" || rc=1; done; uv run --directory tools/agent-fleet --locked pytest || rc=1; uv run --directory tools/agent-fleet --locked python -m compileall -q src || rc=1; exit "$rc"Provided successful baseline:command -v tmux >/dev/null || { echo "tmux is required for e2e tests" >&2; exit 1; }; tmux -V; rc=0; for t in tests/*.test.sh; do echo "== $t =="; bash "$t" || rc=1; done; uv run --directory tools/agent-fleet --locked pytest || rc=1; uv run --directory tools/agent-fleet --locked python -m compileall -q src || rc=1; exit "$rc"Inspectedgit diff --no-ext-diff --unified=80 b4b16035a074e92eb0ac816149635f7d35d7a99d..94beac69e7a0108a3325ad8b14984d23f3c07abcand compared ownership with the complete genericskill-creatorand Firstmate coding guidelinesNO_COLOR=1 skills add . --listbash /var/folders/y_/bfdbj_vx20l9b9tw7crgkzwm0000gn/T/no-mistakes-evidence/01KY36W1Y03W4XVP8421HHE5H7/skill-authoring-e2e.shgit status --short✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.