Loading...
Loading...
Pipeline orchestrator that classifies incoming coding tasks and routes them through the correct combination of skills in the right order at the right depth. Auto-activates on any coding task. Centralizes the decision logic for which skills to use, how deep each goes, and how artifacts pass between them. Handles three pipeline variants: standard (plan-interview, intent-framed-agent, context-surfing, simplify-and-harden, self-improvement), team-based (agent-teams-simplify-and-harden), and CI (simplify-and-harden-ci, self-improvement-ci). Use this skill whenever starting any coding work — it determines the appropriate pipeline depth and variant automatically. Does not replace individual skills; dispatches to them.
npx skill4agent add pskoett/pskoett-ai-skills skill-pipelineTask received
│
├─ Trivial (typo, rename, version bump)
│ → No skills. Just do it.
│
├─ Small (isolated fix, single-file, <10 logic lines)
│ → simplify-and-harden only (post-completion)
│
├─ Medium (feature in known area, 2-5 files)
│ → intent-framed-agent + simplify-and-harden
│
├─ Large (complex refactor, new architecture, unfamiliar codebase, high-risk logic)
│ → Full standard pipeline
│ → Recommend /plan-interview before starting
│
├─ Long-running (multi-session, high context pressure, prior handoff exists)
│ → Full standard pipeline with context-surfing as critical skill
│
└─ Batch (multiple features from spec, 5+ discrete tasks, issue triage)
→ Team-based pipeline (agent-teams-simplify-and-harden)references/classification-rules.md| Task Class | Variant | Rationale |
|---|---|---|
| Trivial | None | No overhead needed |
| Small | Standard (minimal) | S&H only |
| Medium | Standard (partial) | Scope monitoring + review |
| Large | Standard (full) | Full depth with planning |
| Long-running | Standard (full) | Context-surfing is critical |
| Batch | Team-based | Breadth over depth |
| CI environment | CI | Headless review |
CI=trueGITHUB_ACTIONS=trueclassify
→ (recommend /plan-interview if Large or Long-running)
→ intent-framed-agent (at planning-to-execution transition)
→ context-surfing (auto-activates when intent frame + plan exist; concurrent with intent monitoring)
→ [IMPLEMENTATION]
→ simplify-and-harden (post-completion, if non-trivial diff)
→ self-improvement (on errors, corrections, or S&H learning candidates)| Skill | Trivial | Small | Medium | Large | Long-running |
|---|---|---|---|---|---|
| plan-interview | - | - | - | Recommend | Recommend |
| intent-framed-agent | - | - | Activate | Activate | Activate |
| context-surfing | - | - | - | Activate | Critical |
| simplify-and-harden | - | If non-trivial | If non-trivial | If non-trivial | If non-trivial |
| self-improvement | On error only | On error only | On error/completion | On error/completion | On error/completion |
classify (Batch)
→ (recommend /plan-interview if no spec exists)
→ agent-teams-simplify-and-harden
├─ Team lead emits Intent Frame #1
├─ Phase 1: parallel implementation agents
├─ Compile + test verification
├─ Phase 2: parallel audit agents (simplify, harden, spec)
├─ Fix loop (up to 3 audit rounds)
└─ Learning loop output
→ self-improvementclassify (CI detected)
→ simplify-and-harden-ci (headless scan, PR changed files only)
→ self-improvement-ci (pattern aggregation, promotion recommendations)| Dimension | Small | Medium | Large | Long-running | Batch |
|---|---|---|---|---|---|
| Planning passes | 0 | 0-1 | 1-2 | Deep iterative | Per-task or umbrella |
| Intent frame | - | Single frame | Full frame + monitoring | Full + handoff | Team lead frame |
| Context-surfing | - | - | Active | Critical (exit protocol ready) | Lightweight drift checks |
| S&H budget | 20% diff, 60s | 20% diff, 60s | 20% diff, 60s | 20% diff, 60s | 30% team growth cap |
| Audit rounds (teams) | - | - | - | - | Up to 3 |
| Self-improvement | Error-triggered | Error-triggered | Error + S&H feed | Error + S&H feed | Error + teams feed |
docs/plans/plan-NNN-<slug>.mdplan-interviewintent-framed-agentcontext-surfingagent-teamsintent-framed-agentcontext-surfing.context-surfing/handoff-[slug]-[timestamp].mdcontext-surfinglearning_loop.candidatessimplify-and-hardenagent-teamsself-improvementcontext-surfingintent-framed-agentreferences/handoff-matrix.md/plan-interviewplan-interviewintent-framed-agentintent-framed-agentintent-framed-agentreferences/classification-rules.mdsimplify-and-hardencontext-surfing.context-surfing/depth=smalldepth=largevariant=teamsvariant=standard--no-reviewsimplify-and-harden/plan-interviewcontext-surfingintent-framed-agent/plan-interviewintent-framed-agentcontext-surfingsimplify-and-hardenreferences/pipeline-variants.md