AGENT SKILL

improve-agents-md

Restructure an AGENTS.md file with conditional `<important if="...">` blocks so task-specific instructions are easier for coding agents to apply reliably. Use when the user wants to tighten a long AGENTS.md, improve adherence, or separate always-on rules from task-specific guidance.

License 许可
MIT
最近更新
2026-09-20
Stars
★ 4
Forks
0

01 前言 Front Matter

name
improve-agents-md
description
Restructure an AGENTS.md file with conditional `<important if="...">` blocks so task-specific instructions are easier for coding agents to apply reliably. Use when the user wants to tighten a long AGENTS.md, improve adherence, or separate always-on rules from task-specific guidance.
user-invocable
true

03 SKILL.md 正文

Improve AGENTS.md

Restructure an AGENTS.md file so foundational rules stay always visible and task-specific guidance is grouped under conditional blocks.

Input

Full request: $ARGUMENTS

Accepts:

  • No arguments: use AGENTS.md in the current directory
  • Path to a specific AGENTS.md

Workflow

1. Read and Assess

Find the target file and read it. If it is already concise, explain that no restructuring is needed.

2. Classify the Content

Separate content into:

  • Foundational guidance: project identity, stack, commands, universal rules
  • Task-specific guidance: testing, database work, UI rules, deployment, security, docs, migrations

3. Rewrite for Better Routing

Produce a rewritten version that:

  1. Keeps foundational content unwrapped
  2. Groups task-specific rules into a small number of conditional blocks
  3. Uses narrow conditions
  4. Preserves managed comment markers already present in the file
  5. Preserves content, while improving structure

4. Preview and Confirm

Show the user what will move and under which conditions, then ask whether to apply it.

5. Apply

If approved, write the restructured file and summarize the change.

Gotchas

  • Do not create one conditional block per bullet.
  • Do not wrap universal build or safety rules.
  • Preserve existing managed markers and generated sections exactly.

04 同仓库更多 Skills

Nairon-AI
Nairon-AI/agentic-starter-pack

writing-shape

Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.

★ 4
Nairon-AI
Nairon-AI/agentic-starter-pack

writing-fragments

Grilling session that mines the user for fragments — heterogeneous nuggets of writing (claims, vignettes, sharp sentences, half-thoughts) — and appends them to a single document as raw material for a future article. Use when the user wants to develop ideas before imposing structure, or mentions "fragments", "ideate", or "raw material" for writing.

★ 4
Nairon-AI
Nairon-AI/agentic-starter-pack

writing-beats

Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.

★ 4
Nairon-AI
Nairon-AI/agentic-starter-pack

stop-slop

Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.

★ 4
Nairon-AI
Nairon-AI/agentic-starter-pack

humanizer

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.

★ 4
Nairon-AI
Nairon-AI/agentic-starter-pack

feedback

Prepare, deliver, and debrief timely interpersonal feedback using a question-first coaching flow, observable behavior, owned experience, and concrete impact. Use when drafting feedback, coaching managers, rehearsing a feedback conversation, praising specific behavior, or reviewing whether feedback landed.

★ 4