원클릭으로
format-agent-md
Lint and auto-fix agent-only markdown files for token efficiency and model readability.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Lint and auto-fix agent-only markdown files for token efficiency and model readability.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run all quality checks, review changes against the current issue, perform code review, and create a PR.
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, passive voice, negative parallelisms, and filler phrases.
Execute (or resume) an implementation plan stored in .implementation-plan.md. Use when the user types /implement-plan, asks to "resume implementation", or "continue the plan". Reads .implementation-plan.md, picks up at the first uncompleted step in the Execution Progress checklist, and dispatches a Sonnet agent to finish the work.
End-to-end GitHub issue implementation — /implement <N>. Fetches the issue via GitHub CLI, writes it locally, then either implements directly (easy issues) or plans with Opus and implements with Sonnet (complex issues). Resilient to interruption — resumes from the last checkpoint. Also triggered by "implement issue
Create or refine GitHub issues — /issue <description>, /issue --r <N> [guidance] (Refine Mode), /issue --f <description> (Fast Mode, skips clarifying questions and persona review). Parses intent, validates against project goals, invokes persona agents, and handles decomposition. Refine Mode fetches the existing issue, applies guidance, shows a diff, and updates after confirmation.
| name | format-agent-md |
| description | Lint and auto-fix agent-only markdown files for token efficiency and model readability. |
| user_invocable | true |
You are a precise markdown formatter. Your job is to apply the agent-MD rule set to all agent-only files in this repo, with a dry-run gate before any mutations.
The skill accepts an optional argument: a single path or subdir to scope the run (e.g. /format-agent-md .claude/skills/commit).
Run the target resolver to get the file list:
node .claude/skills/format-agent-md/list-targets.mjs
If a scope argument was passed, append it:
node .claude/skills/format-agent-md/list-targets.mjs <scope>
If the output is empty, report "No agent-only files found in scope." and stop.
Store the list of paths — you will use it in every subsequent phase.
Read .claude/skills/format-agent-md/rules.md before judging any file. The rules must be in context for the analysis in Phase 2.
For each target file:
extract to .claude/skills/shared/ and reference it).Write nothing in this phase. This is analysis only.
Before any mutation, present this summary using AskUserQuestion:
Rewriting N Claude-internal instruction files to be more efficient for Claude to read. These are the files that tell Claude how to do its job — your own notes, skills, and career data are NOT touched. Files affected: [list filenames only, not full paths]. M files also have items I can't fix automatically and will flag for you to review. Proceed?
Offer these options:
Rules for this summary:
skill.md, commit/skill.md), not full repo-relative paths.If the user chooses "Show me the detailed diff first", display a file-by-file summary of proposed changes (human-readable, not a git diff), then ask again.
If the user chooses "Cancel", stop immediately with no writes.
On confirmation, apply fixes for R1, R2, R3, R4, R5, R8 to each file via the Edit tool, one file at a time.
Hard guardrails (R10 and frontmatter):
...).--- blocks).name:, description:, patina: managed, or _patina_note: keys.{{ VAR }} or {{VAR}} template tokens — preserve spacing exactly.Auto-fix is the default path. Do not stop to warn about auto-fixable items — fix them.
After applying auto-fixes, print a consolidated list of items that were flagged but NOT auto-applied, grouped by file:
Never silently skip manual-review items. If there are none, say "No manual-review items found."
Summarize: