# Workflow

> Skill orchestration - user commands vs auto-triggered

- Skill: `majiayu000/workflow` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/workflow`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/workflow/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/workflow

---


# Workflow Overview

## User Commands (6)

```
┌─────────────────────────────────────────────────────────┐
│  "auto"          → Execute all tasks autonomously       │
│  "review"        → Code quality check on recent changes │
│  "brainstorm"    → Scan → propose → create stories      │
│  "test"          → npm test + browser tests on latest   │
│  "audit"         → Rate aspects → create stories        │
│  "status"        → Quick progress check                 │
└─────────────────────────────────────────────────────────┘

Aliases: "what next" = brainstorm
```

## Auto-Triggered (Internal)

| Trigger | Action |
|---------|--------|
| Task complete | `verify` runs automatically |
| Every 5 tasks | `checkpoint` saves context |
| User says "ship" | `deploy` runs |
| Artifacts pile up | `clean` suggested |

## Analysis → Stories Flow

```
brainstorm / audit / what next
    ↓
Parallel scans (6 Haiku agents)
    ↓
Rate aspects / Present scenarios
    ↓
Auto-create stories for top issues
    ↓
User says "auto" → Execute
```

## Task Lifecycle

```
TaskCreate (from brainstorm/audit)
    ↓
auto picks up task
    ↓
Implement → Typecheck → Build
    ↓
verify (auto) → Browser test if UX
    ↓
TaskUpdate: completed
    ↓
checkpoint (every 5) → Next task
```

## Quick Reference

| Want to... | Say |
|------------|-----|
| Work through tasks | `auto` |
| Check quality | `review` |
| Don't know what's next | `brainstorm` or `what next` |
| Run all tests | `test` |
| Rate the app | `audit` |
| See progress | `status` |

