Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions agents/PAW.agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ For each user request:
- PR comment responses → `paw-review-response`
- Documentation conventions → `paw-docs-guidance`
- Status/help → `paw-status`
- About PAW, onboarding, install, or "how do I get started?" questions → `paw-status`
- Workflow rollback → `paw-rewind`

## Error Handling
Expand Down
4 changes: 3 additions & 1 deletion docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This guide will help you get up and running with **Phased Agent Workflow (PAW)** in just a few minutes.

If you're using **GitHub Copilot CLI**, start with [CLI Installation](cli-installation.md). This page covers the **VS Code extension** setup flow.

## Prerequisites

Before you begin, ensure you have:
Expand All @@ -12,7 +14,7 @@ Before you begin, ensure you have:
- **GitHub** with GitHub MCP Tools
- **Azure DevOps** with Azure DevOps MCP Tools

## Quick Install
## Quick Install (VS Code)

1. **Download** the latest `.vsix` from the [Releases page](https://github.com/lossyrob/phased-agent-workflow/releases)

Expand Down
8 changes: 4 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<img src="https://raw.githubusercontent.com/lossyrob/phased-agent-workflow/main/img/paw-logo.png" alt="PAW Logo" width="200"/>
</div>

**PAW** is a VS Code extension that coordinates multi-stage AI agent workflows for feature implementation and code review. It transforms complex development tasks into structured, verifiable phases with clear handoffs between specialized agents.
**PAW** works with **GitHub Copilot CLI** and **VS Code** to coordinate multi-stage AI agent workflows for feature implementation and code review. It transforms complex development tasks into structured, verifiable phases with clear handoffs between specialized agents.

## Why PAW?

Expand All @@ -20,9 +20,9 @@ PAW provides:

## Quick Start

1. [Install the extension](guide/index.md#quick-install) from GitHub Releases
2. Open a Git repository in VS Code
3. Run `PAW: New PAW Workflow` from the Command Palette
1. Install PAW for your platform: [CLI installation](guide/cli-installation.md) or [VS Code extension setup](guide/index.md#quick-install-vs-code)
2. Open a Git repository in your tool of choice
3. Start PAW: `copilot --agent PAW` (CLI) or `PAW: New PAW Workflow` (VS Code)
4. Follow the guided workflow through each stage

[Get Started →](guide/index.md){ .md-button .md-button--primary }
Expand Down
3 changes: 2 additions & 1 deletion docs/reference/agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ This preserves conversation flow for interactive work while leveraging fresh con
| `paw-impl-review` | Review implementation, add docs, open PRs | Phase PRs |
| `paw-final-review` | Pre-PR review; delegates SoT orchestration to `paw-sot` | REVIEW*.md in reviews/ |
| `paw-pr` | Pre-flight validation, create final PR | Final PR |
| `paw-status` | Diagnose workflow state, recommend next steps | Status reports |
| `paw-status` | Diagnose workflow state, recommend next steps, explain PAW/onboarding | Status reports |
| `paw-lite` | Lightweight workflow: plan → fleet-implement → review → PR | Plan.md |

**Utility Skills:**
Expand Down Expand Up @@ -198,6 +198,7 @@ The PAW agent understands natural language requests and routes them to appropria
- "Research how X works" → `paw-spec-research` or `paw-code-research`
- "Create an implementation plan" → `paw-planning` skill
- "Implement phase N" → `paw-implement` skill
- "What is PAW?" or "How do I get started?" → `paw-status` skill
- "What's the status?" → `paw-status` skill

### Review Policy Modes
Expand Down
3 changes: 1 addition & 2 deletions docs/specification/implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ Reviews all planning artifacts (Spec.md, ImplementationPlan.md, CodeResearch.md)

### paw-status

Diagnoses current workflow state, recommends next steps, explains PAW process, and posts status updates to Issues/PRs.
Diagnoses current workflow state, recommends next steps, explains PAW/onboarding, and posts status updates to Issues/PRs.

### paw-pr

Expand All @@ -283,4 +283,3 @@ All automated verification criteria must pass regardless of workflow mode:
- [Review Workflow](review.md) — The complementary review workflow
- [Agents Reference](../reference/agents.md) — Complete agent documentation
- [Artifacts Reference](../reference/artifacts.md) — Artifact descriptions

4 changes: 2 additions & 2 deletions paw-specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ This preserves user collaboration for interactive work while leveraging context
| `paw-implement` | Execute plan phases, make code changes | Code changes |
| `paw-impl-review` | Review implementation, open PRs | Phase PRs, Docs.md |
| `paw-pr` | Pre-flight validation, create final PR | Final PR |
| `paw-status` | Diagnose workflow state | Status reports |
| `paw-status` | Diagnose workflow state, explain PAW/onboarding | Status reports |
| `paw-work-shaping` | Pre-spec ideation and clarification | WorkShaping.md |
| `paw-rewind` | Roll back to earlier workflow state | Restored artifacts |
| `paw-transition` | Handle stage boundaries and policies | Transition decisions |
Expand Down Expand Up @@ -1103,4 +1103,4 @@ Work IDs must meet these requirements:
| "API Refactor v2" | api-refactor-v2 |
| "Fix: Rate Limit Bug" | fix-rate-limit-bug |
| "my_FEATURE--test" | my-feature-test |
`````
`````
14 changes: 13 additions & 1 deletion skills/paw-status/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Serve as the workflow navigator and historian. Diagnose current workflow state,

- Diagnose current workflow state from artifacts and git
- Recommend appropriate next steps
- Explain PAW process and stages
- Explain what PAW is, how the workflow works, and how to get started
- List active work items across workspace
- List available workflow presets (built-in and user-defined)
- Post status updates to Issues/PRs (on explicit request)
Expand Down Expand Up @@ -157,6 +157,18 @@ When asked "What presets are available?" or "List presets":

## Help Mode

For "What is PAW?", "What does PAW stand for?", or similar onboarding questions:
- Use the exact name **Phased Agent Workflow**. Never invent an acronym expansion.
- Ground the answer in repository docs before replying: `README.md` (`## What is PAW?`), `docs/index.md`, `docs/guide/index.md`, and `docs/guide/cli-installation.md`.
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final skill installation target won't have access to the docs, so this will either need to be linked to the documentation website or replaced with in-lined context. @copilot please fix.

- Explain briefly:
- PAW enables **Context-Driven Development**: agents build understanding through durable artifacts (specs, research, plans) before writing code.
- PAW supports two workflows: implementation and review.
- Workflow **stages** are top-level milestones; implementation **phases** are subdivisions inside `ImplementationPlan.md`.
- If the user also asks how to get started, tailor the answer by platform:
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the {{vscode}} and {{cli}} templates to modify prompts based on target platform, instead of mentioning target platforms in prompts. @copilot please fix.

- **GitHub Copilot CLI**: install via `copilot plugin install lossyrob/phased-agent-workflow` or `npx @paw-workflow/cli install copilot`, then start with `copilot --agent PAW` (or `/agent PAW` in an existing session).
- **VS Code**: install the extension, then run `PAW: New PAW Workflow`.
- Prefer concise, sourced onboarding language over improvisation.

When asked "What does <stage> do?", provide:
1. Purpose of the stage
2. Required inputs/artifacts
Expand Down
39 changes: 39 additions & 0 deletions tests/integration/tests/skills/paw-status-about-paw.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import { describe, it } from "node:test";
import assert from "node:assert";
import { readFile } from "fs/promises";
import { resolve } from "path";
import { fileURLToPath } from "url";

const __dirname = fileURLToPath(new URL(".", import.meta.url));
const REPO_ROOT = resolve(__dirname, "../../../../");

describe("paw-status about-paw guidance", () => {
it("grounds about-paw answers in the correct name, concepts, and source docs", async () => {
const content = await readFile(resolve(REPO_ROOT, "skills/paw-status/SKILL.md"), "utf-8");

assert.match(content, /Use the exact name \*\*Phased Agent Workflow\*\*/);
assert.match(content, /Never invent an acronym expansion/i);
assert.match(content, /Context-Driven Development/);
assert.match(content, /README\.md.*docs\/index\.md.*docs\/guide\/index\.md.*docs\/guide\/cli-installation\.md/s);
assert.match(content, /GitHub Copilot CLI/);
assert.match(content, /VS Code/);
});

it("routes about/onboarding requests to paw-status", async () => {
const agent = await readFile(resolve(REPO_ROOT, "agents/PAW.agent.md"), "utf-8");
const reference = await readFile(resolve(REPO_ROOT, "docs/reference/agents.md"), "utf-8");

assert.match(agent, /About PAW, onboarding, install, or "how do I get started\?" questions → `paw-status`/);
assert.match(reference, /"What is PAW\?" or "How do I get started\?" → `paw-status` skill/);
});

it("keeps the top-level docs aligned on cross-platform onboarding", async () => {
const docsIndex = await readFile(resolve(REPO_ROOT, "docs/index.md"), "utf-8");
const guideIndex = await readFile(resolve(REPO_ROOT, "docs/guide/index.md"), "utf-8");

assert.match(docsIndex, /\*\*GitHub Copilot CLI\*\* and \*\*VS Code\*\*/);
assert.match(docsIndex, /CLI installation/);
assert.match(guideIndex, /CLI Installation/);
assert.match(guideIndex, /VS Code extension/);
});
});
Loading