Skip to content

SKILL.md Orchestrator API Reference

Quick Reference

  • File: SKILL.md (295 lines)
  • Type: Main entry point and router
  • Input: 10-parameter config object
  • Output: Routes to appropriate skills

The orchestrator accepts a config object with 10 parameters:

#ParameterTypeRequiredDefault
1DOC_TYPEenumYesall
2FORMATenumYesastro
3SCOPEenumYesfull
4FOCUS_TARGETstringNonull
5LANGUAGEstringYesauto-detect
6I18NbooleanNofalse
7RECORDbooleanNofalse
8PROJECT_PATHpathYesworkspace
9SEObooleanNotrue
10LLM_OPTIMIZEbooleanNotrue
graph TB

    D{"DOC_TYPE?"}
    K["knowledge\npersona + jtbd + flow"]
    T["tech\narchitecture + DB + deploy"]
    S["sop\nknowledge first, then SOPs"]
    A["api\nendpoint reference"]
    ALL["all\nknowledge โ†’ tech โ†’ sop โ†’ api"]

    D -->|"knowledge"| K
    D -->|"tech"| T
    D -->|"sop"| S
    D -->|"api"| A
    D -->|"all"| ALL

Routing summary: The orchestrator maps DOC_TYPE to the corresponding skill files. For all, it runs all types sequentially: knowledge โ†’ tech โ†’ sop โ†’ api. For sop, it auto-runs knowledge first if not already generated.

StepActionCondition
1Gather inputAlways
1bGenerate execution planAlways
2Analyze codebaseAlways
3Apply content guidelinesAlways
3bApply SEO + LLM guidelinesIf SEO=yes or LLM=yes
4Generate documentsBased on DOC_TYPE
5ExportBased on FORMAT
5bGenerate sitemapIf SEO=yes
5cRun SEO auditIf SEO=yes
6SummaryAlways