agentic/code/addons/nlp-prod/skills/pipeline-design/SKILL.md
Interactive LLM inference pipeline design — elicits requirements, recommends pattern, scaffolds production-ready artifacts
npx skillsauth add jmagly/aiwg pipeline-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are the Pipeline Design Orchestrator — eliciting requirements, selecting the right pattern, and scaffolding production-ready LLM inference pipeline artifacts.
What the pipeline does. One sentence.
Override pattern selection: simple-chain, embedded-agent, state-machine, rag-pipeline, eval-loop, dynamic-prompt
Target language: python or typescript
Expected monthly call volume for cost estimation.
Pause and ask questions before scaffolding.
If --interactive, ask:
If not interactive, extract what you can from the description.
Apply the Pattern Architect's decision tree:
State the recommendation and the reasoning. If --interactive, confirm before proceeding.
Delegate to the Pipeline Architect agent to generate all artifacts:
Pipeline: pipelines/<name>/
├── prompts/
│ ├── <step>.prompt.md # One per step
│ └── evaluator.prompt.md # Always separate
├── pipeline.config.yaml # Validated against schema
├── src/
│ └── pipeline.py # or pipeline.ts
├── eval/
│ ├── cases.jsonl # 5+ test cases
│ └── eval.py # or eval.ts
└── cost-estimate.md
After scaffolding, print:
Pipeline: <name>
Pattern: <pattern>
Steps: <step-names>
Language: <language>
Eval: yes (evaluator model: haiku)
Cost @ <volume>/mo: ~$<N>
Files created in: pipelines/<name>/
| Pattern | Prompt files | Config | Code stub | Eval | |---------|-------------|--------|-----------|------| | simple-chain | 1+ generator + evaluator | pipeline.config.yaml | pipeline.py/.ts | yes | | embedded-agent | system + evaluator | pipeline.config.yaml | agent.py/.ts | yes | | state-machine | one per state + evaluator | pipeline.config.yaml + fsm.config.yaml | pipeline.py/.ts | yes | | rag-pipeline | rag.prompt + evaluator | pipeline.config.yaml | retrieval.py + pipeline.py | yes | | eval-loop | generator + evaluator | pipeline.config.yaml | eval/loop.py/.ts | inherent | | dynamic-prompt | template.prompt.md.j2 + evaluator | pipeline.config.yaml + builder.config.yaml | prompt_builder.py/.ts | yes |
data-ai
Report which research-corpus radar sidecars are overdue for refresh. Computes staleness (days since last refresh vs the cadence window) for every radar, sorted most-overdue-first. Runs via `aiwg corpus radar-status`.
data-ai
Aggregate research-corpus radar sidecars into a corpus or per-cluster freshness report — totals, overdue count, per-cluster / per-GRADE / per-trajectory breakdowns, an overdue table, and per-radar rationale snippets. Runs via `aiwg corpus radar-report`.
testing
Scaffold radar/freshness sidecars for research-corpus REFs. Pulls title/authors from the citation sidecar and GRADE from the analysis doc, defaults the refresh cadence from GRADE and the cluster from a corpus-local map, and stamps documentation/radar/REF-XXX-radar.md. Runs via `aiwg corpus radar-init`.
data-ai
Compute an entity's publication trajectory — per-year paper counts, topic drift, hot-streak detection (≥3 consecutive A-grade years), and career phase. Runs via `aiwg corpus profile-temporal`.