Skip to content

Latest commit

 

History

History
193 lines (164 loc) · 11 KB

File metadata and controls

193 lines (164 loc) · 11 KB

Workflows

This page is the map of which Han skills chain together. Most real work runs several skills in sequence, where one skill's output becomes the next one's input. This page shows the common chains, with a flow diagram wherever a chain branches enough that a picture beats the prose.

It is one of four navigation surfaces, and each has a distinct job:

  • This page (Workflows) is the map of which skills chain together.
  • Quickstart gives you do-this-now paths for five common situations.
  • How-to guides walk a single task end to end, step by step.
  • Concepts explains the skill-and-agent model the whole suite is built on.

If you know the task but not the sequence, you are in the right place. If you want the model behind the skills, read Concepts first.

From a problem to a shipped change

The planning skills feed the coding and delivery skills. This is the longest chain in the suite, and it branches at several points depending on what you already know and where the work is tracked.

flowchart TD
    triage["/issue-triage"] --> research["/research"]
    triage --> investigate["/investigate"]
    research --> feature["/plan-a-feature"]
    feature --> impl["/plan-implementation"]
    impl --> review["/iterative-plan-review"]
    review --> items["/plan-work-items"]
    impl --> items
    items --> gh["/work-items-to-issues (GitHub)"]
    items --> jira["/work-items-to-jira (Jira)"]
    items --> linear["/work-items-to-linear (Linear)"]
    gh --> build["/tdd"]
    jira --> build
    linear --> build
    pairing["/pairing"] -.drives.-> impl
    pairing -.drives.-> review
    pairing -.drives.-> build
Loading

From a gap to a plan

When you have two artifacts to compare (a spec against an implementation, a PRD against a shipped feature), start from the gap report and route its findings into planning.

flowchart TD
    gap["/gap-analysis"] --> impl["/plan-implementation"]
    gap --> phased["/plan-a-phased-build"]
    phased --> impl
Loading

Working in code

The review, refactor, and build skills chain in both directions: a review can feed a refactor, and a refactor can prepare the ground for a test-first build.

flowchart TD
    review["/code-review"] --> refactor["/refactor"]
    arch["/architectural-analysis"] --> refactor
    arch --> design["/design-an-api"]
    design --> tdd["/tdd"]
    review --> pr["/post-code-review-to-pr"]
    refactor --> tdd
    tdd --> prdesc["/update-pr-description"]
    investigate["/investigate"] --> iterate["/iterative-plan-review"]
    pairing["/pairing"] -.drives.-> refactor
    pairing -.drives.-> tdd
    pairing -.drives.-> design
Loading
  • /code-review/post-code-review-to-pr. Review locally, then post the review to the PR.
  • /code-review or /architectural-analysis/refactor. The review's structural findings become the refactoring plan's work orders.
  • /refactor/tdd. Preparatory refactoring makes the change easy, then /tdd makes the easy change.
  • /architectural-analysis/design-an-api/tdd. Judge the structure you are designing into, shape the contract against one stated goal, then implement it test-first. The analysis step is optional; /design-an-api runs its own discovery wave when you start there.
  • /investigate/iterative-plan-review. Root-cause the bug, then stress-test the proposed fix.
  • /tdd/update-pr-description. Once the branch carries the change, turn its commits into the PR body. This is the description half of the PR; /post-code-review-to-pr is the review half, and the two are independent.
  • /pairing drives /refactor, /tdd, and /design-an-api. This is not a chain but a wrapper: /pairing runs one of them and takes control back at each unit boundary, so you review as the work lands rather than at the end. Invoking any of the three directly runs it straight through, unchanged.

Planning the tests

Two skills plan tests, and they split on who runs them. Both take the same kinds of input (a branch, a feature, a plan, a PR), so pick by the audience rather than by the stage.

flowchart TD
    auto["/automated-test-planning"] --> tdd["/tdd"]
    manual["/manual-test-planning"]
Loading
  • /automated-test-planning/tdd. Find the coverage gaps and edge cases first, then implement the tests test-first. The plan names what to write; /tdd writes it.
  • /manual-test-planning. The sibling for steps a person runs by hand, as an acceptance walkthrough or a QA pass. It ends at the document, because nothing downstream automates it.

Understanding and documenting a codebase

These chains are linear, so they need no diagram.

Sharing the work with a non-technical reader

A specification is written for the people who will build the thing. These two skills turn it into something for the people who are funding or approving it.

flowchart TD
    feature["/plan-a-feature"] --> summary["/stakeholder-summary"]
    summary --> html["/html-summary"]
Loading
  • /plan-a-feature/stakeholder-summary/html-summary. Specify the feature, restate it in plain language for stakeholders, then render that summary as a single self-contained HTML file you can send to someone.
  • /edit-for-readability. The polish pass for any of it. Point it at a document any other skill produced, or at a draft in the conversation, and it rewrites the prose against the shared readability standard without changing a fact.

Related documentation