Skip to content

notque/vexjoy-agent / skills/process/workflow

workflow

Verified

Structured work: multi-phase tasks, feature builds, planning, objective loops, hill climbing.

FileKindSize
SKILL.mdskill md13.2 KB
references/adr-template.mdmarkdown9.4 KB
references/agent-upgrade.mdmarkdown12.5 KB
references/article-evaluation-pipeline.mdmarkdown8.9 KB
references/article-evaluation-pipeline/references/report-template.mdmarkdown2.5 KB
references/article-evaluation-pipeline/references/wabi-sabi-classification.mdmarkdown2.4 KB
references/auto-pipeline.mdmarkdown12.5 KB
references/auto-pipeline/references/pipeline-catalog.jsonconfig15.0 KB
references/auto-pipeline/references/pipeline-catalog.mdmarkdown4.3 KB
references/build_dag.pyscript12.5 KB
references/chain-composer.mdmarkdown20.4 KB
references/chain-composer/references/canonical-chains.mdmarkdown13.9 KB
references/comprehensive-review-workflow.jsscript19.3 KB
references/comprehensive-review.mdmarkdown27.8 KB
references/comprehensive-review/references/output-templates.mdmarkdown10.6 KB
references/comprehensive-review/references/wave-0-per-package.mdmarkdown5.6 KB
references/comprehensive-review/references/wave-1-foundation.mdmarkdown10.4 KB
references/comprehensive-review/references/wave-2-deep-dive.mdmarkdown7.3 KB
references/comprehensive-review/references/wave-3-adversarial.mdmarkdown7.4 KB
references/dag-compatibility-matrix.mdmarkdown13.0 KB
references/dag-composition-patterns.mdmarkdown5.0 KB
references/dag-orchestration-advanced.mdmarkdown6.3 KB
references/dag-orchestration-examples.mdmarkdown11.4 KB
references/dag-skill-patterns.mdmarkdown12.5 KB
references/de-ai-pipeline.jsscript14.6 KB
references/de-ai-pipeline.mdmarkdown6.3 KB
references/discover_skills.pyscript12.1 KB
references/do-perspectives.mdmarkdown11.5 KB
references/doc-pipeline.mdmarkdown9.2 KB
references/domain-research.mdmarkdown32.8 KB
references/domain-research/references/task-type-guide.mdmarkdown11.4 KB
references/explore-pipeline.jsscript18.6 KB
references/explore-pipeline.mdmarkdown15.0 KB
references/fan-out-workflow.jsscript9.7 KB
references/fan-out-workflow.pyscript10.4 KB
references/feedback-loop-construction.mdmarkdown14.3 KB
references/fl-design.mdmarkdown9.6 KB
references/fl-error-handling.mdmarkdown8.5 KB
references/fl-implement.mdmarkdown7.6 KB
references/fl-pipeline.mdmarkdown6.0 KB
references/fl-plan.mdmarkdown11.0 KB
references/fl-release.mdmarkdown3.8 KB
references/fl-shared.mdmarkdown3.6 KB
references/fl-validate.mdmarkdown4.5 KB
references/github-profile-rules.mdmarkdown10.5 KB
references/github-profile-rules/references/rule-categories.mdmarkdown6.5 KB
references/hc-SPEC.mdmarkdown3.3 KB
references/hc-domain-playbooks.mdmarkdown15.4 KB
references/hc-ledger.mdmarkdown3.3 KB
references/hc-profiling-tools.mdmarkdown3.7 KB
references/hill-climb.mdmarkdown9.3 KB
references/hook-development-pipeline.mdmarkdown12.9 KB
references/mcp-pipeline-builder.mdmarkdown16.3 KB
references/mcp-pipeline-builder/references/analysis-checklist.mdmarkdown6.2 KB
references/mcp-pipeline-builder/references/design-rules.mdmarkdown7.1 KB
references/mcp-pipeline-builder/references/evaluation-guide.mdmarkdown7.6 KB
references/mcp-pipeline-builder/references/python-scaffold-template.mdmarkdown9.5 KB
references/mcp-pipeline-builder/references/ts-scaffold-template.mdmarkdown1.6 KB
references/mcp-pipeline-builder/scripts/assemble-scaffold.pyscript6.3 KB
references/mcp-pipeline-builder/scripts/register_mcp.pyscript6.9 KB
references/mcp-pipeline-builder/templates/client-cli.ts.tmplother682 B
references/mcp-pipeline-builder/templates/client-http.ts.tmplother1.4 KB
references/mcp-pipeline-builder/templates/index.ts.tmplother1.1 KB
references/mcp-pipeline-builder/templates/package.json.tmplother477 B
references/mcp-pipeline-builder/templates/readme.md.tmplother1.1 KB
references/mcp-pipeline-builder/templates/tools.ts.tmplother3.0 KB
references/mcp-pipeline-builder/templates/ts-scaffold.tmplother556 B
references/mcp-pipeline-builder/templates/tsconfig.json.tmplother408 B
references/ol-SPEC.mdmarkdown2.4 KB
references/ol-state-file.mdmarkdown2.9 KB
references/pipeline-index.jsonconfig23.9 KB
references/pipeline-orchestrator.mdmarkdown15.3 KB
references/pipeline-orchestrator/orchestration-patterns.mdmarkdown8.1 KB
references/pipeline-orchestrator/preferred-patterns.mdmarkdown4.6 KB
references/pipeline-retro.mdmarkdown19.0 KB
references/pipeline-scaffolder.mdmarkdown22.4 KB
references/pipeline-scaffolder/references/architecture-rules.mdmarkdown18.9 KB
references/pipeline-scaffolder/references/generated-skill-template.mdmarkdown1.9 KB
references/pipeline-scaffolder/references/pipeline-spec-format.mdmarkdown36.8 KB
references/pipeline-scaffolder/references/step-menu.mdmarkdown21.5 KB
references/pipeline-scaffolder/scripts/assemble-skill.pyscript6.3 KB
references/pipeline-scaffolder/templates/phases/decision-planning.md.tmplother1.2 KB
references/pipeline-scaffolder/templates/phases/domain-extension.md.tmplother1.5 KB
references/pipeline-scaffolder/templates/phases/generation.md.tmplother427 B
references/pipeline-scaffolder/templates/phases/git-release.md.tmplother1.1 KB
references/pipeline-scaffolder/templates/phases/interaction.md.tmplother965 B
references/pipeline-scaffolder/templates/phases/learning-retro.md.tmplother1.5 KB
references/pipeline-scaffolder/templates/phases/observation.md.tmplother1.3 KB
references/pipeline-scaffolder/templates/phases/research-gathering.md.tmplother1.2 KB
references/pipeline-scaffolder/templates/phases/review.md.tmplother930 B
references/pipeline-scaffolder/templates/phases/safety-guarding.md.tmplother1.7 KB
references/pipeline-scaffolder/templates/phases/structuring.md.tmplother361 B
references/pipeline-scaffolder/templates/phases/synthesis-reporting.md.tmplother1.9 KB
references/pipeline-scaffolder/templates/phases/validation.md.tmplother1.1 KB
references/pipeline-scaffolder/templates/skill-template.md.tmplother12.0 KB
references/pipeline-test-runner.mdmarkdown16.7 KB
references/pl-ambiguity-triage.mdmarkdown2.7 KB
references/pl-check-dimensions.mdmarkdown7.4 KB
references/pl-check-errors.mdmarkdown824 B
references/pl-check-verdict-format.mdmarkdown3.2 KB
references/pl-check.mdmarkdown6.5 KB
references/pl-context-boundary.mdmarkdown1.6 KB
references/pl-depth-first-interview.mdmarkdown11.6 KB
references/pl-empirical-prototype.mdmarkdown825 B
references/pl-executor-ready-plan-template.mdmarkdown7.7 KB
references/pl-human-source-elicitation.mdmarkdown1.5 KB
references/pl-manage.mdmarkdown5.1 KB
references/pl-pause-confirm-and-errors.mdmarkdown2.1 KB
references/pl-pause-extract-decisions.mdmarkdown3.0 KB
references/pl-pause-gather-steps.mdmarkdown2.3 KB
references/pl-pause-synthesize-fields.mdmarkdown2.3 KB
references/pl-pause-write-templates.mdmarkdown5.3 KB
references/pl-pause.mdmarkdown6.5 KB
references/pl-plan-files.mdmarkdown8.4 KB
references/pl-pre-plan.mdmarkdown11.6 KB
references/pl-resume.mdmarkdown12.3 KB
references/pl-spec.mdmarkdown5.2 KB
references/pr-fix-loop.mdmarkdown10.3 KB
references/pr-fix-loop/references/message-formats.mdmarkdown1.6 KB
references/pr-fix-loop/references/publish.mdmarkdown5.4 KB
references/pr-fix-loop/references/review-checklist.mdmarkdown3.4 KB
references/pr-pipeline/references/pr-templates.mdmarkdown5.4 KB
references/pr-pipeline/references/preflight-checklist.mdmarkdown2.8 KB
references/pr-pipeline/references/retro-adr-phases.mdmarkdown2.7 KB
references/pr-pipeline/references/review-fix-loop.mdmarkdown2.0 KB
references/project-coordinator.mdmarkdown6.5 KB
references/project-coordinator/agent-capability-map.mdmarkdown5.4 KB
references/project-coordinator/communication-protocols.mdmarkdown4.5 KB
references/project-coordinator/coordination-playbook.mdmarkdown3.7 KB
references/project-coordinator/death-loop-prevention.mdmarkdown3.6 KB
references/project-coordinator/error-catalog.mdmarkdown2.7 KB
references/project-coordinator/parallel-execution-patterns.mdmarkdown2.8 KB
references/project-coordinator/preferred-patterns.mdmarkdown5.9 KB
references/project-coordinator/todowrite-integration.mdmarkdown5.6 KB
references/research-pipeline.jsscript15.2 KB
references/skill-creation-pipeline.mdmarkdown17.1 KB
references/system-upgrade.mdmarkdown12.8 KB
references/systematic-debugging.mdmarkdown11.0 KB
references/systematic-refactoring.mdmarkdown11.4 KB
references/toolkit-improvement.jsscript39.0 KB
references/toolkit-improvement.mdmarkdown20.5 KB
references/toolkit-improvement/references/adr-template.mdmarkdown10.5 KB
references/toolkit-improvement/references/agent-roster.mdmarkdown15.8 KB
references/workflow-helpers.jsscript12.1 KB
references/workflow-orchestrator.mdmarkdown20.8 KB
references/workflow-orchestrator/references/plan-template.mdmarkdown1.3 KB
references/workflow-orchestrator/references/task-patterns.mdmarkdown23.3 KB
references/workflow-orchestrator/scripts/assemble-plan.pyscript6.9 KB
references/workflow-orchestrator/scripts/validate.pyscript14.4 KB
references/workflow-orchestrator/templates/plan-template.json.tmplother904 B

