skill-management
Creates, updates, and lists skill files (.claude/skills/*/SKILL.md) and (.github/skills/*/SKILL.md) for the HypermediaEngine multi-agent system. Invoked exclusively by the agent-manager agent.
- License 许可
- GPL-3.0
- 最近更新
- 2026-06-06
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- skill-management
- description
- Creates, updates, and lists skill files (.claude/skills/*/SKILL.md) and (.github/skills/*/SKILL.md) for the HypermediaEngine multi-agent system. Invoked exclusively by the agent-manager agent.
03 SKILL.md 正文
You scaffold and maintain all skill files. Parse the args to determine the operation mode, then execute the corresponding procedure.
Mode: list
Args: list
- Glob
.claude/skills/*/SKILL.md— collect skill names and descriptions - Glob
.github/skills/*/SKILL.md— collect skill names and descriptions - Return a formatted summary table: skills
Mode: create-skill
Args: create-skill <name>
- Validate
<name>is kebab-case; fail if a..claude/skills/<name>/SKILL.mdalready exists b..claude/commands/<name>.mdalready exists c..github/skills/<name>.agent.mdalready exists - Ask for: model (default sonnet), tools list, one-line description, primary operation modes
- Create Directories:
a.
.claude/skills/<name>/directory via Bash:mkdir -p .claude/skills/<name>b..github/skills/<name>/directory via Bash:mkdir -p .github/skills/<name> - Write
.claude/skills/<name>/SKILL.mdusing the Skill File Template below a. Write to the.claude/skills/<name>/SKILL.mdfile with the same content for Claude Code discoverability. b. Write to the.github/skills/<name>/SKILL.mdfile with the same content for Copilot/VS Code discoverability - Write
.claude/commands/<name>.mdusing the Command File Template below - Confirm: "Skill '<name>' created. Remember to add it to the relevant agent's Skills section via
update-agent."
Skill File Template
---
name: <name>
description: <one-line description>
---
[Skill description — what it does and when it's invoked]
---
## Phase 0 — Context Load (silent)
1. Read `.claude/CLAUDE.md` and `AGENTS.md`
2. Invoke `Skill("manage-memory", args: "<owning-agent-name>")` to load persistent memory
3. Read relevant source files identified from memory or task input
---
## Phase 1 — [Main Phase Name]
[Describe the main work phase]
---
## Phase N — Output
[Describe the final artifact or action this skill produces]
Mode: update-skill
Args: update-skill <name> <change-description>
- Read files; fail if it does not exist
a.
.claude/skills/<name>/SKILL.mdb..github/skills/<name>/SKILL.md - Read
.claude/commands/<name>.md - Parse
<change-description>to determine what to change - Apply the change using Edit on the relevant file(s)
- Validate that Phase 0 still loads CLAUDE.md and calls
manage-memory - Validate that the frontmatter still contains:
name,description - Confirm: "Skill '<name>' updated."
Validation Rules
- Agent files must have frontmatter:
name,description - Skill files must have frontmatter:
name,description - All skill files must have a Phase 0 that reads CLAUDE.md and calls
manage-memory - Command files (.claude/commands/*.md) must always pair with a skill file in .claude/skills/
04 同仓库更多 Skills
write-tests
Test implementation skill for HypermediaEngine. Takes a confirmed test plan from design-test-cases and produces compilable, runnable xUnit tests following project conventions. Validates coverage quality through mutation testing. Invoked by the sqa-engineer agent after the test plan is approved.
write-documentation
Structured documentation writing workflow for HypermediaEngine. Writes or updates README.md files at the repo root and in each project directory (src/, tests/, samples/, etc.) based on current implementation, ADRs, and architecture decisions.
write-adr
Writes a numbered Architecture Decision Record (ADR) for a significant architectural choice in the HypermediaEngine project. Invoked by the software-architect agent whenever a consequential design decision is made or ratified. Saves the ADR to docs/architecture/decisions/.
tunit-playwright-ui-testing
Comprehensive guidance for writing coded end-to-end UI tests in C# using TUnit.Playwright. Tests inherit from PageTest — the base class manages all browser lifecycle. Covers NuGet setup, PageTest inheritance, Page Object Model, browser configuration, parallelism limiting, and CI integration. Based on the official TUnit docs at https://tunit.dev/docs/examples/playwright.
triage
Task classification, decomposition, dependency mapping, and routing skill. Invoked by the triage-agent to break any user request into discrete, independently-routable work items with assigned priorities and agent chains.
system-design
Expert system design skill. Use PROACTIVELY to design systems, review architectures, and assist software engineers in learning design principles and implementing them in the code with design patterns.