@alevental/cccp 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/skills/cccp-pipeline/SKILL.md +562 -0
- package/.claude/skills/cccp-run/SKILL.md +111 -0
- package/README.md +280 -0
- package/dist/activity-bus.d.ts +9 -0
- package/dist/activity-bus.js +10 -0
- package/dist/activity-bus.js.map +1 -0
- package/dist/agent-resolver.d.ts +29 -0
- package/dist/agent-resolver.js +122 -0
- package/dist/agent-resolver.js.map +1 -0
- package/dist/agent.d.ts +39 -0
- package/dist/agent.js +117 -0
- package/dist/agent.js.map +1 -0
- package/dist/autoresearch.d.ts +11 -0
- package/dist/autoresearch.js +295 -0
- package/dist/autoresearch.js.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +157 -0
- package/dist/cli.js.map +1 -0
- package/dist/config.d.ts +126 -0
- package/dist/config.js +76 -0
- package/dist/config.js.map +1 -0
- package/dist/context.d.ts +24 -0
- package/dist/context.js +82 -0
- package/dist/context.js.map +1 -0
- package/dist/contract.d.ts +26 -0
- package/dist/contract.js +65 -0
- package/dist/contract.js.map +1 -0
- package/dist/db.d.ts +70 -0
- package/dist/db.js +358 -0
- package/dist/db.js.map +1 -0
- package/dist/dispatcher.d.ts +9 -0
- package/dist/dispatcher.js +7 -0
- package/dist/dispatcher.js.map +1 -0
- package/dist/errors.d.ts +16 -0
- package/dist/errors.js +30 -0
- package/dist/errors.js.map +1 -0
- package/dist/evaluator.d.ts +23 -0
- package/dist/evaluator.js +49 -0
- package/dist/evaluator.js.map +1 -0
- package/dist/gate/auto-approve.d.ts +9 -0
- package/dist/gate/auto-approve.js +11 -0
- package/dist/gate/auto-approve.js.map +1 -0
- package/dist/gate/gate-strategy.d.ts +22 -0
- package/dist/gate/gate-strategy.js +2 -0
- package/dist/gate/gate-strategy.js.map +1 -0
- package/dist/gate/gate-watcher.d.ts +15 -0
- package/dist/gate/gate-watcher.js +64 -0
- package/dist/gate/gate-watcher.js.map +1 -0
- package/dist/logger.d.ts +24 -0
- package/dist/logger.js +22 -0
- package/dist/logger.js.map +1 -0
- package/dist/mcp/gate-notifier.d.ts +26 -0
- package/dist/mcp/gate-notifier.js +161 -0
- package/dist/mcp/gate-notifier.js.map +1 -0
- package/dist/mcp/mcp-config.d.ts +25 -0
- package/dist/mcp/mcp-config.js +80 -0
- package/dist/mcp/mcp-config.js.map +1 -0
- package/dist/mcp/mcp-server.d.ts +1 -0
- package/dist/mcp/mcp-server.js +262 -0
- package/dist/mcp/mcp-server.js.map +1 -0
- package/dist/pge.d.ts +12 -0
- package/dist/pge.js +361 -0
- package/dist/pge.js.map +1 -0
- package/dist/pipeline.d.ts +6 -0
- package/dist/pipeline.js +120 -0
- package/dist/pipeline.js.map +1 -0
- package/dist/prompt.d.ts +67 -0
- package/dist/prompt.js +121 -0
- package/dist/prompt.js.map +1 -0
- package/dist/runner.d.ts +11 -0
- package/dist/runner.js +494 -0
- package/dist/runner.js.map +1 -0
- package/dist/scaffold/index.d.ts +14 -0
- package/dist/scaffold/index.js +260 -0
- package/dist/scaffold/index.js.map +1 -0
- package/dist/scaffold/templates.d.ts +47 -0
- package/dist/scaffold/templates.js +2177 -0
- package/dist/scaffold/templates.js.map +1 -0
- package/dist/stage-helpers.d.ts +7 -0
- package/dist/stage-helpers.js +27 -0
- package/dist/stage-helpers.js.map +1 -0
- package/dist/state.d.ts +43 -0
- package/dist/state.js +177 -0
- package/dist/state.js.map +1 -0
- package/dist/stream/stream-tail.d.ts +17 -0
- package/dist/stream/stream-tail.js +95 -0
- package/dist/stream/stream-tail.js.map +1 -0
- package/dist/stream/stream.d.ts +142 -0
- package/dist/stream/stream.js +251 -0
- package/dist/stream/stream.js.map +1 -0
- package/dist/temp-tracker.d.ts +6 -0
- package/dist/temp-tracker.js +24 -0
- package/dist/temp-tracker.js.map +1 -0
- package/dist/tui/cmux.d.ts +22 -0
- package/dist/tui/cmux.js +82 -0
- package/dist/tui/cmux.js.map +1 -0
- package/dist/tui/components.d.ts +21 -0
- package/dist/tui/components.js +108 -0
- package/dist/tui/components.js.map +1 -0
- package/dist/tui/dashboard.d.ts +6 -0
- package/dist/tui/dashboard.js +125 -0
- package/dist/tui/dashboard.js.map +1 -0
- package/dist/tui/detail-log.d.ts +10 -0
- package/dist/tui/detail-log.js +171 -0
- package/dist/tui/detail-log.js.map +1 -0
- package/dist/types.d.ts +273 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/examples/agents/diff-evaluator.md +57 -0
- package/examples/agents/prompt-tuner.md +30 -0
- package/examples/agents/summarizer.md +14 -0
- package/examples/autoresearch-artifacts/expected-output.md +17 -0
- package/examples/autoresearch-artifacts/prompt.md +35 -0
- package/examples/autoresearch-artifacts/source-material.md +28 -0
- package/examples/business-case.yaml +41 -0
- package/examples/cccp.yaml +48 -0
- package/examples/content-calendar.yaml +59 -0
- package/examples/customer-feedback-loop.yaml +44 -0
- package/examples/design-sprint.yaml +54 -0
- package/examples/feature-development.yaml +96 -0
- package/examples/growth-experiment.yaml +49 -0
- package/examples/incident-runbook.yaml +43 -0
- package/examples/product-launch.yaml +85 -0
- package/examples/prompt-tuning.yaml +25 -0
- package/examples/quarterly-planning.yaml +51 -0
- package/examples/sprint-cycle.yaml +67 -0
- package/package.json +47 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: diff-evaluator
|
|
3
|
+
description: Compares an actual output against a ground truth expected output and produces a structured evaluation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Diff Evaluator Agent
|
|
7
|
+
|
|
8
|
+
You are a precision evaluator. Your job is to compare an actual output against a known-correct expected output and determine whether they match in substance.
|
|
9
|
+
|
|
10
|
+
## Instructions
|
|
11
|
+
|
|
12
|
+
1. Read the actual output (provided as an input).
|
|
13
|
+
2. Read the ground truth expected output at the path specified in the Ground Truth section.
|
|
14
|
+
3. Compare them across all evaluation criteria.
|
|
15
|
+
4. Write a structured evaluation to the output path.
|
|
16
|
+
|
|
17
|
+
## Evaluation criteria
|
|
18
|
+
|
|
19
|
+
Evaluate on these dimensions:
|
|
20
|
+
|
|
21
|
+
| Criterion | What to check |
|
|
22
|
+
|-----------|---------------|
|
|
23
|
+
| **Completeness** | Does the actual output cover all points present in the expected output? |
|
|
24
|
+
| **Accuracy** | Are the facts, claims, and details correct relative to the expected output? |
|
|
25
|
+
| **Structure** | Does the actual output follow the same organizational structure? |
|
|
26
|
+
| **Tone** | Does the actual output match the expected tone and voice? |
|
|
27
|
+
| **Conciseness** | Is the actual output similar in length — no major omissions or padding? |
|
|
28
|
+
|
|
29
|
+
## Output format
|
|
30
|
+
|
|
31
|
+
Your evaluation MUST use this exact format:
|
|
32
|
+
|
|
33
|
+
```markdown
|
|
34
|
+
## Evaluation
|
|
35
|
+
|
|
36
|
+
### Criterion Results
|
|
37
|
+
|
|
38
|
+
| # | Criterion | Result | Evidence |
|
|
39
|
+
|---|-----------|--------|----------|
|
|
40
|
+
| 1 | Completeness | PASS/FAIL | [specific evidence] |
|
|
41
|
+
| 2 | Accuracy | PASS/FAIL | [specific evidence] |
|
|
42
|
+
| 3 | Structure | PASS/FAIL | [specific evidence] |
|
|
43
|
+
| 4 | Tone | PASS/FAIL | [specific evidence] |
|
|
44
|
+
| 5 | Conciseness | PASS/FAIL | [specific evidence] |
|
|
45
|
+
|
|
46
|
+
### Overall: PASS or FAIL
|
|
47
|
+
|
|
48
|
+
### Iteration Guidance
|
|
49
|
+
|
|
50
|
+
[If FAIL: specific, actionable guidance on what to change in the prompt to fix each failing criterion]
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Rules
|
|
54
|
+
|
|
55
|
+
- PASS means all criteria pass. Any single FAIL means Overall: FAIL.
|
|
56
|
+
- Be specific in evidence — quote or reference exact passages.
|
|
57
|
+
- Iteration guidance should tell the prompt tuner exactly what to add, remove, or change.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: prompt-tuner
|
|
3
|
+
description: Reads evaluation feedback and adjusts a prompt artifact to better produce the desired output.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Prompt Tuner Agent
|
|
7
|
+
|
|
8
|
+
You are a prompt optimization specialist. Your job is to read an evaluation of a prompt's output, understand where the output diverged from the expected result, and adjust the prompt to close that gap.
|
|
9
|
+
|
|
10
|
+
## Instructions
|
|
11
|
+
|
|
12
|
+
1. Read the current prompt artifact at the path specified in your task.
|
|
13
|
+
2. Read the evaluation feedback from the previous iteration to understand what went wrong.
|
|
14
|
+
3. Read the ground truth (expected output) to understand the target.
|
|
15
|
+
4. Modify the prompt artifact to address the specific issues identified in the evaluation.
|
|
16
|
+
5. Write the adjusted prompt back to the same output path.
|
|
17
|
+
|
|
18
|
+
## Adjustment strategies
|
|
19
|
+
|
|
20
|
+
- **Missing content**: Add explicit instructions for the content that was absent.
|
|
21
|
+
- **Wrong structure**: Add formatting directives or structural constraints.
|
|
22
|
+
- **Tone mismatch**: Add tone/voice guidance or examples.
|
|
23
|
+
- **Extra content**: Add constraints like "Do not include..." or "Only cover...".
|
|
24
|
+
- **Ordering issues**: Specify the expected order of sections or points.
|
|
25
|
+
|
|
26
|
+
## Constraints
|
|
27
|
+
|
|
28
|
+
- Preserve the core intent of the prompt — only adjust what the evaluation flagged.
|
|
29
|
+
- Make minimal, targeted changes rather than rewriting from scratch.
|
|
30
|
+
- Each adjustment should be traceable to a specific evaluation criterion.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: summarizer
|
|
3
|
+
description: Reads a project directory and writes a short summary of what it contains.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Summarizer Agent
|
|
7
|
+
|
|
8
|
+
You are a project summarizer. Your job is to read the project directory and produce a concise summary of what the project is, what technologies it uses, and its overall structure.
|
|
9
|
+
|
|
10
|
+
## Instructions
|
|
11
|
+
|
|
12
|
+
1. Read the project's README, package.json, or other top-level files to understand what it is.
|
|
13
|
+
2. List the main directories and their purposes.
|
|
14
|
+
3. Write a clear, concise summary (under 500 words) to the output path specified in your task.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Acme Corp Q4 2025 Summary
|
|
2
|
+
|
|
3
|
+
Acme Corp delivered strong Q4 results with $4.2B revenue (+18% YoY) and $712M net income ($3.56/share). Operating margin expanded to 21.2%.
|
|
4
|
+
|
|
5
|
+
## Segment Highlights
|
|
6
|
+
|
|
7
|
+
- **Cloud Services** led growth at $2.1B (+31%), crossing $8B ARR with 97% retention
|
|
8
|
+
- **Enterprise Software** grew 8% to $1.4B as subscription mix reached 71%
|
|
9
|
+
- **Professional Services** dipped 3% to $700M but maintains $1.8B backlog
|
|
10
|
+
|
|
11
|
+
## Financial Health
|
|
12
|
+
|
|
13
|
+
The company generated $1.1B free cash flow (26% margin) and added 1,800 net new customers, bringing the total to 14,200. R&D investment was $630M (15% of revenue).
|
|
14
|
+
|
|
15
|
+
## Outlook
|
|
16
|
+
|
|
17
|
+
FY2026 guidance calls for $18.5-19.0B revenue (16-19% growth) with 22-23% operating margin and $4.5-4.8B FCF. A $2B buyback was announced. CEO Jane Martinez highlighted accelerating enterprise AI adoption and expects cloud to exceed 60% of revenue by year-end.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Summarization Prompt
|
|
2
|
+
|
|
3
|
+
Read the source material and write a concise summary targeting **~170 words** (never exceed 200 words).
|
|
4
|
+
|
|
5
|
+
## Content requirements
|
|
6
|
+
|
|
7
|
+
Include key financial metrics, segment KPIs, and forward guidance. Specifically preserve:
|
|
8
|
+
- Revenue, net income, and EPS
|
|
9
|
+
- Operating margin
|
|
10
|
+
- Each segment's revenue, growth rate, and one defining KPI (e.g., ARR, retention rate, subscription mix, backlog)
|
|
11
|
+
- Free cash flow and FCF margin
|
|
12
|
+
- Total customer count and net new customers
|
|
13
|
+
- R&D spend as a percentage of revenue
|
|
14
|
+
- Full forward guidance (revenue range, margin target, FCF target)
|
|
15
|
+
- Any capital return announcements and CEO forward-looking commentary
|
|
16
|
+
|
|
17
|
+
## Compression rules
|
|
18
|
+
|
|
19
|
+
- **Report current-period metrics only.** Do not include prior-period comparisons or baselines (e.g., omit prior-year margin figures).
|
|
20
|
+
- **Omit sub-segment drivers and explanations.** Report each segment's topline number, growth rate, and one key metric — do not explain what drove the result.
|
|
21
|
+
- **Paraphrase executive commentary.** Do not use direct quotes; summarize the CEO's remarks in your own words.
|
|
22
|
+
- **One line per segment bullet.** Each segment highlight must fit on a single line.
|
|
23
|
+
|
|
24
|
+
## Output structure
|
|
25
|
+
|
|
26
|
+
Use this format:
|
|
27
|
+
1. **Title** as a top-level heading (# Title)
|
|
28
|
+
2. **Intro paragraph** — 1-2 sentences covering top-line results (revenue, growth, net income, EPS, operating margin)
|
|
29
|
+
3. **Segment Highlights** section (## heading) — one bullet per business segment with revenue, growth, and key metric
|
|
30
|
+
4. **Financial Health** section (## heading) — short paragraph covering FCF, customer count, and R&D
|
|
31
|
+
5. **Outlook** section (## heading) — short paragraph covering FY guidance, buyback, and CEO forward-looking remarks (paraphrased)
|
|
32
|
+
|
|
33
|
+
## Tone
|
|
34
|
+
|
|
35
|
+
Use a professional, factual, report-style tone. Do not editorialize or add analysis beyond what the source states.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Acme Corp Q4 2025 Earnings Report
|
|
2
|
+
|
|
3
|
+
## Financial Highlights
|
|
4
|
+
|
|
5
|
+
Acme Corp reported revenue of $4.2 billion for Q4 2025, up 18% year-over-year. Operating income reached $890 million, representing a 21.2% operating margin, compared to 19.1% in Q4 2024. Net income was $712 million, or $3.56 per diluted share.
|
|
6
|
+
|
|
7
|
+
## Segment Performance
|
|
8
|
+
|
|
9
|
+
**Cloud Services** ($2.1B, +31% YoY): The largest segment, driven by enterprise migrations and AI workload demand. Annual recurring revenue crossed $8B for the first time. Customer retention rate held steady at 97%.
|
|
10
|
+
|
|
11
|
+
**Enterprise Software** ($1.4B, +8% YoY): Steady growth from subscription transitions. Legacy perpetual license revenue declined 22%, but subscription revenue grew 34%, now representing 71% of segment revenue.
|
|
12
|
+
|
|
13
|
+
**Professional Services** ($700M, -3% YoY): Slight decline due to completion of several large implementation contracts. Backlog remains healthy at $1.8B, with three new Fortune 100 engagements signed in the quarter.
|
|
14
|
+
|
|
15
|
+
## Key Metrics
|
|
16
|
+
|
|
17
|
+
- Free cash flow: $1.1B (26% FCF margin)
|
|
18
|
+
- Total customers: 14,200 (+1,800 net new)
|
|
19
|
+
- Employees: 28,500 (+2,100 YoY)
|
|
20
|
+
- R&D spend: $630M (15% of revenue)
|
|
21
|
+
|
|
22
|
+
## Guidance
|
|
23
|
+
|
|
24
|
+
For FY2026, Acme expects revenue of $18.5-19.0B (16-19% growth), operating margin of 22-23%, and free cash flow of $4.5-4.8B. The company announced a $2B share repurchase program.
|
|
25
|
+
|
|
26
|
+
## CEO Commentary
|
|
27
|
+
|
|
28
|
+
"Our cloud business reached an inflection point this quarter," said CEO Jane Martinez. "Enterprise AI adoption is accelerating faster than our most optimistic projections. We're investing aggressively in GPU infrastructure and expect cloud to surpass 60% of total revenue by end of FY2026."
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: business-case
|
|
2
|
+
description: Build a business case for a new initiative.
|
|
3
|
+
|
|
4
|
+
stages:
|
|
5
|
+
- name: market-research
|
|
6
|
+
type: agent
|
|
7
|
+
task: "Research the market opportunity for the proposed initiative."
|
|
8
|
+
agent: researcher
|
|
9
|
+
output: "{artifact_dir}/market-research.md"
|
|
10
|
+
|
|
11
|
+
- name: financial-analysis
|
|
12
|
+
type: agent
|
|
13
|
+
task: "Analyze the financial implications and produce a cost-benefit summary."
|
|
14
|
+
agent: analyst
|
|
15
|
+
output: "{artifact_dir}/financial-analysis.md"
|
|
16
|
+
|
|
17
|
+
- name: business-case
|
|
18
|
+
type: pge
|
|
19
|
+
task: "Write the business case for the initiative."
|
|
20
|
+
inputs:
|
|
21
|
+
- "{artifact_dir}/market-research.md"
|
|
22
|
+
- "{artifact_dir}/financial-analysis.md"
|
|
23
|
+
planner:
|
|
24
|
+
agent: strategist
|
|
25
|
+
operation: business-case
|
|
26
|
+
generator:
|
|
27
|
+
agent: strategist
|
|
28
|
+
operation: business-case
|
|
29
|
+
evaluator:
|
|
30
|
+
agent: exec-reviewer
|
|
31
|
+
contract:
|
|
32
|
+
deliverable: "{artifact_dir}/business-case.md"
|
|
33
|
+
guidance: "Must include problem statement, market opportunity, proposed solution, financial projections, risks, and recommendation."
|
|
34
|
+
max_iterations: 3
|
|
35
|
+
|
|
36
|
+
- name: exec-approval
|
|
37
|
+
type: human_gate
|
|
38
|
+
prompt: "Review the business case. Approve to proceed with the initiative."
|
|
39
|
+
artifacts:
|
|
40
|
+
- "{artifact_dir}/business-case.md"
|
|
41
|
+
- "{artifact_dir}/financial-analysis.md"
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Example CCCP project configuration
|
|
2
|
+
# Place this file at your project root as cccp.yaml
|
|
3
|
+
|
|
4
|
+
# Directories to search for agent definitions (in priority order).
|
|
5
|
+
# Paths are resolved relative to this file.
|
|
6
|
+
agent_paths:
|
|
7
|
+
- ./agents
|
|
8
|
+
- ./.claude/agents
|
|
9
|
+
|
|
10
|
+
# Named MCP server profiles.
|
|
11
|
+
# Each profile defines which MCP servers are available to agents using it.
|
|
12
|
+
# Use "extends" to inherit from another profile.
|
|
13
|
+
mcp_profiles:
|
|
14
|
+
base:
|
|
15
|
+
servers:
|
|
16
|
+
qmd:
|
|
17
|
+
command: qmd
|
|
18
|
+
args: [serve, --stdio]
|
|
19
|
+
|
|
20
|
+
design:
|
|
21
|
+
extends: base
|
|
22
|
+
servers:
|
|
23
|
+
figma:
|
|
24
|
+
command: npx
|
|
25
|
+
args: [-y, figma-console-mcp]
|
|
26
|
+
|
|
27
|
+
qa:
|
|
28
|
+
extends: base
|
|
29
|
+
servers:
|
|
30
|
+
ios-simulator:
|
|
31
|
+
command: npx
|
|
32
|
+
args: [-y, "@anthropic/ios-simulator-mcp"]
|
|
33
|
+
|
|
34
|
+
research:
|
|
35
|
+
extends: base
|
|
36
|
+
servers:
|
|
37
|
+
google-workspace:
|
|
38
|
+
command: npx
|
|
39
|
+
args: [-y, google-workspace-mcp]
|
|
40
|
+
|
|
41
|
+
# Claude config directory for agent subprocesses.
|
|
42
|
+
claude_config_dir: /Users/alevental/.claude-iceman713
|
|
43
|
+
|
|
44
|
+
# Default artifact output directory pattern.
|
|
45
|
+
artifact_dir: docs/projects/{project}/{pipeline_name}
|
|
46
|
+
|
|
47
|
+
# Default MCP profile when a stage doesn't specify one.
|
|
48
|
+
default_mcp_profile: base
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
name: content-calendar
|
|
2
|
+
description: Plan and produce a month of marketing content.
|
|
3
|
+
|
|
4
|
+
stages:
|
|
5
|
+
- name: content-strategy
|
|
6
|
+
type: pge
|
|
7
|
+
task: "Create a content calendar for the upcoming month."
|
|
8
|
+
planner:
|
|
9
|
+
agent: marketer
|
|
10
|
+
operation: content
|
|
11
|
+
generator:
|
|
12
|
+
agent: marketer
|
|
13
|
+
operation: content
|
|
14
|
+
evaluator:
|
|
15
|
+
agent: reviewer
|
|
16
|
+
contract:
|
|
17
|
+
deliverable: "{artifact_dir}/content-calendar.md"
|
|
18
|
+
guidance: "Must include 4 content pieces with topics, target audience, channel, and key messages."
|
|
19
|
+
max_iterations: 2
|
|
20
|
+
|
|
21
|
+
- name: calendar-approval
|
|
22
|
+
type: human_gate
|
|
23
|
+
prompt: "Review the content calendar. Approve to begin content production."
|
|
24
|
+
artifacts:
|
|
25
|
+
- "{artifact_dir}/content-calendar.md"
|
|
26
|
+
|
|
27
|
+
- name: article-1
|
|
28
|
+
type: pge
|
|
29
|
+
task: "Write the first article from the content calendar."
|
|
30
|
+
inputs:
|
|
31
|
+
- "{artifact_dir}/content-calendar.md"
|
|
32
|
+
planner:
|
|
33
|
+
agent: marketer
|
|
34
|
+
operation: content
|
|
35
|
+
generator:
|
|
36
|
+
agent: copywriter
|
|
37
|
+
evaluator:
|
|
38
|
+
agent: reviewer
|
|
39
|
+
contract:
|
|
40
|
+
deliverable: "{artifact_dir}/article-1.md"
|
|
41
|
+
guidance: "Must align with content calendar brief. Engaging, clear, and SEO-aware."
|
|
42
|
+
max_iterations: 3
|
|
43
|
+
|
|
44
|
+
- name: article-2
|
|
45
|
+
type: pge
|
|
46
|
+
task: "Write the second article from the content calendar."
|
|
47
|
+
inputs:
|
|
48
|
+
- "{artifact_dir}/content-calendar.md"
|
|
49
|
+
planner:
|
|
50
|
+
agent: marketer
|
|
51
|
+
operation: content
|
|
52
|
+
generator:
|
|
53
|
+
agent: copywriter
|
|
54
|
+
evaluator:
|
|
55
|
+
agent: reviewer
|
|
56
|
+
contract:
|
|
57
|
+
deliverable: "{artifact_dir}/article-2.md"
|
|
58
|
+
guidance: "Must align with content calendar brief. Engaging, clear, and SEO-aware."
|
|
59
|
+
max_iterations: 3
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
name: customer-feedback-loop
|
|
2
|
+
description: Synthesize customer feedback into product improvements.
|
|
3
|
+
|
|
4
|
+
stages:
|
|
5
|
+
- name: feedback-synthesis
|
|
6
|
+
type: pge
|
|
7
|
+
task: "Synthesize recent customer feedback into themes and recommendations."
|
|
8
|
+
planner:
|
|
9
|
+
agent: customer-success
|
|
10
|
+
operation: feedback-synthesis
|
|
11
|
+
generator:
|
|
12
|
+
agent: customer-success
|
|
13
|
+
operation: feedback-synthesis
|
|
14
|
+
evaluator:
|
|
15
|
+
agent: reviewer
|
|
16
|
+
contract:
|
|
17
|
+
deliverable: "{artifact_dir}/feedback-synthesis.md"
|
|
18
|
+
guidance: "Must identify top themes with frequency, severity, and representative quotes."
|
|
19
|
+
max_iterations: 2
|
|
20
|
+
|
|
21
|
+
- name: prioritization
|
|
22
|
+
type: pge
|
|
23
|
+
task: "Prioritize feedback themes into product backlog items."
|
|
24
|
+
inputs:
|
|
25
|
+
- "{artifact_dir}/feedback-synthesis.md"
|
|
26
|
+
planner:
|
|
27
|
+
agent: product-manager
|
|
28
|
+
operation: prioritization
|
|
29
|
+
generator:
|
|
30
|
+
agent: product-manager
|
|
31
|
+
operation: prioritization
|
|
32
|
+
evaluator:
|
|
33
|
+
agent: exec-reviewer
|
|
34
|
+
contract:
|
|
35
|
+
deliverable: "{artifact_dir}/prioritized-backlog.md"
|
|
36
|
+
guidance: "Must use impact/effort framework with clear rationale for priority order."
|
|
37
|
+
max_iterations: 2
|
|
38
|
+
|
|
39
|
+
- name: product-review
|
|
40
|
+
type: human_gate
|
|
41
|
+
prompt: "Review the prioritized backlog. Approve to update roadmap."
|
|
42
|
+
artifacts:
|
|
43
|
+
- "{artifact_dir}/feedback-synthesis.md"
|
|
44
|
+
- "{artifact_dir}/prioritized-backlog.md"
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
name: design-sprint
|
|
2
|
+
description: Design sprint — UX research, design spec, review.
|
|
3
|
+
|
|
4
|
+
stages:
|
|
5
|
+
- name: user-research
|
|
6
|
+
type: pge
|
|
7
|
+
task: "Synthesize user research findings for the design challenge."
|
|
8
|
+
planner:
|
|
9
|
+
agent: designer
|
|
10
|
+
operation: ux-research
|
|
11
|
+
generator:
|
|
12
|
+
agent: researcher
|
|
13
|
+
evaluator:
|
|
14
|
+
agent: reviewer
|
|
15
|
+
contract:
|
|
16
|
+
deliverable: "{artifact_dir}/ux-research.md"
|
|
17
|
+
guidance: "Must include personas, user journey maps, and key pain points with evidence."
|
|
18
|
+
max_iterations: 2
|
|
19
|
+
|
|
20
|
+
- name: product-requirements
|
|
21
|
+
type: agent
|
|
22
|
+
task: "Extract product requirements from the UX research."
|
|
23
|
+
agent: product-manager
|
|
24
|
+
operation: spec-writing
|
|
25
|
+
inputs:
|
|
26
|
+
- "{artifact_dir}/ux-research.md"
|
|
27
|
+
output: "{artifact_dir}/requirements.md"
|
|
28
|
+
|
|
29
|
+
- name: design-spec
|
|
30
|
+
type: pge
|
|
31
|
+
task: "Write the design specification."
|
|
32
|
+
inputs:
|
|
33
|
+
- "{artifact_dir}/ux-research.md"
|
|
34
|
+
- "{artifact_dir}/requirements.md"
|
|
35
|
+
planner:
|
|
36
|
+
agent: designer
|
|
37
|
+
operation: design-spec
|
|
38
|
+
generator:
|
|
39
|
+
agent: designer
|
|
40
|
+
operation: design-spec
|
|
41
|
+
evaluator:
|
|
42
|
+
agent: designer
|
|
43
|
+
operation: design-review
|
|
44
|
+
contract:
|
|
45
|
+
deliverable: "{artifact_dir}/design-spec.md"
|
|
46
|
+
guidance: "Must include information architecture, interaction patterns, accessibility requirements, and edge cases."
|
|
47
|
+
max_iterations: 3
|
|
48
|
+
|
|
49
|
+
- name: design-approval
|
|
50
|
+
type: human_gate
|
|
51
|
+
prompt: "Review the design spec. Approve to proceed to implementation."
|
|
52
|
+
artifacts:
|
|
53
|
+
- "{artifact_dir}/design-spec.md"
|
|
54
|
+
- "{artifact_dir}/ux-research.md"
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
name: feature-development
|
|
2
|
+
description: Full feature development cycle — spec, design, implement, test, ship.
|
|
3
|
+
|
|
4
|
+
stages:
|
|
5
|
+
- name: product-spec
|
|
6
|
+
type: pge
|
|
7
|
+
task: "Write a product requirements document based on the feature brief."
|
|
8
|
+
inputs:
|
|
9
|
+
- "{artifact_dir}/feature-brief.md"
|
|
10
|
+
planner:
|
|
11
|
+
agent: product-manager
|
|
12
|
+
operation: spec-writing
|
|
13
|
+
generator:
|
|
14
|
+
agent: product-manager
|
|
15
|
+
operation: spec-writing
|
|
16
|
+
evaluator:
|
|
17
|
+
agent: reviewer
|
|
18
|
+
contract:
|
|
19
|
+
deliverable: "{artifact_dir}/prd.md"
|
|
20
|
+
guidance: "Must include user stories, acceptance criteria, scope boundaries, success metrics, and dependencies."
|
|
21
|
+
max_iterations: 3
|
|
22
|
+
|
|
23
|
+
- name: spec-approval
|
|
24
|
+
type: human_gate
|
|
25
|
+
prompt: "Review the PRD. Approve to proceed to technical design."
|
|
26
|
+
artifacts:
|
|
27
|
+
- "{artifact_dir}/prd.md"
|
|
28
|
+
|
|
29
|
+
- name: technical-design
|
|
30
|
+
type: pge
|
|
31
|
+
task: "Design the technical architecture for this feature."
|
|
32
|
+
inputs:
|
|
33
|
+
- "{artifact_dir}/prd.md"
|
|
34
|
+
planner:
|
|
35
|
+
agent: architect
|
|
36
|
+
operation: design
|
|
37
|
+
generator:
|
|
38
|
+
agent: architect
|
|
39
|
+
operation: design
|
|
40
|
+
evaluator:
|
|
41
|
+
agent: reviewer
|
|
42
|
+
contract:
|
|
43
|
+
deliverable: "{artifact_dir}/design.md"
|
|
44
|
+
guidance: "Architecture must address all PRD requirements. Include component diagram, API contracts, and data flow."
|
|
45
|
+
max_iterations: 3
|
|
46
|
+
|
|
47
|
+
- name: design-approval
|
|
48
|
+
type: human_gate
|
|
49
|
+
prompt: "Review the technical design. Approve to proceed to implementation."
|
|
50
|
+
artifacts:
|
|
51
|
+
- "{artifact_dir}/design.md"
|
|
52
|
+
|
|
53
|
+
- name: implementation
|
|
54
|
+
type: pge
|
|
55
|
+
task: "Implement the feature according to the design."
|
|
56
|
+
inputs:
|
|
57
|
+
- "{artifact_dir}/prd.md"
|
|
58
|
+
- "{artifact_dir}/design.md"
|
|
59
|
+
planner:
|
|
60
|
+
agent: architect
|
|
61
|
+
operation: task-planning
|
|
62
|
+
generator:
|
|
63
|
+
agent: implementer
|
|
64
|
+
evaluator:
|
|
65
|
+
agent: code-reviewer
|
|
66
|
+
contract:
|
|
67
|
+
deliverable: "{artifact_dir}/implementation-report.md"
|
|
68
|
+
guidance: "All PRD acceptance criteria must be met. Tests required for new code paths."
|
|
69
|
+
max_iterations: 5
|
|
70
|
+
on_fail: human_gate
|
|
71
|
+
|
|
72
|
+
- name: test-suite
|
|
73
|
+
type: pge
|
|
74
|
+
task: "Write comprehensive tests for the implemented feature."
|
|
75
|
+
inputs:
|
|
76
|
+
- "{artifact_dir}/design.md"
|
|
77
|
+
- "{artifact_dir}/implementation-report.md"
|
|
78
|
+
planner:
|
|
79
|
+
agent: qa-engineer
|
|
80
|
+
operation: test-planning
|
|
81
|
+
generator:
|
|
82
|
+
agent: qa-engineer
|
|
83
|
+
operation: test-authoring
|
|
84
|
+
evaluator:
|
|
85
|
+
agent: code-reviewer
|
|
86
|
+
contract:
|
|
87
|
+
deliverable: "{artifact_dir}/test-report.md"
|
|
88
|
+
guidance: "Critical paths must have coverage. Edge cases and error conditions must be tested."
|
|
89
|
+
max_iterations: 3
|
|
90
|
+
|
|
91
|
+
- name: ship-approval
|
|
92
|
+
type: human_gate
|
|
93
|
+
prompt: "Implementation and tests complete. Approve to ship."
|
|
94
|
+
artifacts:
|
|
95
|
+
- "{artifact_dir}/implementation-report.md"
|
|
96
|
+
- "{artifact_dir}/test-report.md"
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: growth-experiment
|
|
2
|
+
description: Design and document a growth experiment.
|
|
3
|
+
|
|
4
|
+
stages:
|
|
5
|
+
- name: funnel-analysis
|
|
6
|
+
type: agent
|
|
7
|
+
task: "Analyze the current conversion funnel and identify drop-off points."
|
|
8
|
+
agent: analyst
|
|
9
|
+
output: "{artifact_dir}/funnel-analysis.md"
|
|
10
|
+
|
|
11
|
+
- name: experiment-design
|
|
12
|
+
type: pge
|
|
13
|
+
task: "Design a growth experiment to improve the weakest funnel stage."
|
|
14
|
+
inputs:
|
|
15
|
+
- "{artifact_dir}/funnel-analysis.md"
|
|
16
|
+
planner:
|
|
17
|
+
agent: growth-strategist
|
|
18
|
+
generator:
|
|
19
|
+
agent: growth-strategist
|
|
20
|
+
evaluator:
|
|
21
|
+
agent: analyst
|
|
22
|
+
contract:
|
|
23
|
+
deliverable: "{artifact_dir}/experiment-design.md"
|
|
24
|
+
guidance: "Must include hypothesis, test/control design, sample size considerations, success metrics, and duration."
|
|
25
|
+
max_iterations: 3
|
|
26
|
+
|
|
27
|
+
- name: campaign-copy
|
|
28
|
+
type: pge
|
|
29
|
+
task: "Write the copy for the experiment's test variant."
|
|
30
|
+
inputs:
|
|
31
|
+
- "{artifact_dir}/experiment-design.md"
|
|
32
|
+
planner:
|
|
33
|
+
agent: marketer
|
|
34
|
+
operation: content
|
|
35
|
+
generator:
|
|
36
|
+
agent: copywriter
|
|
37
|
+
evaluator:
|
|
38
|
+
agent: reviewer
|
|
39
|
+
contract:
|
|
40
|
+
deliverable: "{artifact_dir}/campaign-copy.md"
|
|
41
|
+
guidance: "Must include all ad copy variants, landing page copy, and email sequences as specified in experiment design."
|
|
42
|
+
max_iterations: 3
|
|
43
|
+
|
|
44
|
+
- name: experiment-approval
|
|
45
|
+
type: human_gate
|
|
46
|
+
prompt: "Review experiment design and campaign copy. Approve to launch."
|
|
47
|
+
artifacts:
|
|
48
|
+
- "{artifact_dir}/experiment-design.md"
|
|
49
|
+
- "{artifact_dir}/campaign-copy.md"
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
name: incident-runbook
|
|
2
|
+
description: Create an incident response runbook for a service.
|
|
3
|
+
|
|
4
|
+
stages:
|
|
5
|
+
- name: service-assessment
|
|
6
|
+
type: agent
|
|
7
|
+
task: "Assess the service architecture and identify failure modes."
|
|
8
|
+
agent: architect
|
|
9
|
+
operation: health-assessment
|
|
10
|
+
output: "{artifact_dir}/service-assessment.md"
|
|
11
|
+
|
|
12
|
+
- name: runbook
|
|
13
|
+
type: pge
|
|
14
|
+
task: "Write the incident response runbook for this service."
|
|
15
|
+
inputs:
|
|
16
|
+
- "{artifact_dir}/service-assessment.md"
|
|
17
|
+
planner:
|
|
18
|
+
agent: ops-manager
|
|
19
|
+
generator:
|
|
20
|
+
agent: ops-manager
|
|
21
|
+
evaluator:
|
|
22
|
+
agent: reviewer
|
|
23
|
+
contract:
|
|
24
|
+
deliverable: "{artifact_dir}/runbook.md"
|
|
25
|
+
guidance: "Must cover detection, triage, mitigation, and post-incident steps for each failure mode. Actionable by an on-call engineer."
|
|
26
|
+
max_iterations: 3
|
|
27
|
+
|
|
28
|
+
- name: devops-review
|
|
29
|
+
type: pge
|
|
30
|
+
task: "Review the runbook for technical accuracy and completeness."
|
|
31
|
+
inputs:
|
|
32
|
+
- "{artifact_dir}/runbook.md"
|
|
33
|
+
- "{artifact_dir}/service-assessment.md"
|
|
34
|
+
planner:
|
|
35
|
+
agent: devops
|
|
36
|
+
generator:
|
|
37
|
+
agent: devops
|
|
38
|
+
evaluator:
|
|
39
|
+
agent: reviewer
|
|
40
|
+
contract:
|
|
41
|
+
deliverable: "{artifact_dir}/runbook-reviewed.md"
|
|
42
|
+
guidance: "All commands must be correct. Monitoring links and escalation paths must be complete."
|
|
43
|
+
max_iterations: 2
|