@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md
$ARGUMENTS
@${CLAUDE_SKILL_DIR}/../../meta/ase-format-meta.md @${CLAUDE_SKILL_DIR}/../../meta/ase-format-spec.md @${CLAUDE_SKILL_DIR}/../../meta/ase-format-arch.md
Procedure
The recognized artifact kinds are the seven tokens
TASK,SPEC,ARCH,CODE,DOCS,INFR, andOTHR. Parse as the comma-separated kind list. Upper-case and trim every parsed kind token. Do not output anything.Only output the following and then immediately STOP processing the entire current skill:
If any token in is not one of the seven recognized kinds, only output the following (with set to the first offending token) and then immediately STOP processing the entire current skill:
Report the resolved source with the following :
Do not output anything in this STEP 2.
For all kinds in , call the
ase_artifact_list(kind: [ ... ])tool of theaseMCP server once, passing the lower-casedkindtokens, and read the returnedartifactsarray of{ kind, files }objects to obtain the project-relative file list per kind.Honor the filtering to reduce the source artifacts and/or the aspects of those artifacts you should take into account.
Internalize and honor the artifact-format conventions:
- the artifact-set/artifact/aspect/export meta information (
ase-format-meta.md), - the
SPECformat (ase-format-spec.md), - the
ARCHformat (ase-format-arch.md).
In particular, internalize the generic Artifact Export contract of
ase-format-meta.md(the- Export:bullet, the side-by-side file-name convention, and the rule that an artifact without an- Export:bullet is not exported), and which artifacts declare an export in theSPECandARCHformats.- the artifact-set/artifact/aspect/export meta information (
Read all resolved source artifacts and build a precise understanding of the content of each artifact that declares an export.
For each read source artifact that declares an
- Export:bullet in its format definition, materialize the declared export:Build the derived rendering exactly as described by the artifact's , faithfully reflecting the artifact's current content -- no more, no less. Honor No Fabrication: never invent content the artifact does not support.
For an export whose is a Mermaid diagram converted to SVG, build the Mermaid specification from the artifact content and render it to an SVG document by calling the
ase_diagram(diagram: "<mermaid-spec/>", format: "svg")tool of theaseMCP server, using itstextoutput field as the SVG document. For a textual export (e.g. a Markdown table), build the content directly. For Markdown tables, honor the table-alignment rule ofase-skill.md.Determine the side-by-side target file name
Write the derived rendering to that resolved path via the
Writetool, overwriting any pre-existing export file of the same name.
Report the materialized exports with the following , listing one bullet line per written file (with its project-relative path and an ultra-brief description of what was exported):
<file/>: [...]
Only output the following :