Agentsmd Skill
БесплатноБез исполняемых скриптовНе проверенDistill session lessons into a lean AGENTS.md (create or update), following the open agents.md spec: collect lessons, distill them into one-line rules…
от kelegele276 установок в других каталогахОб этом скилле
Lessons To AGENTS.md
Goal
Turn one-off lessons into a small set of durable, reusable, executable rules in the project root's AGENTS.md. Four iron rules:
- Concise: every rule is one line, imperative, directly executable. No narrative, no explanatory paragraphs.
- Compliant: structure follows the open agents.md spec (see
references/agents-md-spec.md) — pure Markdown, standard sections, written for AI coding agents. - No bloat:
AGENTS.mdis organic consolidation, not an append-only log. Hard cap 120 lines (excluding blank lines); near the cap you must delete before adding. Content that still has long-term value but fails the root-file admission bar moves todocs/with a one-line reference (see Step 4). Rules that lost generality, were superseded, or duplicate others get deleted or merged. - Confirm before writing: every write — updating
AGENTS.md, agent memory, progress/status files, moving collected files — must be shown to the user and approved first. Without approval, propose only; touch nothing.
Workflow
Step 1 Collect lessons
Extract lessons from this session/task:
- Errors, corrections, and rework the user explicitly pointed out (highest priority)
- Pitfalls actually hit: errors, environment issues, wrong approaches
- User preferences that repeated (2+ occurrences; a single occurrence doesn't count)
- Approaches that were validated to work
Exclude: one-off task details, temporary paths/parameters, obvious common sense, unverified guesses.
Step 2 Distill rules
Process each lesson in three passes:
- Generalize: raise the specific case into a general rule. "Wrong path alias in tsconfig.json broke the build" → "Run
npm run buildafter changing path aliases". - Compress: one rule per line, format
- do X (reason ≤ half a line if needed). Example:- Commits must pass lint and tests; CI blocks non-compliant commits. - Classify: put it in the closest section (see the template's standard and optional sections). Only create a new section when nothing fits, and keep total sections ≤ 9.
Admission bar: a rule must pass all three — (a) likely to recur; (b) violating it causes real loss (rework/bugs/wasted time); (c) expressible in one line. Miss any one, discard.
Step 3 Read current state
- First detect the scenario: coding or work (a non-code collaboration directory). Later steps follow the matching column in Scenario Adaptation.
- Check whether
AGENTS.mdexists in the project root. - Exists: read it fully and build a list of existing rules (enumerate every one).
- Missing: build project understanding yourself, then generate the first
AGENTS.md:- Scan project structure, README, build/dependency configs (
package.json/pyproject.toml/Makefile/*.csproj…), and CI configs to identify the stack, package manager, build and test commands. - Combine with this session's lessons and generate the first version per the agents.md spec (skeleton:
assets/AGENTS-template.md; granularity benchmark:assets/AGENTS-example.md). Omit standard/optional sections that don't apply — never leave empty placeholder sections. Keep section names in English (community convention); entry language follows the project's dominant language. - Command verification: every command written in the first version must be verified — run build/test/lint commands for real; commands impractical to run (deploy, migrations) must be cross-checked against
package.jsonscripts /Makefile/ CI configs for existence and exact spelling. Never write a command that fails or can't be verified. - Apply Step 2's admission bar and concision rules to the first version too. Piling up generic common sense "to look complete" is forbidden.
- Scan project structure, README, build/dependency configs (
Step 4 Organic merge (core)
For each new rule, compare against every existing rule and do exactly one of the following. Unconditional appending is forbidden:
| Situation | Action |
|---|---|
| Equivalent rule exists | Discard the new rule; touch nothing |
| Partially overlaps | Merge into one more precise/more general statement |
| Is a special case of an existing rule | Replace the existing rule with the general version (one general > three special cases) |
| Contradicts an existing rule | Keep the new one (newer practice), delete the old |
| Existing rule clearly outdated (env/tooling changed) | Delete |
| New and passes the admission bar | Append to the matching section |
Length control:
- After merging, total length (excluding blank lines) ≤ 120 lines. Over the cap, prune in this order: outdated rules → duplicates/mergeable items → low-generality special cases → entries in the least-triggered sections.
- Pruning ≠ always deleting: pruned content that still has long-term reference value but fails the root-file admission bar (background, operational details, low-frequency special cases) moves to
docs/<topic>.md, leaving a one-line reference in place (
Установить Agentsmd Skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Agentsmd Skill?
Distill session lessons into a lean AGENTS.md (create or update), following the open agents.md spec: collect lessons, distill them into one-line rules, organically merge, verify every command, and write only after user approval. Adapts to coding and work (non-code collaboration directory) scenarios; syncs project memory and progress/status records; collects scattered docs and data (fixed buckets for coding, work-type-fitted taxonomy for work). Trigger on requests like "write the lessons into AGENTS.md", "solidify this session's pitfalls into project rules", "update project guidelines", "organize project docs and data" — 中文触发词:「总结经验/教训写进 AGENTS.md」「把这次踩的坑固化成项目规则」「更新项目规范」「整理项目文档与数据」「沉淀项目协作规范」「文档归档到 docs」。All file changes require user confirmation first.
Как установить скилл Agentsmd Skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Agentsmd Skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic