AGENT SKILL

workflow/skill

Patterns for adding or editing a skill — frontmatter contract, router + sub-file split, line budgets.

License 许可
MIT
最近更新
2026-11-10
Stars
★ 0
Forks
0

01 前言 Front Matter

name
workflow/skill
description
Patterns for adding or editing a skill — frontmatter contract, router + sub-file split, line budgets.

02 资源文件 8

03 SKILL.md 正文

Add or Edit a Skill

A skill is lazy-loaded knowledge: only its frontmatter enters context at session start, the body loads on invocation. Two kinds live in the framework.

Kind Location Owner
Orchestrator (workflow control) .claude/skills/orchestrators/<name>/ Framework-managed (arrives via copier update)
Domain (best practices) .claude/skills/domain/<name>/ Project-owned (never touched by updates)

Frontmatter contract (required)

---
name: skill-name          # matches the directory
description: One sentence — WHEN to invoke this skill. This is all the runtime sees until invocation, so make it a good trigger.
---

Domain skills may add covers: metadata (files: glob, patterns:, conventions:) so drift detection can compare the skill's claims against real code. Orchestrator skills omit it.

Structure — router + sub-files

For anything with more than one operation, split like the neighbors (work, verify):

.claude/skills/<group>/<name>/
├── SKILL.md      # router: frontmatter, philosophy line, operations table, per-op one-liners
├── op-a.md       # one focused workflow
└── op-b.md       # one focused workflow

The router carries a one-line intent per operation and points to the sub-file for the full workflow — it does NOT inline the workflow. Sub-files carry the steps.

Line budgets

File Target
Router SKILL.md 60–150
Sub-file (one workflow) 30–90
Single-file skill (no sub-ops) up to ~200

Rules

  • One authoritative home per topic. If it lives in a skill, CLAUDE.md and commands only POINT to it.
  • Pointers over copies — reference a file/section, don't paste its content.
  • Tables over prose for anything scannable.
  • A new command wrapper is optional; a skill is invoked by name via the Skill tool regardless.

When done, run validate.md.

04 同仓库更多 Skills

JAuto-Corp
JAuto-Corp/justinventit

ponytail

Forces the laziest solution that actually works, simplest, shortest, most minimal. Channels a senior dev who has seen everything: question whether the task needs to exist at all (YAGNI), reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Supports intensity levels: lite, full (default), ultra. Use on ANY coding task: writing, adding, refactoring, fixing, reviewing, or designing code, and choosing libraries or dependencies. Also use whenever the user says "ponytail", "be lazy", "lazy mode", "simplest solution", "minimal solution", "yagni", "do less", or "shortest path", or complains about over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT use for non-coding requests (general knowledge, prose, translation, summaries, recipes).

★ 0
JAuto-Corp
JAuto-Corp/justinventit

workflow

Meta-skill for editing the framework itself — skills, hooks, commands, rules, CLAUDE.md. Use before changing anything under .claude/ or the routing docs, so the change keeps the system's shape (lazy-load, forge markers, hook auto-discovery, harness).

Skill与智能体开发
★ 0
JAuto-Corp
JAuto-Corp/justinventit

work

Work lifecycle orchestration: start, continue, pause, handoff, done, plus epic/sprint planning. Context gathering + goal-focused state-chain transitions.

★ 0
JAuto-Corp
JAuto-Corp/justinventit

verify

Verification and auditing. Validate acceptance scenarios, run multi-perspective audits, check type-check/build evidence, and gate phase/sprint completion.

★ 0
JAuto-Corp
JAuto-Corp/justinventit

team-lead

Coordinate an Agent Team for parallelizable work — implementation, audit, research, or testing. Teaches the mechanical constraints (WAIT pattern, file ownership, model tiers) and lets you design the team. For orchestration_tier=cluster / multi-agent runs.

★ 0
JAuto-Corp
JAuto-Corp/justinventit

scope

Plan and design work before building. Invoke when starting an epic, scoping a sprint, or planning any Standard+ change: orient on what exists, equip the planning procedure + domain skills, then produce the SPEC/SCENARIOS/PROGRESS structure and converge it through an audit loop. Feeds /work:epic-plan and the ATDD entry gate.

视觉设计
★ 0