author-subagent
ALWAYS invoke this skill when creating, editing, or configuring {{! term('configured_agents') !}}. NEVER create {{! term('configured_agents') !}} without this skill.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- author-subagent
- arguments
- configuration_target
- description
- ALWAYS invoke this skill when creating, editing, or configuring {{! term('configured_agents') !}}. NEVER create {{! term('configured_agents') !}} without this skill.
- allowed-tools
- Read, Glob, Write, Edit, Bash, {{! tool('use_skill') !}}
- argument-hint
- <configuration-path-or-role> [repair-input]
02 资源文件 7
- 参考文档references/context-management.md1.5 KB
- 参考文档references/debugging-agents.md1.4 KB
- 参考文档references/error-handling-and-recovery.md1.9 KB
- 参考文档references/evaluation-and-testing.md1.9 KB
- 参考文档references/orchestration-patterns.md1.8 KB
- 参考文档references/subagents.md2.9 KB
- 参考文档references/write-subagent-prompts.md1.6 KB
03 SKILL.md 正文
{!% require_skill 'instructions:subagent-standards' %!}
{!% require_skill 'instructions:agent-prompt-standards' %!}
{!% require_skill 'instructions:skill-standards' %!}
<objective> A finished {{! term('configured_agent') !}} definition and its calling-skill integration, ready for independent verification, with native configuration and a declared result contract. </objective>
<constraints>
- ALWAYS: apply every rule in the
/subagent-standardsand/agent-prompt-standardsrule catalogs to the finished definition, and return it ready for independent verification once the product's author command and deterministic checks pass on it. - NEVER: dispatch a {{! term('configured_agent') !}} auditor or wait on an audit verdict — a
verdict on the definition comes from
/audit-subagentrun in an agent session separate from the one that authored it. - ALWAYS: write to the invocation checkout. Reach a user-scope destination outside it — creating, editing, or deleting — only after the operator confirms the exact absolute destination; one approval covers one write.
- NEVER: widen an approved checkout-scope write to user scope on the judgment that the configured agent suits other projects.
</constraints>
<intake>
Select the route from the task message:
| Task message carries | Route |
|---|---|
| A target path or role only | <workflow> |
| A target followed by a sealed run file and the instruction to attend to every rule the run names | <repair_from_run_file> |
| A target followed by the command line and complete output of a deterministic command that failed on it | <repair_from_command> |
</intake>
<workflow>
- Require
$configuration_target. When it is empty, return ablockedresult naming the missing configuration path or role. Read the requested target and its governing requirements. Identify the role's owning skill, exact configured name, destination, selected profile, and result. Return ablockedresult naming the missing input when a product decision or a required input is absent. When the definition already holds the requested result, return anunchangedresult naming the committed head and the path that holds it, and edit nothing. - Apply
/subagent-standardsto placement, capabilities, profiles, isolation, invocation, and evidence. Read the relevant references from the index below. - For a skill-backed role, author a thin wrapper that invokes the owning skill and relays its result. Keep task-specific behavior in that skill.
- For a marketplace source, declare
profile: standard,profile: strong,profile: executor, orprofile: fastaccording to the governing selection. Let the product build emit the complete native configuration. For a product-owned native definition, use the selected complete configuration supplied by the loaded standards and examples. - Use skill
instructions:author-skill. Update the calling skill through it so its explicit launch names the configured role and supplies only the target. - Run the product's author command, then apply
/subagent-standards<configuration_subject>to identify the authored input and exact emitted definitions, or the directly authored native definition. - Check the finished definition against every row of the
/subagent-standardsand/agent-prompt-standardsrule catalogs, each row at the surface its stating section names — template syntax and profile selection at the authored input, native fields, permissions, and complete profile values in each emitted definition. Repair each violation at its authored source and repeat steps 6 and 7 until no row is violated. - Run the focused deterministic checks, then preserve the exact definition through the product's normal checkpoint workflow. A later edit repeats steps 6 to 8, so the returned definition is the state those checks passed on.
- Return the configuration path, the configured role, the emitted definitions, and the
verification still outstanding under
/subagent-standards: an/audit-subagentrun in a separate agent session, and native loading with one minimal isolated execution of the emitted definition.
This skill launches no configuration it authors.
</workflow>
<repair_from_run_file>
Read every finding to repair, by its <unit>:<rule-id> key, from the run file alone, and read
the definition to repair from the unit the run records for it. Ignore any summary, remedy, or
class name in the task message. Attend to every rule the run names and sweep each named class
across the whole target. Then follow the <repair> steps.
</repair_from_run_file>
<repair_from_command>
Repair the defect the command's output names at its authored source, never in an emitted
definition. Then follow the <repair> steps.
</repair_from_command>
<repair>
- Repair each finding across every instance the cited clause covers, and change nothing the clause does not require.
- Before returning, list every same-class site and every dependency the repair changed — a renamed field, a changed profile, a changed result contract — and resolve each, in the authored input and in each emitted definition.
- Run workflow steps 6 to 8 on the repaired definition.
- Return the repaired definition with, for each repair, the clause applied and the check that
shows the class closed, plus the outstanding verification the workflow names. Return a
blockedresult naming the missing input when the run file or the command output is absent.
</repair>
<reference>
Read only the references relevant to the role's actual work:
- subagents.md: native definitions, complete profile examples, capability selection, and skill-backed wrappers.
- write-subagent-prompts.md: converting a role requirement into a focused prompt and result contract.
- evaluation-and-testing.md: evidence design, native loading, and retained invocation results.
- error-handling-and-recovery.md: diagnosing failure boundaries and returning actionable evidence.
- context-management.md: independent target discovery and bounded context for long work.
- orchestration-patterns.md: explicit dependencies between skill-requested calls.
- debugging-agents.md: inspecting native observations without changing the attempted launch.
</reference>
<failure_modes>
Claude retained independent configuration fields.
Claude's examples selected a model separately from its reasoning controls and omitted controls the harness requires. A model chosen apart from its profile drifts from the configuration owner, and a hand-assembled block leaves out whatever that owner adds. Declare one central profile and use its complete native configuration as one unit.
Claude prescribed a retired tool contract in invocation advice.
Claude's handoff prescribed return fields and lifecycle tools an earlier tool version
exposed. The advice was copied from earlier guidance instead of read from the current
native tool schema. Use the invocation mechanics of the root harness instruction file
/subagent-standards <invocation> names and the current native schema, and report the
actual result.
</failure_modes>
<success_criteria>
- The definition implements the governing role and the complete selected native profile.
- The finished definition violates no rule in the
/subagent-standardsor/agent-prompt-standardsrule catalog and is returned with no audit dispatched or awaited. - The calling skill's launch instruction names the exact configured role and supplies only the target.
- The product's author command and focused deterministic checks exit zero on the returned definition, and every emitted definition the result names exists at its path.
- The result names the configuration path, the configured role, each emitted definition, the
pending
/audit-subagentrun, and the pending native loading and minimal isolated execution. - A repair returns, for each finding, the clause applied and the check that shows the class closed, with every same-class site and changed dependency resolved.
- A definition that already holds the requested result returns
unchanged; an absent input or composed skill returnsblocked. - No configuration load or execution approval is claimed before its actual result exists.
</success_criteria>
04 同仓库更多 Skills
plugin
暂无简介
sanitize-powerpoint
ALWAYS invoke this skill when sanitizing, cleaning up, auditing, or aligning a PowerPoint (.pptx) deck — slide-master and layout structure, layout type attributes, stray fonts, non-theme colors, or layout naming. NEVER hand-edit pptx XML without this skill.
draw-excalidraw
ALWAYS invoke this skill when creating Excalidraw diagrams, visualizing workflows, architectures, or concepts. NEVER generate Excalidraw JSON without this skill.
typescript-test-standards
TypeScript test standards enforced across all skills. Loaded by other skills, not invoked directly.
typescript-code-standards
TypeScript code standards enforced across all skills. Loaded by other skills, not invoked directly.
typescript-architecture-standards
TypeScript ADR conventions enforced across architect and auditor skills. Loaded by other skills, not invoked directly.