references/doc-pipeline.md

View on GitHub
---
description: "Structured 5-phase documentation pipeline with research."
user-invocable: false
allowed-tools:
  - Read
  - Write
  - Bash
  - Grep
  - Glob
  - Edit
  - Task
  - Skill
context: fork
command: /doc
routing:
  triggers:
    - document this
    - create readme
    - write documentation
    - document codebase
    - generate docs
    - technical documentation
    - "create documentation"
    - "write docs"
    - "generate README"
    - "document the API"
  pairs_with:
    - codebase-overview
    - writing
  complexity: medium
  category: documentation
---

# Documentation Pipeline Skill

## Instructions

This skill implements a **5-phase pipeline** for structured documentation creation with artifact persistence at each phase. Every phase produces a saved file to prevent work loss to context decay. Follow CLAUDE.md before starting: read and follow repository CLAUDE.md before any documentation work.

### Phase 1: RESEARCH

**Goal**: Gather comprehensive understanding of the subject before writing a single line of documentation.

**Why research first**: Jumping straight to generating prose based on a quick glance at the code produces shallow documentation that misses edge cases, prerequisites, and actual usage patterns. Users will not trust docs that omit critical details. Aspirational docs rot faster than any other kind of documentation.

**Step 1: Launch parallel subagents**

