/itential-builder:project-to-spec [project-name or project-id]from itential-builder
Reverse-engineers an existing Itential project into a customer requirements spec and solution design by reading its workflows, templates, and MOP components. Use when a user names a specific project and wants it documented.
Ships in itential-builder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Purpose: Read an existing project → produce documentation
Output: customer-spec.md (inferred HLD) + solution-design.md (as-built LLD)
Feeds into: Can be handed directly to /solution-arch-agent (design-only mode) or /spec-agent for refinement
Before using this skill, check custom/org/, custom/team/ and custom/dev/
in this skill's own folder. Read every .md file found — any folder may be
empty or absent. Apply them on top of everything below; where a file overrides a
specific rule here, follow the override. More specific wins: dev > team > org >
this document. No customization may weaken this skill's safety
rules or put credentials in committed files.
assets/ or scripts/ are
relative to this skill's own folder. When you read one, or pass one to a shell
command (which runs from the user's working folder), use this skill's folder +
that relative path — e.g. <this skill's folder>/assets/helpers/create/create-workflow.json.Takes an undocumented or partially-documented project and produces the spec and design documents that should have existed before it was built. The engineer reviews and corrects the inferred documents — then they can feed into the standard delivery lifecycle for updates, rebuilds, or knowledge transfer.
Existing Project
│
├── Pull all components (workflows, templates, MOP)
├── Read each workflow: tasks, adapters, transitions, data flows
├── Infer: business purpose, phases, inputs, outputs, integrations
│
├── customer-spec.md ← inferred HLD (engineer reviews + corrects)
└── solution-design.md ← as-built LLD (actual component inventory)
Ask the engineer for a project name or ID. Then pull the project:
GET /automation-studio/projects/{projectId}
Or search by name:
GET /automation-studio/projects?contains=name:{projectName}
Response: {message, data: {_id, name, components: [...], members: [...]}}
Save the project ID and component list.
Project list/get responses are RBAC-filtered. A 404 or empty data array does NOT prove the project doesn't exist — it may be invisible to the calling client.
Important: see assets/AGENTS.md's "Project Visibility" section for why a project might not appear in a list response despite existing (per-project ACLs, no platform-wide admin role).
Before declaring the project missing, do all of:
GET /iam/clients/{client_id} (the client_id from .auth.json or the env file). Note its group memberships — these (together with the client itself) determine which project ACLs it might be on.GET /automation-studio/projects?limit=500 and inspect the result for partial-name matches; the contains filter is case-sensitive in some Platform versions.{name} is visible to this client ({client_id}). It may not exist, or it may be access-restricted. To confirm, ask the project's owner (or someone with manage rights on that project) to add {client_id} to its ACL via the Automation Studio UI."Stop and wait for engineer direction before proceeding to Step 2.
For each component in the project, fetch the full document.
Workflows:
GET /automation-studio/workflows/detailed/{urlEncodedName}
Templates:
GET /automation-studio/templates/{id}
MOP Command Templates:
GET /mop/listATemplate/{name}
For each workflow, extract and save locally:
tasks — every task with name, app, adapter, incoming/outgoing variablestransitions — the flow between tasksinputSchema / outputSchema — what the workflow accepts and returnsSave to {use-case}/project-components.json.
Use the "Analyze the Components" methodology in the /documentation skill (Identify the orchestrator → Map the data flow → Infer the phases → Reconstruct acceptance criteria) — it's the same reverse-engineering approach for a single project as for a full-platform survey. Apply it to just this project's components.
customer-spec.mdWrite the inferred HLD. Use the standard spec structure but mark inferred sections clearly.
# Use Case: {Inferred Name}
> **Note:** This spec was produced by reading project `{projectName}` ({projectId}).
> Review and correct any inferences before using as a delivery baseline.
## 1. Problem Statement
{Inferred from workflow descriptions, adapter usage, and task summaries}
## 2. High-Level Flow
{Inferred from orchestrator transition graph}
## 3. Phases
{One section per major workflow / childJob cluster}
## 4. Key Design Decisions
{Inferred from adapter choices, error handling patterns, approval gates}
## 5. Scope
**In scope (as built):** {list components that exist}
**Not observed:** {common patterns not present — rollback, notifications, etc.}
## 6. Risks & Mitigations
{Inferred from error transitions, evaluation branches}
## 7. Requirements
### Capabilities
{Derived from apps and tasks used}
### Integrations
{Derived from adapter names and instance IDs}
## 8. Batch Strategy
{Inferred from childJob loopType usage}
## 9. Acceptance Criteria
{Inferred from outputSchema and evaluation checks}
solution-design.mdWrite the as-built LLD — this is factual, not inferred.
# Solution Design: {Project Name}
> **As-Built** — produced by reading project `{projectId}`.
## A. Environment Summary
{Platform, adapters found, apps used}
## B. Component Inventory
| # | Component | Type | Workflow/Template Name | ID |
|---|-----------|------|----------------------|-----|
| 1 | {name} | {workflow/template/mop} | {actual name} | {id} |
...
## C. Adapter Mappings
| Adapter | app name | adapter_id | Tasks Used |
|---------|----------|-----------|------------|
| ServiceNow | Servicenow | ServiceNow | createChangeRequest, updateChangeRequest |
...
## D. Workflow Structure
For each workflow: inputs, task sequence, outputs, error handling pattern.
## E. Data Flow
Key variables and how they move between tasks and workflows.
## F. Known Gaps
Patterns not present that are typically expected:
- No rollback logic observed
- No notifications (email/Teams)
- No audit trail
etc.
Before presenting to the engineer, create {use-case}/use-case-memory.md from assets/helpers/use-case-memory.md and populate it with what you just read — don't leave this for later:
_id, adapter instance names and type names, group memberships observedexistingStage: delivered, Status: active if the project is fully in production and this is pure documentation; Stage: requirements (or wherever the engineer decides to re-enter) if this is a baseline for a rebuild or refinementThis means any skill that picks up from here (spec-agent, solution-arch-agent, builder-agent, qa-agent) starts with the real IDs already recorded — no re-discovery.
Show both documents and walk through:
/spec-agent to refine the requirements with the engineer/solution-arch-agent in design-only mode to produce an updated implementation planSee the /documentation skill's "What to Watch For" list (orphaned tasks, non-hex task IDs, static values as business-rule indicators, missing error transitions) — same heuristics apply to a single project. One addition specific to reverse-engineering a single project:
Deep nesting: childJob → childJob → childJob patterns indicate a modular design — document each layer separately.
@projectId: prefix — strip it when displaying to the engineerGET /automation-studio/workflows?exclude-project-members=false is needed to list project-owned workflowsdata field is a JSON string, not an object — parse it before analyzingworkflow field shows the child workflow name (with prefix) — this is the dependency graphassets/AGENTS.md Project Visibility). Follow the "If the project is not returned" path in Step 1 — never silently switch to a different project, never declare absence without surfacing the visibility caveat, and never grant the calling client access on its own initiative.What SKILL.md sets; muted values are Claude Code's defaults
19 skills in this plugin
/builder-agentUse this skill when someone has an approved solution design and is ready to build. Trigger it for phrases like "solution design is approved", "go ahead and build", "implement the design", "create the workflows", "build everything per the design", or "the design is locked — implement it". Also trigger it when a build is failing mid-way and needs debugging, or when /qa-agent hands back a failing test case for a fix. This skill implements the approved solution-design.md end-to-end — creating all workflows, templates, projects, and configs, and testing each component individually. If the user has a solution-design.md and wants to turn it into working automation, this is the right skill. Invoke after /solution-arch-agent produces an approved solution-design.md. Hands off to /qa-agent once the build is complete — /qa-agent owns acceptance testing and the as-built record. Logs in with its bundled auth helper: never read `.env` yourself./documentationUse this skill to survey and catalog an Itential platform — when someone wants to know what's on their platform, document global assets (workflows, templates, LCM models, golden config, OM automations) that are NOT inside a named project, group them into logical use cases, and produce a master catalog or README. Trigger it for phrases like "document everything on the platform", "what use cases do we have?", "catalog all our global workflows", "I inherited this platform and have no idea what's there", "group our automations by use case", or "produce a platform README". The output is a structured catalog — customer-spec.md + solution-design.md per use case + master README. NOT for documenting a specific named project — use /project-to-spec for that. NOT for building new automation. Logs in with its bundled auth helper: never read `.env` yourself./exploreUse this skill whenever someone wants to connect to an Itential platform and browse, inspect, or discover what's there — without starting a formal delivery. Trigger it for phrases like "connect to my platform", "show me what adapters are running", "authenticate and pull platform data", "I want to poke around before starting", "what workflows exist?", "give me an inventory of the platform", "browse capabilities freely", "check if adapter X is running", or "I just set up a new environment — show me what's there". Also use it for ad-hoc freestyle work where the user wants to build something directly without going through the full spec→design→build lifecycle. Logs in with its bundled auth helper: never read `.env` yourself./flowagentDesign, build and test AI agents on the Itential Platform (Agent Project Service, Model Registry Service, Tools Service, Agent Session Manager). Agents use LLMs to call platform tools, including other agents. Use when designing or building agents, parent and child agents, LLM provider profiles, tools, decorators or human approval steps, attaching skills to agents, or when running test sessions to check an agent. To write or import the skills themselves, use /flowagent-skill-builder./flowagent-skill-builderUse this skill to write, package, import and test skills for FlowAgent (FlowAI) agents on the Itential Platform — the procedure packages an agent loads on demand alongside its tools. Trigger it for phrases like "write a skill for my agent", "create a FlowAgent skill", "turn this runbook into an agent skill", "import this skill into FlowAgent", or "add a vendor to this agent skill". Skills follow the Agent Skills format in the shape of itential/infra-agent-skills (one operation per skill, a short SKILL.md that routes to per-vendor procedure and endpoint files), so skills from that library import unchanged. NOT for building, configuring or running the agents themselves — use /flowagent for that./flowagent-to-specConvert a FlowAgent into a deterministic workflow spec. Reads the agent definition, tools, and session history (Agent Project Service / Agent Session Manager APIs) to understand what the agent does, then produces a customer-spec.md that describes the same use case as structured, deterministic automation. Turns agentic → deterministic.npx claudepluginhub itential/builder-skills --plugin itential-builderOther plugins' skills for the same job