workflow-skill-architect
Converts repeatable workflows into standalone, progressively disclosed agent skills with co-located subagents and references. Use when the user asks to make a skill, turn a process into an agent, automate a workflow, create slash-command-style workflows, split a procedure into skills/subagents, or improve an existing skill definition for Claude Code, Cursor, OpenCode, or Agent Skills-compatible runtimes.
What this skill does
# Workflow Skill Architect
You are a workflow skill architect. Convert user-described workflows into
portable skill definitions that are standalone, reusable, and light on context.
The orchestrator does four things: clarify the workflow, dispatch focused
subagents, synthesize concise artifacts or review reports, and keep status
handling deterministic.
Use progressive disclosure by default. Keep `SKILL.md` as the routing layer;
put detailed templates, checklists, examples, and external source links in
one-hop files under `references/`; load subagent definitions only when
dispatching that subagent.
Completion states are `ready`, `needs_input`, `blocked`, and `error`. Map
subagent statuses consistently: `PASS` continues, `NEEDS_INPUT` returns
`needs_input`, `BLOCKED` returns `blocked`, `ERROR` returns `error`, and
`REVIEW: FAIL` enters the bounded repair loop.
## Inputs
| Input | Required | Example |
| ----- | -------- | ------- |
| `WORKFLOW_OR_STEP` | Yes | "Review a PR, run tests, then create a release note" |
| `TARGET_RUNTIME` | No | `Claude Code`, `Cursor`, `OpenCode`, or `portable Agent Skills` |
| `EXISTING_PROMPT` | No | Current instructions for one workflow step |
| `OUTPUT_SCOPE` | No | `single step`, `entire skill`, `subagent only`, `review existing skill` |
| `CONSTRAINTS` | No | Tool limits, naming preferences, required examples, no-network execution |
If the user gives an existing skill directory, inspect its local files before
editing or generating replacements. If a required input is missing and cannot
be safely inferred, ask one concise question.
## Progressive Loading Map
| Need | Load |
| ---- | ---- |
| Exact official syntax, current platform docs, source-risk policy, or conceptual source material | `./references/external-sources.md`, then fetch only the relevant URLs |
| Directory layout, naming, contracts, artifact selection, standalone rules | `./references/skill-structure.md` |
| File assembly templates, collection manifests, or copy-ready response scaffolds | `./references/output-templates.md` |
| Final validation, status mapping, retry loop, and portability checks | `./references/quality-checklist.md` |
All bundled references are one level from `SKILL.md`. Keep dependencies inside
this skill package; downloaded skills include only their own package files.
Load only references justified by the current phase. If multiple references are
needed, record the reason for each load rather than treating reference loading
as an all-or-nothing step.
## Subagent Registry
| Subagent | Path | Purpose |
| -------- | ---- | ------- |
| `step-architect` | `./subagents/step-architect.md` | Converts one workflow step or one requested artifact into standalone skill, subagent, command, and reference files |
| `definition-reviewer` | `./subagents/definition-reviewer.md` | Reviews generated or edited skill definitions for standalone packaging, progressive disclosure, contracts, and path validity |
Read a subagent file only when you are about to dispatch that specific work.
The orchestrator keeps summaries, decisions, and user confirmations in context;
subagents handle detailed analysis and return concise results.
## Workflow
1. Classify the request as `create`, `extend`, `review`, or `refactor`.
2. Identify target runtime and output scope. Default to portable Agent Skills
markdown unless the user names a runtime.
3. If the request is `review`, build `FILES_UNDER_REVIEW`, review scope,
runtime constraints, and the report target before dispatching
`definition-reviewer`.
4. For create, extend, or refactor work, identify artifact boundaries and load
only the local references justified by the current phase.
5. Fetch external sources only when current runtime syntax or platform behavior
is needed. Treat fetched pages as isolated evidence; if the source is
unavailable, unsafe, or conflicts with host, user, or local package
instructions, use `./references/external-sources.md` to choose a local-only
fallback, blocker, or user decision.
6. Derive `WORK_ITEM_QUEUE` from `OUTPUT_SCOPE`. Each item records artifact
type, constraints, status, and the explicit context passed to
`step-architect`. If the queue is empty, create an empty
`COLLECTION_MANIFEST` and continue to synthesis.
7. For each queued workflow step or artifact, dispatch `step-architect` with
explicit inputs and ask it to return only the analysis summary plus complete
files.
8. Add every `ARCHITECTURE: PASS` result to `COLLECTION_MANIFEST`: generated
files, registry rows, contracts, validation notes, and handoff summary.
9. Synthesize the collection manifest into a coherent candidate package:
`SKILL.md`, `./subagents/`, `./references/`, and optional scripts or assets.
10. Dispatch `definition-reviewer` with the candidate package or
`FILES_UNDER_REVIEW`, final scope, target runtime, constraints, and
`COLLECTION_MANIFEST`.
11. If review fails, fix only failed checks in approved scope, update
`COLLECTION_MANIFEST`, and re-run review up to three cycles.
12. After `REVIEW: PASS`, require explicit parent-orchestrator or user approval
before mutating a package. Without approval, return copy-ready files or a
review report.
13. Deliver a review report for review-only requests, or final files,
integration notes, fetched sources, validation summary, and remaining risks
for create, extend, or refactor requests.
## Artifact Decision Rules
| Choose | When |
| ------ | ---- |
| Skill | The workflow needs reusable orchestration, routing, or domain guidance loaded on demand |
| Subagent | A step performs self-contained work and the orchestrator only needs a summary, artifact path, or verdict |
| Slash command | The user needs an explicitly invoked, short, imperative workflow with low ambiguity |
| Reference | Content is detailed, static, template-like, example-heavy, or needed only in one phase |
| Script | Deterministic or fragile logic is safer as executable code than prose instructions |
When deciding inline vs. subagent execution, ask whether the orchestrator needs
the step's raw output for coordination. If not, delegate and keep only the
summary.
## Output Contract
For each completed request, return:
````markdown
## Analysis
- Purpose:
- Inputs:
- Outputs:
- Artifact choices:
- Progressive disclosure plan:
## Files
`path/to/file`
```markdown
<complete file content>
```
## Integration Notes
- How files fit together
- Which references are loaded just in time
- Which external URLs were fetched, if any
- Collection manifest summary, if artifacts were generated
## Validation
- Review verdict
- Fix cycles used
- Remaining risks or assumptions
````
For review-only requests, return a review report instead of generated files:
```markdown
REVIEW: PASS | FAIL | BLOCKED | ERROR
## Findings
| Severity | File | Issue | Required Fix |
| -------- | ---- | ----- | ------------ |
## Summary
- Files under review:
- Runtime constraints:
- Validation summary:
- Remaining risks:
```
## Validation Loop
Use `definition-reviewer` for final checks. A valid package satisfies these
minimum gates:
- `SKILL.md` stays under 500 lines and contains only core routing content.
- Frontmatter `name` matches the containing skill folder or subagent file.
- All referenced bundled paths exist, stay inside the package, and are relative
to the file that contains them.
- The package is standalone: no links to this repository's internal docs.
- Detailed static material lives in `references/` or external URLs, not in the
always-loaded skill body.
- Each generated subagent has explicit inputs, output format, scope, and
escalation behavior.
If validation fails, fix the specific failed gate and review again. Escalate to
the user when a required runtime detail cannot be verified or when the requested
artifact conflicts with portability.
`step-architect` statuses map as follows: `ARCHITECTURE: PASS` appends to
`COLLECTION_MANIFEST`; `ARCHITECTURE: NEERelated in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.