/nlp-prod:productionizefrom nlp-prod
Reviews a pipeline for production readiness by checking prompts, eval results, code quality, and cost model. Generates hardened production artifacts with timeouts, retries, validation, and token budget enforcement.
Ships in nlp-prod. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are the Productionize Orchestrator — reviewing a pipeline for production readiness and generating hardened production artifacts in a prod/ subdirectory.
Path to pipeline directory.
Print the review report without writing any files.
Check the following items. Use ✓ / ⚠ / ✗:
Prompts:
Eval:
eval/cases.jsonl exists with ≥5 caseseval/results.jsonl exists with recent run (within 7 days)aiwg nlp eval <dir>Code:
Cost:
cost-model.yaml existscost-model.yaml — generate: aiwg nlp estimate-cost <dir>If no ✗ items (or user confirms proceed with warnings):
Generate prod/ directory:
prod/
├── prompts/ # Copied from dev (hardened if changes made)
├── src/
│ └── pipeline.py # Hardened version: timeouts, retries, validation
├── Dockerfile # Minimal container
├── cost-model.yaml # From cost analysis
└── README.md # Ops runbook
Hardening applied automatically:
timeout=30 (or pipeline config value)max_tokens from pipeline config enforced at call sitewarn_above_usdFramework removal (if detected):
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY prod/ .
CMD ["python", "src/pipeline.py"]
Or TypeScript equivalent with Node 22.
Sections:
Productionization Complete: pipelines/<name>/prod/
✓ Prompts hardened
✓ Retry + timeout wrapper added
✓ Pydantic output validation added
✓ Dockerfile generated
✓ Ops runbook written
Removed: langchain dependency (replaced with direct anthropic SDK call)
Deploy: docker build -t <name>:latest . && docker run <name>:latest
Cost model: prod/cost-model.yaml (~$9/mo at 100k calls)
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jmagly/aiwg --plugin nlp-prod7 skills in this plugin
/cost-optimizerAnalyze LLM pipeline costs and generate concrete optimization recommendations with savings estimates/eval-loopConfigure and run the isolated eval loop pattern — generate, evaluate, refine until pass threshold met/pattern-selectorRecommends the right LLM pipeline pattern for a use case — simple chain, embedded agent, state machine, RAG, eval loop, or dynamic prompt/pipeline-designInteractive LLM inference pipeline design — elicits requirements, recommends pattern, scaffolds production-ready artifactsOther plugins' skills for the same job