Three subagents run simultaneously with a 5-minute timeout:

| Subagent | Focus | Output |
|----------|-------|--------|
| Code Analysis | Components, public APIs, dependencies, configuration | Structured findings |
| Usage Patterns | Test examples, common patterns, edge cases, error scenarios | Examples with context |
| Context Gathering | Problem solved, audience, prerequisites, related docs | Context summary |

If a subagent times out (subject is too broad or codebase is very large):
1. Narrow the research scope to a specific module or component
2. Re-launch only the timed-out subagent with a more focused prompt
3. If still timing out, run research sequentially instead of in parallel

**Step 2: Compile research**

Merge subagent findings into a single research document. Resolve any contradictions between subagents by re-reading the actual source code.

**Step 3: Save artifact**

Write compiled research to `doc-research.md` in the working directory.

**Gate**: Research artifact exists with findings from all three subagents. Subject is understood well enough to outline. Proceed only when gate passes.

### Phase 2: OUTLINE

**Goal**: Structure documentation based on research findings before generating prose.

**Why outline first**: Outlining forces you to identify gaps where research is insufficient before you invest time in prose. It also prevents over-documentation where every private method and implementation detail makes readers unable to find what they actually need.

**Step 1: Identify sections**

Standard documentation structure (adapt based on subject):

```markdown
# [Subject]
## Overview        - What it is, what problem it solves
## Setup           - Installation, configuration, prerequisites
## Quick Start     - Minimal working example
## Usage           - Detailed usage with examples
## API Reference   - Function/method signatures (if applicable)
## Troubleshooting - Common issues and solutions
## See Also        - Related documentation
```

**Step 2: Assign research to sections**

Map each research finding to the section where it belongs. Identify gaps where research is insufficient and gather additional information. Document only public APIs, common tasks, and what users actually need to accomplish — not internal constants or every private method.

**Step 3: Save artifact**

Write outline to `doc-outline.md` in the working directory.

