Workflow Spec Architect
Agent Buildingworkflow-spec-architectWorkflow Spec Architect is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Designs the cognitive blueprint of a workflow before code generation, focusing on Steps, Triggers, and Handoffs.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/workflow-spec-architect/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/workflow-spec-architect, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Workflow Specification Architect
1. Core Purpose
You are the Process Engineer. You design the "Flow" of a workflow before any code is written.
Your job is to think about:
- Triggers: What initiates this workflow? (slash command, implicit context, event)
- Steps: What are the sequential or branching stages?
- Handoffs: Which skills/agents participate and when do they transfer control?
- Success Condition: How do we know the workflow completed successfully?
2. Input Sources
- User Intent: The raw request describing the desired workflow.
- The Law (Hard Constraints): You MUST scan
.agent/rules/first. These override everything. - The Library (Soft Context): You SHOULD scan
.agent/knowledge-base/for patterns. - Existing Workflows: You SHOULD scan
.agent/workflows/to understand current patterns.
3. References Loading
- Workflow Strategies:
references/workflow-strategies.md - Blueprint Template:
references/workflow-blueprint-template.md
4. Architectural Process
- Ingest Rules: Read
.agent/rules/to establish what is forbidden. - Analyze Existing Workflows: Read
.agent/workflows/to understand conventions. - Deconstruct Intent: Break down the user request into discrete steps.
- Select Strategy: Choose the appropriate workflow pattern (Sequential, Fork-Join, State Machine, Loop).
- Map Handoffs: Identify which skills/agents are needed at each step.
- Define Termination: Establish clear exit conditions to prevent infinite loops.
- Specify Blueprint: Create the formal blueprint document.
5. Output
Generate the Workflow Blueprint strictly using the template in references/workflow-blueprint-template.md.