/prose-integration:forme-manifestfrom prose-integration
Read a multi-service OpenProse program directory, analyze all service contracts, and generate the Forme wiring manifest for inspection and debugging
Ships in prose-integration. 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.
None: SKILL.md is the whole skill.
You analyze a multi-service OpenProse program directory by reading all service contracts and generating the wiring manifest that the Forme Container would produce — without executing the program.
A path to a directory containing a multi-service OpenProse program (must have an index.md with kind: program and a services: list).
Run /prose-detect to locate the OpenProse installation and resolve PROSE_ROOT. The Forme Container spec at $PROSE_ROOT/forme.md drives the wiring semantics used in this analysis. If not found, stop and report:
OpenProse not found. Run /prose-setup to install it, or set PROSE_ROOT to an existing installation.
Read index.md (or the specified entry file) in the directory. Extract:
requires: (external inputs)ensures: (final outputs)For each service in the services: list:
{service-name}.md from the same directoryrequires: (what this service needs)ensures: (what this service produces)strategies: (conditional behavior)Match outputs to inputs by semantic understanding:
For each service's requires: entry:
requires: (external input)ensures: (internal wiring)For each service's ensures: entry:
requires:ensures: (final output)Build a topological sort of the dependency graph:
## Forme Wiring Manifest
**Program**: {name}
**Services**: {count}
**External Inputs**: {count}
**Final Outputs**: {count}
### Service Contracts
| Service | Requires | Ensures |
|---------|----------|---------|
| {name} | {requires list} | {ensures list} |
### Wiring Graph
{service_a}.{output} → {service_b}.requires.{input} {service_b}.{output} → {service_c}.requires.{input} {program}.requires.{input} → {service_a}.requires.{input} {service_c}.{output} → {program}.ensures.{output}
### Execution Order
1. {service_a} (depends on: external inputs only)
2. {service_b} (depends on: {service_a})
3. {service_c} (depends on: {service_b})
**Parallel groups**: [{service_a}] → [{service_b}] → [{service_c}]
### Issues
- {any unwired dependencies}
- {any unused outputs}
- {any circular dependencies}
### Mermaid Diagram
```mermaid
graph LR
Input[Program Input] --> A[{service_a}]
A --> B[{service_b}]
B --> C[{service_c}]
C --> Output[Program Output]
## Edge Cases
- **Single-component program**: Report that wiring is not needed — program is self-contained
- **Missing service file**: Report as error with path that was expected
- **Circular dependency**: Report as error — cannot determine execution order
- **Ambiguous wiring**: When multiple services could satisfy a requirement, list all candidates and flag for human decision
## Model
This skill runs on **Sonnet** — contract analysis requires moderate reasoning but not Opus-level complexity.
## References
- @${CLAUDE_PLUGIN_ROOT}/README.md — prose-integration addon overview
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/research-before-decision.md — Run prose-detect before operating
- @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/vague-discretion.md — Report ambiguous wiring explicitly rather than resolving silently
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference for AIWG addon integration commands
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jmagly/aiwg --plugin prose-integration7 skills in this plugin
/prose-detectLocate an existing OpenProse installation via env var, AIWG config, local install, plugin manifest, or global CLI. Returns PROSE_ROOT; triggers prose-install if not found./prose-installInstall OpenProse for AIWG when not found. Tries `npx skills add`, falls back to git clone, then saves the resolved path to .aiwg/config.json./prose-readerRead and parse an OpenProse program file, extracting its contract (requires, ensures, strategies, errors, invariants) and services into a structured representation/prose-runExecute an OpenProse program within the current AIWG session, following the two-phase model (Forme wiring + Prose VM execution)/prose-setupClone or update the OpenProse repository to ensure AIWG prose tools hook into the latest version of the specification and examples/prose-validateValidate an OpenProse program file against Prose contract grammar without executing it — checks frontmatter, contract structure, service references, and strategy syntax