**Gate**: Outline covers all necessary sections. Every section has assigned content from research. No gaps remain. Proceed only when gate passes.

### Phase 3: GENERATE

**Goal**: Write documentation that is clear, accurate, and useful to the target audience.

**Why verify before publishing**: Documentation that sounds like a press release ("The system leverages enterprise-grade functionality...") drives readers away. Write like you're explaining to a colleague. Be direct. Be specific. Cut filler.

**Step 1: Load context**

Read `doc-research.md` and `doc-outline.md` to ground generation in verified facts.

**Step 2: Write each section**

For each outlined section:
- Write in clear, direct prose. Use concrete language instead of filler phrases and hedging.
- Include working code examples drawn from research findings
- Assume the reader's knowledge level matches the identified audience
- Start with what the user needs to know most urgently

**Step 3: Save artifact**

Write complete draft to `doc-draft.md` in the working directory.

**Gate**: Draft covers every section from the outline. All code examples are included. No placeholder text remains. Proceed only when gate passes.

### Phase 4: VERIFY

**Goal**: Prove every claim and example in the documentation is accurate.

**Why verification is mandatory**: Unverified docs erode trust over time. Broken examples destroy documentation credibility — one bad example makes users distrust all examples. If examples were derived from outdated patterns, test mocks, or incomplete context, execution will reveal the problem. Never document code that does not yet exist or features that are aspirational.

**Step 1: Execute code examples**

Run every code snippet in the documentation. Capture output. Compare against documented expectations.

If an example fails:
1. Re-read the actual source code for the function being demonstrated
2. Check if the function requires specific setup or environment
3. Rewrite the example based on working test cases in the codebase
4. If the function itself is broken, document the limitation rather than a broken example

**Step 2: Validate API signatures**

Cross-reference every function name, parameter, and return type against actual source code.

**Step 3: Check installation steps**

If the documentation includes setup instructions, execute them in order and confirm they work.

**Step 4: Fix issues**

For each verification failure:
1. Determine whether the documentation or the example is wrong
2. Fix the documentation to match reality (not the other way around)
3. Re-verify the fixed section

Maximum 3 fix-and-verify iterations. If still failing after 3 attempts, flag the section with a `<!-- NEEDS REVIEW -->` comment and proceed.

**Special case — No Usage Patterns**: If research finds no usage patterns (code is new, untested, or internal-only with no existing consumers):
1. Check git history for how the author used the code in commits
2. Look for related test files that exercise the code paths
3. Read the code directly and construct examples from the API surface
4. Flag the documentation as "based on API analysis, not observed usage"

**Gate**: All code examples execute. API signatures match source. Installation steps work. Proceed only when gate passes.

### Phase 5: OUTPUT

**Goal**: Deliver final documentation to its target location.

**Step 1: Write to target**

Copy verified documentation to the requested output location. If no location specified, write to the most logical path in the repository.

**Step 2: Produce verification report**

Append a brief summary of what was verified:

```markdown
<!-- Verification Report
- Code examples: X/Y passed
- API signatures: verified against source
- Installation steps: executed successfully
- Generated: [date]
-->
```

**Step 3: Clean up artifacts**

Remove `doc-research.md`, `doc-outline.md`, and `doc-draft.md` unless the user requests they be kept.

**Gate**: Final documentation exists at target location. Verification report attached. Artifacts cleaned up.

---

## Error Handling

### Error: "Subagent Timeout During Research"
Cause: Subject is too broad or codebase is very large, causing subagents to exceed 5-minute timeout
Solution:
1. Narrow the research scope to a specific module or component
2. Re-launch only the timed-out subagent with a more focused prompt
3. If still timing out, run research sequentially instead of in parallel

### Error: "Code Examples Fail Verification"
Cause: Examples were derived from outdated patterns, test mocks, or incomplete context
Solution:
1. Re-read the actual source code for the function being demonstrated
2. Check if the function requires specific setup or environment
3. Rewrite the example based on working test cases in the codebase
4. If the function itself is broken, document the limitation rather than a broken example

### Error: "Research Finds No Usage Patterns"
Cause: Code is new, untested, or internal-only with no existing consumers
Solution:
1. Check git history for how the author used the code in commits
2. Look for related test files that exercise the code paths
3. Read the code directly and construct examples from the API surface
4. Flag the documentation as "based on API analysis, not observed usage"

---

## References

This skill follows CLAUDE.md requirements for artifact persistence, verification gates, and scope discipline. Every claim must be verified against source code before publication. Code examples must be executed. Installation steps must be tested end-to-end. Documentation must represent what exists today, not aspirational features.
planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies.Stars: 108kUpdated Claude CodeCodexVerifiedInstall
meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要".Stars: 108kUpdated Claude CodeCodexVerifiedInstall