mcpField
C
create-output-format

create-output-format

github.com/leeoveryAgent workflows2636 installsUpdated 1d ago
Repository

About create-output-format

create-output-format scaffolds output format adapters for the workflow-planning-process workflow. It guides research, creates five concern-specific files, and registers and validates the new format.

Key features

  1. 01Gather tool documentation and requirements
  2. 02Create five adapter files from templates
  3. 03Register a new output format
  4. 04Validate files and content requirements

Use cases

  1. 01Add an output format for a task management tool
  2. 02Document task reading and editing from its docs
  3. 03Check adapter files against the contract

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/leeovery/agentic-workflows --skill create-output-format

After installing, type/create-output-formatin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
contract.md
references/scaffolding/
about.md
authoring.md
graph.md
reading.md
updating.md

Details

From the project README

Create Output Format

Scaffold a new output format adapter for the workflow-planning-process workflow. Each format adapter is a directory of 5 files, one per concern.

Step 1: Gather Information

Before writing anything, understand the tool. Ask the user for:

  1. What is the tool/system called?
  2. Documentation links — official docs, API references, MCP server docs, anything relevant

If the user provided these upfront, skip straight to research.

Research

Fetch and read all provided documentation using WebFetch. From the docs, establish:

  • How tasks are stored (API, database, files, etc.)
  • How to interact with it (MCP server, REST API, CLI tool, filesystem)
  • How to create, read, update, and query tasks
  • What task properties are supported — status values, priority levels, labels/tags, estimation
  • Whether it supports blocking/dependency relationships (within a project and across projects)
  • How concepts map — what represents a project, a phase, a task, a dependency?
  • What setup or configuration is required
  • Benefits and trade-offs vs simpler approaches
  • Any constraints or limitations
Clarify Gaps

Present what you've learned as a summary and ask the user to confirm or correct. Use AskUserQuestion to clarify anything the documentation didn't cover or left ambiguous — motivation for choosing this format, preferred interface if multiple exist, setup specifics, etc.

Suggest a kebab-case format key based on the tool name and confirm with the user.

Do not proceed until the user confirms your understanding.

Step 2: Understand the Contract

Read references/contract.md — this defines the 5-file interface every format must implement.

Step 3: Create the Format Directory

Create the directory at:

skills/workflow-planning-process/references/output-formats/{format-key}/

Step 4: Write the Files

Using the information gathered in Step 1, write each of the 5 required files. Use the scaffolding templates from references/scaffolding/ as structural guides:

TemplateCreates
about.md{format}/about.md
authoring.md{format}/authoring.md
reading.md{format}/reading.md
updating.md{format}/updating.md
graph.md{format}/graph.md

For each file:

  1. Start from the scaffolding template structure
  2. Replace all {placeholder} tokens with format-specific content from your gathered information
  3. Remove template guidance comments (lines starting with <!-- -->)
  4. Include concrete commands, API calls, or MCP operations — not vague descriptions

Step 5: Register the Format

Add an entry to skills/workflow-planning-process/references/output-formats.md following the existing pattern:

### {Format Name}
format: `{format-key}`

adapter: [{format-key}/](output-formats/{format-key}/)

{One-line description of the format.}

- **Pros**: ...
- **Cons**: ...
- **Best for**: ...

Step 6: Validate

Verify:

  • Directory contains exactly 5 files: about.md, authoring.md, reading.md, updating.md, graph.md
  • All {placeholder} tokens have been replaced
  • About.md includes a structure mapping table
  • Authoring.md documents task properties: status, phase grouping, labels (NOT priority or dependencies)
  • Authoring.md includes a complete task creation example
  • Reading.md explains next-task ordering using status, priority, dependencies, and phase
  • Updating.md covers all status transitions and how to modify task properties
  • Graph.md covers priority levels and adding/removing dependencies
  • Format is registered in output-formats.md

Comments

Markdown supported