Skip to content

Restructure skills to distinguish workflows from standalone skills#169

Merged
nhorton merged 5 commits intomainfrom
claude/fix-workflow-job-distinction-MN0ug
Jan 27, 2026
Merged

Restructure skills to distinguish workflows from standalone skills#169
nhorton merged 5 commits intomainfrom
claude/fix-workflow-job-distinction-MN0ug

Conversation

@nhorton
Copy link
Contributor

@nhorton nhorton commented Jan 26, 2026

Summary

This PR restructures the skill documentation and job definitions to clearly distinguish between multi-step workflows and standalone skills. The changes improve clarity about which skills are part of coordinated workflows versus those that can be run independently.

Key Changes

  • Added explicit workflow definitions to job.yml files for add_platform, commit, deepwork_jobs, and manual_tests jobs, each with a named workflow (e.g., "integrate", "full", "new_job", "run_all") and ordered step sequences

  • Renamed workflow references throughout skill documentation:

    • add_platform workflow → "integrate"
    • commit workflow → "full"
    • deepwork_jobs workflow → "new_job"
    • manual_tests workflow → "run_all"
  • Reorganized skill documentation structure to separate:

    • Workflows (multi-step coordinated sequences)
    • Standalone Skills (independent skills that don't auto-continue)
    • Updated execution instructions to reference workflows by name rather than individual steps
  • Updated completion messages to reference workflow names (e.g., "integrate step 2/4 complete" instead of "Step 2/4 complete")

  • Clarified deepwork_jobs and deepwork_rules to explicitly mark learn and define as standalone skills that can run independently

  • Updated version numbers for affected jobs (add_platform 0.4.0, commit 1.5.0, deepwork_jobs 1.0.0)

  • Added guardrail clarifications about not skipping steps "in a workflow" to emphasize the distinction

Implementation Details

  • Workflow definitions follow a consistent structure with name, summary, and ordered steps list
  • Standalone skills are now documented in a dedicated section with clear command references
  • Execution instructions simplified to reference workflow names as entry points
  • All step-level skill files updated to reference their parent workflow name in headers and completion messages
  • Maintains backward compatibility—all skills remain functional, just better organized

https://claude.ai/code/session_01GaDCCNqeCTh9SfTesqFw5C

claude and others added 5 commits January 26, 2026 21:10
…ions

This adds a new `workflows` element to job.yml that explicitly defines
which steps belong to which workflow. This distinguishes multi-step
workflows from standalone independent skills:

- Added WORKFLOW_SCHEMA to job_schema.py
- Added Workflow dataclass and workflow helpers to parser.py
- Updated generator.py to use workflow info for step ordering and context
- Updated jinja templates to show workflow vs standalone skill info
- Updated deepwork_jobs with new_job workflow (define→review_job_spec→implement)
  and learn as standalone skill
- Updated add_platform, commit, and manual_tests jobs with workflows

This resolves the issue where independent steps (like `learn`) were being
incorrectly displayed as part of the main workflow sequence.

https://claude.ai/code/session_01GaDCCNqeCTh9SfTesqFw5C
- Add workflows feature to CHANGELOG [Unreleased] section
- Add workflows example to job.yml documentation in architecture.md
- Update deepwork_jobs description to show workflows vs standalone skills
- Update execution flow example to show automatic workflow continuation
- Replace outdated refine command docs with learn command

https://claude.ai/code/session_01GaDCCNqeCTh9SfTesqFw5C
…e_step

The dependency-based standalone detection is mutually exclusive with
workflow-based detection. Using an explicit else branch makes this clearer.

https://claude.ai/code/session_01GaDCCNqeCTh9SfTesqFw5C
When jobs have standalone steps but no workflows, the template was
generating duplicate intent patterns - once for standalone_steps and
again for all steps. Fixed by only showing the old-style "Available
Steps" section when there are no standalone_steps.

Also includes ruff formatting fixes and removes unused Workflow import.

https://claude.ai/code/session_01GaDCCNqeCTh9SfTesqFw5C
@nhorton nhorton merged commit 41f9937 into main Jan 27, 2026
4 checks passed
@nhorton nhorton deleted the claude/fix-workflow-job-distinction-MN0ug branch January 27, 2026 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants