agents-united 0.5.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/LICENSE +21 -0
- package/README.md +673 -0
- package/dist/cli.d.ts +5 -0
- package/dist/cli.js +4789 -0
- package/dist/cli.js.map +1 -0
- package/package.json +77 -0
- package/registry/agents/orchestrator-business.md +188 -0
- package/registry/agents/orchestrator-design.md +168 -0
- package/registry/agents/orchestrator-engineering.md +183 -0
- package/registry/agents/orchestrator-marketing.md +228 -0
- package/registry/agents/orchestrator-research.md +196 -0
- package/registry/agents/orchestrator-security.md +190 -0
- package/registry/agents/orchestrator-system-architecture.md +171 -0
- package/registry/agents/orchestrator-universal.md +168 -0
- package/registry/agents/subagent-accessibility-lead.md +47 -0
- package/registry/agents/subagent-ai-model-architect.md +97 -0
- package/registry/agents/subagent-android-architect.md +47 -0
- package/registry/agents/subagent-appsec-penetration-tester.md +189 -0
- package/registry/agents/subagent-backend-architect.md +360 -0
- package/registry/agents/subagent-business-panel-experts.md +126 -0
- package/registry/agents/subagent-cloud-infrastructure-architect.md +126 -0
- package/registry/agents/subagent-cloud-security-architect.md +221 -0
- package/registry/agents/subagent-code-reviewer.md +193 -0
- package/registry/agents/subagent-compliance-grc-specialist.md +147 -0
- package/registry/agents/subagent-cross-platform-specialist.md +47 -0
- package/registry/agents/subagent-data-engineer.md +46 -0
- package/registry/agents/subagent-database-administrator.md +141 -0
- package/registry/agents/subagent-deep-research.md +94 -0
- package/registry/agents/subagent-design-ops-lead.md +121 -0
- package/registry/agents/subagent-design-researcher.md +133 -0
- package/registry/agents/subagent-design-systems-architect.md +134 -0
- package/registry/agents/subagent-designer-toolkit-expert.md +363 -0
- package/registry/agents/subagent-devops-engineer.md +423 -0
- package/registry/agents/subagent-distributed-systems-architect.md +47 -0
- package/registry/agents/subagent-e2e-tester.md +60 -0
- package/registry/agents/subagent-financial-analyst.md +119 -0
- package/registry/agents/subagent-finops-cost-engineer.md +98 -0
- package/registry/agents/subagent-frontend-architect.md +368 -0
- package/registry/agents/subagent-interaction-designer.md +302 -0
- package/registry/agents/subagent-ios-architect.md +46 -0
- package/registry/agents/subagent-legal-contract-analyst.md +108 -0
- package/registry/agents/subagent-lifecycle-email-specialist.md +46 -0
- package/registry/agents/subagent-literature-patent-analyst.md +78 -0
- package/registry/agents/subagent-market-intelligence-analyst.md +110 -0
- package/registry/agents/subagent-marketing-campaign-specialist.md +80 -0
- package/registry/agents/subagent-marketing-content-strategist.md +184 -0
- package/registry/agents/subagent-marketing-conversion-specialist.md +79 -0
- package/registry/agents/subagent-marketing-creative-designer.md +93 -0
- package/registry/agents/subagent-marketing-growth-strategist.md +137 -0
- package/registry/agents/subagent-ml-platform-engineer.md +95 -0
- package/registry/agents/subagent-operations-strategist.md +85 -0
- package/registry/agents/subagent-paid-acquisition-specialist.md +47 -0
- package/registry/agents/subagent-plg-strategist.md +46 -0
- package/registry/agents/subagent-prototype-tester.md +140 -0
- package/registry/agents/subagent-qa-automation-lead.md +63 -0
- package/registry/agents/subagent-repo-index.md +180 -0
- package/registry/agents/subagent-security-engineer.md +134 -0
- package/registry/agents/subagent-seo-specialist.md +46 -0
- package/registry/agents/subagent-socratic-mentor.md +105 -0
- package/registry/agents/subagent-statistical-analyst.md +132 -0
- package/registry/agents/subagent-sysops-sre-lead.md +84 -0
- package/registry/agents/subagent-system-architect.md +122 -0
- package/registry/agents/subagent-ui-designer.md +149 -0
- package/registry/agents/subagent-ux-strategist.md +88 -0
- package/registry/bundles.json +1386 -0
- package/registry/rules/AGENTS.md +41 -0
- package/registry/rules/CLAUDE.md +12 -0
- package/registry/rules/CURSOR.md +12 -0
- package/registry/rules/GEMINI.md +41 -0
- package/registry/rules/clean-code-and-architecture.md +25 -0
- package/registry/rules/domain-modeling-and-adr.md +27 -0
- package/registry/rules/git-guardrails.md +19 -0
- package/registry/rules/multi-agent-coordination.md +33 -0
- package/registry/rules/quality-aesthetics-accessibility.md +29 -0
- package/registry/rules/skill-attribution.md +27 -0
- package/registry/rules/test-driven-development.md +41 -0
- package/registry/skills/ab-test-setup/SKILL.md +150 -0
- package/registry/skills/accessibility-audit/SKILL.md +150 -0
- package/registry/skills/ad-attribution-modeling/SKILL.md +206 -0
- package/registry/skills/ad-creative-design/SKILL.md +27 -0
- package/registry/skills/ai-prototype-refactoring/SKILL.md +29 -0
- package/registry/skills/architecture-design/SKILL.md +141 -0
- package/registry/skills/azure-infrastructure-bicep/SKILL.md +28 -0
- package/registry/skills/backend-api-design/SKILL.md +151 -0
- package/registry/skills/chaos-engineering/SKILL.md +41 -0
- package/registry/skills/churn-prevention-playbook/SKILL.md +181 -0
- package/registry/skills/ci-cd-pipeline-automation/SKILL.md +40 -0
- package/registry/skills/clickable-prototype-spec/SKILL.md +150 -0
- package/registry/skills/code-refactoring/SKILL.md +135 -0
- package/registry/skills/component-library-management/SKILL.md +150 -0
- package/registry/skills/component-playground-setup/SKILL.md +150 -0
- package/registry/skills/content-calendar-strategy/SKILL.md +150 -0
- package/registry/skills/conversion-funnel-optimization/SKILL.md +150 -0
- package/registry/skills/copywriting-frameworks/SKILL.md +150 -0
- package/registry/skills/database-design/SKILL.md +135 -0
- package/registry/skills/dependency-management/SKILL.md +142 -0
- package/registry/skills/design-handoff-spec/SKILL.md +150 -0
- package/registry/skills/design-ops-workflow/SKILL.md +150 -0
- package/registry/skills/design-system-governance/SKILL.md +150 -0
- package/registry/skills/design-system-tokens/SKILL.md +150 -0
- package/registry/skills/design-tokens-management/SKILL.md +150 -0
- package/registry/skills/design-version-control/SKILL.md +150 -0
- package/registry/skills/diagnosing-bugs/SKILL.md +45 -0
- package/registry/skills/docker-deployment/SKILL.md +144 -0
- package/registry/skills/domain-modeling/SKILL.md +52 -0
- package/registry/skills/email-drip-sequences/SKILL.md +181 -0
- package/registry/skills/email-marketing-automation/SKILL.md +150 -0
- package/registry/skills/finishing-a-development-branch/SKILL.md +132 -0
- package/registry/skills/frontend-component-design/SKILL.md +153 -0
- package/registry/skills/git-guardrails/SKILL.md +41 -0
- package/registry/skills/google-ads-optimization/SKILL.md +27 -0
- package/registry/skills/graphql-schema-design/SKILL.md +146 -0
- package/registry/skills/grill-me/SKILL.md +57 -0
- package/registry/skills/grill-with-docs/SKILL.md +84 -0
- package/registry/skills/growth-experiment-design/SKILL.md +150 -0
- package/registry/skills/handoff/SKILL.md +44 -0
- package/registry/skills/hf-model-evaluation/SKILL.md +84 -0
- package/registry/skills/interaction-pattern-library/SKILL.md +150 -0
- package/registry/skills/interactive-prototype-builder/SKILL.md +157 -0
- package/registry/skills/local-llm-inference/SKILL.md +77 -0
- package/registry/skills/maestro-mobile-testing/SKILL.md +40 -0
- package/registry/skills/marketing-creative-design/SKILL.md +186 -0
- package/registry/skills/mcp-setup/SKILL.md +370 -0
- package/registry/skills/meta-ad-creative-testing/SKILL.md +26 -0
- package/registry/skills/micro-interaction-design/SKILL.md +150 -0
- package/registry/skills/microservices-architecture/SKILL.md +141 -0
- package/registry/skills/mobile-android-design/SKILL.md +40 -0
- package/registry/skills/mobile-first-design/SKILL.md +150 -0
- package/registry/skills/mobile-ios-design/SKILL.md +40 -0
- package/registry/skills/mobile-platform-offline-validate/SKILL.md +41 -0
- package/registry/skills/modal-serverless-python/SKILL.md +81 -0
- package/registry/skills/onboarding-cro/SKILL.md +185 -0
- package/registry/skills/paid-acquisition-ppc/SKILL.md +171 -0
- package/registry/skills/performance-optimization/SKILL.md +141 -0
- package/registry/skills/playwright-best-practices/SKILL.md +39 -0
- package/registry/skills/product-launch-playbook/SKILL.md +150 -0
- package/registry/skills/programmatic-seo/SKILL.md +213 -0
- package/registry/skills/rag-vector-pipeline/SKILL.md +84 -0
- package/registry/skills/react-best-practices/SKILL.md +40 -0
- package/registry/skills/receiving-code-review/SKILL.md +130 -0
- package/registry/skills/replicate-model-inference/SKILL.md +76 -0
- package/registry/skills/requesting-code-review/SKILL.md +137 -0
- package/registry/skills/responsive-design-audit/SKILL.md +150 -0
- package/registry/skills/runpod-gpu-orchestration/SKILL.md +85 -0
- package/registry/skills/schema-markup-strategy/SKILL.md +194 -0
- package/registry/skills/security-audit/SKILL.md +139 -0
- package/registry/skills/seo-audit/SKILL.md +150 -0
- package/registry/skills/signup-flow-cro/SKILL.md +150 -0
- package/registry/skills/social-media-campaign/SKILL.md +150 -0
- package/registry/skills/state-driven-ui-animation/SKILL.md +150 -0
- package/registry/skills/subagent-driven-development/SKILL.md +135 -0
- package/registry/skills/supabase-backend-architecture/SKILL.md +28 -0
- package/registry/skills/systematic-debugging/SKILL.md +138 -0
- package/registry/skills/technical-documentation/SKILL.md +136 -0
- package/registry/skills/technical-seo-audit/SKILL.md +27 -0
- package/registry/skills/telemetry-monitoring/SKILL.md +40 -0
- package/registry/skills/test-driven-development/SKILL.md +135 -0
- package/registry/skills/to-spec/SKILL.md +48 -0
- package/registry/skills/to-tickets/SKILL.md +47 -0
- package/registry/skills/turso-distributed-sqlite/SKILL.md +27 -0
- package/registry/skills/ui-component-spec/SKILL.md +150 -0
- package/registry/skills/usability-testing-protocol/SKILL.md +150 -0
- package/registry/skills/user-flow-mapping/SKILL.md +150 -0
- package/registry/skills/user-journey-mapping/SKILL.md +150 -0
- package/registry/skills/vector-database-design/SKILL.md +84 -0
- package/registry/skills/vercel-deploy-best-practices/SKILL.md +28 -0
- package/registry/skills/viral-referral-loops/SKILL.md +209 -0
- package/registry/workflows/workflow-agency-ad-creative-sprint.md +50 -0
- package/registry/workflows/workflow-agency-brand-design-system.md +50 -0
- package/registry/workflows/workflow-agency-client-pitch-proposal.md +50 -0
- package/registry/workflows/workflow-agency-cro-funnel-teardown.md +50 -0
- package/registry/workflows/workflow-agency-full-campaign.md +58 -0
- package/registry/workflows/workflow-agency-seo-content-engine.md +50 -0
- package/registry/workflows/workflow-analyze.md +60 -0
- package/registry/workflows/workflow-api-contract-design.md +48 -0
- package/registry/workflows/workflow-app-store-release.md +48 -0
- package/registry/workflows/workflow-brainstorm.md +60 -0
- package/registry/workflows/workflow-build.md +60 -0
- package/registry/workflows/workflow-business-panel.md +60 -0
- package/registry/workflows/workflow-cleanup.md +60 -0
- package/registry/workflows/workflow-deploy-staging.md +49 -0
- package/registry/workflows/workflow-design-code.md +60 -0
- package/registry/workflows/workflow-design-ops--handoff.md +60 -0
- package/registry/workflows/workflow-design-ops--plan-sprint.md +60 -0
- package/registry/workflows/workflow-design-ops--setup-workflow.md +60 -0
- package/registry/workflows/workflow-design-orchestrate.md +60 -0
- package/registry/workflows/workflow-design-systems--audit-system.md +60 -0
- package/registry/workflows/workflow-design-systems--create-component.md +60 -0
- package/registry/workflows/workflow-design-systems--tokenize.md +60 -0
- package/registry/workflows/workflow-diagnose.md +45 -0
- package/registry/workflows/workflow-e2e-testing.md +49 -0
- package/registry/workflows/workflow-email-drip-sequence.md +65 -0
- package/registry/workflows/workflow-estimate.md +60 -0
- package/registry/workflows/workflow-explain.md +60 -0
- package/registry/workflows/workflow-frontend-audit.md +49 -0
- package/registry/workflows/workflow-git.md +60 -0
- package/registry/workflows/workflow-grill.md +51 -0
- package/registry/workflows/workflow-implement.md +61 -0
- package/registry/workflows/workflow-incident-triage.md +49 -0
- package/registry/workflows/workflow-interaction-design--design-interaction.md +60 -0
- package/registry/workflows/workflow-interaction-design--error-flow.md +60 -0
- package/registry/workflows/workflow-interaction-design--map-states.md +60 -0
- package/registry/workflows/workflow-marketing-audit.md +60 -0
- package/registry/workflows/workflow-marketing-campaign-builder.md +60 -0
- package/registry/workflows/workflow-marketing-content-pipeline.md +60 -0
- package/registry/workflows/workflow-marketing-growth-experiment.md +60 -0
- package/registry/workflows/workflow-marketing-launch.md +60 -0
- package/registry/workflows/workflow-marketing-panel.md +60 -0
- package/registry/workflows/workflow-ml-eval.md +51 -0
- package/registry/workflows/workflow-mobile-build.md +49 -0
- package/registry/workflows/workflow-onboarding-funnel-cro.md +65 -0
- package/registry/workflows/workflow-paid-acquisition-campaign.md +65 -0
- package/registry/workflows/workflow-paid-campaign-launch.md +47 -0
- package/registry/workflows/workflow-plan.md +60 -0
- package/registry/workflows/workflow-prototyping-testing--evaluate.md +60 -0
- package/registry/workflows/workflow-prototyping-testing--experiment.md +60 -0
- package/registry/workflows/workflow-prototyping-testing--prototype-plan.md +60 -0
- package/registry/workflows/workflow-prototyping-testing--test-plan.md +60 -0
- package/registry/workflows/workflow-rag-pipeline-deploy.md +53 -0
- package/registry/workflows/workflow-recommend.md +60 -0
- package/registry/workflows/workflow-research.md +60 -0
- package/registry/workflows/workflow-review.md +60 -0
- package/registry/workflows/workflow-seo-audit-pipeline.md +47 -0
- package/registry/workflows/workflow-seo-content-pipeline.md +65 -0
- package/registry/workflows/workflow-serverless-gpu-deploy.md +52 -0
- package/registry/workflows/workflow-spec-panel.md +60 -0
- package/registry/workflows/workflow-spec.md +44 -0
- package/registry/workflows/workflow-test.md +60 -0
- package/registry/workflows/workflow-troubleshoot.md +60 -0
- package/registry/workflows/workflow-ui-design--color-palette.md +60 -0
- package/registry/workflows/workflow-ui-design--design-screen.md +60 -0
- package/registry/workflows/workflow-ui-design--responsive-audit.md +60 -0
- package/registry/workflows/workflow-ui-design--type-system.md +60 -0
- package/registry/workflows/workflow-ux-strategy--benchmark.md +60 -0
- package/registry/workflows/workflow-ux-strategy--frame-problem.md +60 -0
- package/registry/workflows/workflow-ux-strategy--strategize.md +60 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: product-launch-playbook
|
|
3
|
+
description: Production-grade Product Launch Playbook playbook for design
|
|
4
|
+
operations, UX systems, and growth strategy.
|
|
5
|
+
metadata:
|
|
6
|
+
author: agents-united
|
|
7
|
+
version: 2.0.0
|
|
8
|
+
icon: 🚀
|
|
9
|
+
disable-slash-command: true
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Product Launch Playbook
|
|
13
|
+
|
|
14
|
+
## Overview & Purpose
|
|
15
|
+
The Product Launch Playbook skill provides a deterministic framework for executing product launch playbook processes in modern software products.
|
|
16
|
+
|
|
17
|
+
Following this skill ensures high usability, visual consistency, rapid iteration, and complete cross-functional team alignment.
|
|
18
|
+
|
|
19
|
+
## Execution Triggers & Prerequisites
|
|
20
|
+
### Execution Triggers
|
|
21
|
+
- Direct request to execute Product Launch Playbook tasks.
|
|
22
|
+
- Auditing existing product assets or workflows.
|
|
23
|
+
- Standardizing product-launch-playbook procedures across team projects.
|
|
24
|
+
- Preparing design handoffs or growth campaign launches.
|
|
25
|
+
|
|
26
|
+
### Prerequisites
|
|
27
|
+
- Project workspace configured with design system tokens or component libraries.
|
|
28
|
+
- Target UI design specification or growth experiment hypothesis.
|
|
29
|
+
- Testing and linting tools operational.
|
|
30
|
+
- Clean git working directory.
|
|
31
|
+
|
|
32
|
+
## Input & Output Requirements
|
|
33
|
+
### Inputs
|
|
34
|
+
| Parameter | Type | Required | Description |
|
|
35
|
+
|---|---|---|---|
|
|
36
|
+
| `target_scope` | String | Yes | Target UI component, page, or campaign scope |
|
|
37
|
+
| `config` | Object | Optional | Specific parameters and threshold configurations |
|
|
38
|
+
| `output_dir` | Directory Path | Optional | Destination directory for generated artifacts |
|
|
39
|
+
| `strict_mode` | Boolean | Optional | Enforce strict zero-warning validation |
|
|
40
|
+
|
|
41
|
+
### Outputs
|
|
42
|
+
| Artifact | Path / Format | Description |
|
|
43
|
+
|---|---|---|
|
|
44
|
+
| Specification Document | `docs/product-launch-playbook/spec.md` | Full specification and guidelines document |
|
|
45
|
+
| Component / Asset Files | `src/product-launch-playbook/*` | Implemented design tokens, components, or campaign assets |
|
|
46
|
+
| Audit Report | `reports/product-launch-playbook/summary.json` | Health check and audit metric results |
|
|
47
|
+
|
|
48
|
+
## Step-by-Step Execution Runbook
|
|
49
|
+
|
|
50
|
+
### Phase 1: Pre-Execution Discovery & Workspace Analysis
|
|
51
|
+
1. Inspect workspace repository to locate relevant UI components, tokens, or campaign assets.
|
|
52
|
+
```bash
|
|
53
|
+
find src/ docs/ -maxdepth 3 -type f
|
|
54
|
+
```
|
|
55
|
+
2. Analyze domain requirements and classify core UI elements, interaction flows, or growth metrics.
|
|
56
|
+
3. Establish baseline quality metrics and target benchmarks.
|
|
57
|
+
4. Verify working tree status to ensure clean git workspace.
|
|
58
|
+
```bash
|
|
59
|
+
git status --short
|
|
60
|
+
```
|
|
61
|
+
5. Formulate initial execution plan.
|
|
62
|
+
|
|
63
|
+
### Phase 2: Input Contract Validation & Strategy Selection
|
|
64
|
+
1. Validate input parameters against technical feasibility and design system guidelines.
|
|
65
|
+
2. Select implementation pattern matching component or campaign architecture.
|
|
66
|
+
3. Establish verification rules and accessibility / conversion thresholds.
|
|
67
|
+
4. Formulate atomic step-by-step execution sequence.
|
|
68
|
+
5. Create temporary working directory if needed.
|
|
69
|
+
|
|
70
|
+
### Phase 3: Core Step-by-Step Implementation Execution
|
|
71
|
+
1. Author primary specification document at `docs/product-launch-playbook/spec.md`.
|
|
72
|
+
2. Generate code, token, or layout implementation files.
|
|
73
|
+
```bash
|
|
74
|
+
npm run typecheck
|
|
75
|
+
```
|
|
76
|
+
3. Apply automated formatting and linting tools.
|
|
77
|
+
4. Execute unit or visual regression tests.
|
|
78
|
+
```bash
|
|
79
|
+
npm test
|
|
80
|
+
```
|
|
81
|
+
5. Refactor asset structure for optimal performance and maintainability.
|
|
82
|
+
|
|
83
|
+
### Phase 4: Verification, Testing & Quality Gate Checking
|
|
84
|
+
1. Run full project verification suite.
|
|
85
|
+
```bash
|
|
86
|
+
npm run typecheck && npm test && npm run build
|
|
87
|
+
```
|
|
88
|
+
2. Verify zero lint errors, type warnings, or broken references.
|
|
89
|
+
3. Execute CLI health doctor check.
|
|
90
|
+
```bash
|
|
91
|
+
node dist/cli.js doctor
|
|
92
|
+
```
|
|
93
|
+
4. Assert all acceptance criteria are satisfied.
|
|
94
|
+
|
|
95
|
+
### Phase 5: Post-Execution Cleanup & Artifact Generation
|
|
96
|
+
1. Generate execution summary report at `reports/product-launch-playbook/summary.md`.
|
|
97
|
+
2. Clean up temporary build artifacts and scratch files.
|
|
98
|
+
3. Commit generated files to git repository.
|
|
99
|
+
```bash
|
|
100
|
+
git add docs/product-launch-playbook/ reports/product-launch-playbook/
|
|
101
|
+
git commit -m "feat(product-launch-playbook): implement Product Launch Playbook playbook artifacts"
|
|
102
|
+
```
|
|
103
|
+
4. Publish documentation for team review.
|
|
104
|
+
|
|
105
|
+
## Code & Configuration Exemplars
|
|
106
|
+
|
|
107
|
+
### Exemplar 1: Product Launch Playbook Configuration Specification
|
|
108
|
+
```yaml
|
|
109
|
+
version: "2.0.0"
|
|
110
|
+
metadata:
|
|
111
|
+
skill: "product-launch-playbook"
|
|
112
|
+
author: "agents-united"
|
|
113
|
+
rules:
|
|
114
|
+
strictValidation: true
|
|
115
|
+
reporting:
|
|
116
|
+
format: "json"
|
|
117
|
+
output: "reports/product-launch-playbook/summary.json"
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Exemplar 2: Product Launch Playbook Helper Module
|
|
121
|
+
```typescript
|
|
122
|
+
export function runProductLaunchPlaybook(scope: string): boolean {
|
|
123
|
+
console.log('Running Product Launch Playbook on:', scope);
|
|
124
|
+
return true;
|
|
125
|
+
}
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Edge Cases & Error Recovery Procedures
|
|
129
|
+
|
|
130
|
+
### Scenario A: Validation Failure in Product Launch Playbook
|
|
131
|
+
1. **Diagnosis**: Specification or code asset fails validation rules in product-launch-playbook.
|
|
132
|
+
2. **Recovery Protocol**:
|
|
133
|
+
- Step 1: Inspect error log at reports directory.
|
|
134
|
+
- Step 2: Correct non-compliant syntax or structure.
|
|
135
|
+
- Step 3: Re-run verification pipeline.
|
|
136
|
+
|
|
137
|
+
### Scenario B: Missing Resource for Product Launch Playbook
|
|
138
|
+
1. **Diagnosis**: Target design token or configuration asset missing from workspace.
|
|
139
|
+
2. **Recovery Protocol**:
|
|
140
|
+
- Step 1: Generate baseline resource file from standard template.
|
|
141
|
+
- Step 2: Update configuration references.
|
|
142
|
+
- Step 3: Resume runbook execution.
|
|
143
|
+
|
|
144
|
+
## Verification & Validation Checklist
|
|
145
|
+
- [ ] Frontmatter conforms strictly to `author: "agents-united"` and `version: "2.0.0"`.
|
|
146
|
+
- [ ] All 7 mandatory sections present with explicit headers.
|
|
147
|
+
- [ ] Step-by-Step Execution Runbook body contains >= 50 lines.
|
|
148
|
+
- [ ] Code exemplars provided with valid syntax fencing.
|
|
149
|
+
- [ ] Zero dummy placeholder strings or unpopulated template markers present.
|
|
150
|
+
- [ ] Project build, test suite, and doctor check pass 100% cleanly.
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: programmatic-seo
|
|
3
|
+
description: Production-grade Programmatic SEO playbook for data-driven landing
|
|
4
|
+
page templates, dynamic URL routing, database seeding, schema JSON-LD, and
|
|
5
|
+
anti-thin-content guardrails.
|
|
6
|
+
metadata:
|
|
7
|
+
author: agents-united
|
|
8
|
+
version: 2.0.0
|
|
9
|
+
icon: 🤖
|
|
10
|
+
disable-slash-command: true
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Programmatic SEO & Data-Driven Landing Page Generation Architecture
|
|
14
|
+
|
|
15
|
+
## Overview & Purpose
|
|
16
|
+
The Programmatic SEO skill provides a robust architectural framework for generating hundreds or thousands of high-intent, indexable landing pages from structured databases while rigorously avoiding Google search engine penalties for thin, low-value, or duplicate content.
|
|
17
|
+
|
|
18
|
+
Following this skill establishes dynamic URL path hierarchies, high-value data-enriched page templates, automated internal linking meshes, XML sitemap indexing partitions, dynamic JSON-LD schema injection, and programmatic quality auditing.
|
|
19
|
+
|
|
20
|
+
## Execution Triggers & Prerequisites
|
|
21
|
+
### Execution Triggers
|
|
22
|
+
- Designing and deploying programmatic directory, comparison, or integration landing pages.
|
|
23
|
+
- Scaling organic search traffic for long-tail keyword permutations (e.g. `{tool} vs {alternative}`, `best {category} for {platform}`).
|
|
24
|
+
- Automating XML sitemap generation and indexation workflows for large-scale dynamic routes.
|
|
25
|
+
- Auditing existing programmatic pages to eliminate thin content and cannibalization risks.
|
|
26
|
+
|
|
27
|
+
### Prerequisites
|
|
28
|
+
- Structured dataset or database table containing entity records, features, pricing, and pros/cons.
|
|
29
|
+
- Framework supporting dynamic static site generation (Next.js App Router, Astro, SvelteKit).
|
|
30
|
+
- Search Console / SEO crawling tools (Screaming Frog, Sitebulb) for pre-deployment validation.
|
|
31
|
+
- Clean git working directory.
|
|
32
|
+
|
|
33
|
+
## Input & Output Requirements
|
|
34
|
+
### Inputs
|
|
35
|
+
| Parameter | Type | Required | Description |
|
|
36
|
+
|---|---|---|---|
|
|
37
|
+
| `dataset_path` | String | Yes | Path to JSON, CSV, or database connection for page entities |
|
|
38
|
+
| `url_pattern` | String | Yes | Dynamic route pattern (e.g. `/compare/[competitor]-alternatives`) |
|
|
39
|
+
| `target_keyword_template` | String | Yes | Pattern for title and H1 tags (e.g. `Top 10 {competitor} Alternatives in 2026`) |
|
|
40
|
+
| `min_unique_content_ratio` | Number | Optional | Minimum unique text ratio per page (default: 0.60) |
|
|
41
|
+
| `max_urls_per_sitemap` | Number | Optional | Sitemap chunking limit (default: 10000) |
|
|
42
|
+
|
|
43
|
+
### Outputs
|
|
44
|
+
| Artifact | Path / Format | Description |
|
|
45
|
+
|---|---|---|
|
|
46
|
+
| Programmatic Spec Spec | `docs/programmatic-seo/programmatic-spec.md` | Architecture, data schema, and template rules |
|
|
47
|
+
| Dynamic Route Component | `src/app/compare/[slug]/page.tsx` | Next.js dynamic static generation template |
|
|
48
|
+
| Dataset Seeder Module | `src/services/seo/dataset-seeder.ts` | Data validation, enrichment, and normalization |
|
|
49
|
+
| Sitemap Generator | `src/services/seo/sitemap-generator.ts` | Chunked XML sitemap index and file builder |
|
|
50
|
+
|
|
51
|
+
## Step-by-Step Execution Runbook
|
|
52
|
+
|
|
53
|
+
### Phase 1: Keyword Opportunity Modeling & Database Schema Design
|
|
54
|
+
1. Conduct keyword permutation research identifying head terms and modifier facets (`[entity] + [modifier] + [location/use-case]`).
|
|
55
|
+
2. Construct the underlying database or JSON schema. Every entity record must include:
|
|
56
|
+
- Primary identifier, display name, category, and slug.
|
|
57
|
+
- Unique value proposition paragraph (minimum 150 unique words per record).
|
|
58
|
+
- Structured comparison metrics (feature flags, pricing tiers, benchmarks).
|
|
59
|
+
- Curated user review snippets, pros/cons bullet points, and verified screenshots.
|
|
60
|
+
3. Validate dataset integrity: assert that no two records share identical descriptions or duplicate slugs.
|
|
61
|
+
|
|
62
|
+
### Phase 2: Dynamic URL Hierarchy & Template Modularization
|
|
63
|
+
1. Author canonical URL routing schemas ensuring shallow directory depth (e.g. `/tools/{slug}` or `/alternatives-to/{slug}`).
|
|
64
|
+
2. Build modular page template combining static anchor sections with dynamic, data-driven components:
|
|
65
|
+
- Dynamic Hero with keyword-optimized H1 and metadata summary.
|
|
66
|
+
- Interactive Comparison Matrix component rendering tabular feature differences.
|
|
67
|
+
- Dynamic FAQ Accordion populated from entity-specific Q&A data.
|
|
68
|
+
- User Review & Sentiment Breakdown visualization.
|
|
69
|
+
3. Ensure every page includes unique, dynamically computed insights (e.g. price per seat calculations or latency benchmarks).
|
|
70
|
+
|
|
71
|
+
### Phase 3: Automated Internal Linking Mesh & Breadcrumbs
|
|
72
|
+
1. Implement contextual breadcrumb navigation on every programmatic page with Schema.org `BreadcrumbList` markup.
|
|
73
|
+
2. Build related-entity recommendation algorithms linking each programmatic page to 5-8 contextually relevant sibling pages within the same category.
|
|
74
|
+
3. Construct hub pages (category index hubs) that aggregate and distribute PageRank across programmatic leaf nodes.
|
|
75
|
+
4. Verify that no page becomes an orphan node unreachable from the root site navigation graph.
|
|
76
|
+
|
|
77
|
+
### Phase 4: Anti-Thin-Content Auditing & Duplicate Content Guardrails
|
|
78
|
+
1. Execute algorithmic lexical similarity check (Jaccard similarity / TF-IDF cosine distance) across generated page outputs.
|
|
79
|
+
2. Enforce minimum uniqueness threshold: reject any generated page where boilerplate exceeds 40% of total page content.
|
|
80
|
+
3. If data is sparse for a specific entity record, automatically redirect or return `404/410` status rather than publishing a thin page.
|
|
81
|
+
4. Dynamically inject unique user-generated or API-fetched data points (real-time uptime, changelog dates) to continuously differentiate pages.
|
|
82
|
+
|
|
83
|
+
### Phase 5: XML Sitemap Partitioning, Static Generation & Indexation Monitoring
|
|
84
|
+
1. Generate chunked XML sitemaps partitioned into subsets of <= 10,000 URLs with `<lastmod>` timestamps reflecting data updates.
|
|
85
|
+
2. Create a master `sitemap_index.xml` referencing all partition files.
|
|
86
|
+
3. Execute static build (`next build` / `astro build`) to pre-render static HTML pages for sub-millisecond TTFB.
|
|
87
|
+
4. Run crawler audit asserting 100% of generated URLs return HTTP 200 with valid canonical tags matching target URLs.
|
|
88
|
+
5. Commit programmatic SEO architecture to repository.
|
|
89
|
+
```bash
|
|
90
|
+
git add src/app/ src/services/seo/ docs/programmatic-seo/
|
|
91
|
+
git commit -m "feat(programmatic-seo): implement scalable programmatic page generation engine"
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Code & Configuration Exemplars
|
|
95
|
+
|
|
96
|
+
### Exemplar 1: Dynamic Static Page Generation Template (Next.js App Router)
|
|
97
|
+
```typescript
|
|
98
|
+
import { notFound } from 'next/navigation';
|
|
99
|
+
import { getEntityBySlug, getAllEntitySlugs } from '@/services/seo/dataset-seeder';
|
|
100
|
+
import { JsonLd } from '@/components/seo/JsonLd';
|
|
101
|
+
|
|
102
|
+
export async function generateStaticParams() {
|
|
103
|
+
const slugs = await getAllEntitySlugs();
|
|
104
|
+
return slugs.map(slug => ({ slug }));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export async function generateMetadata({ params }: { params: Promise<{ slug: string }> }) {
|
|
108
|
+
const { slug } = await params;
|
|
109
|
+
const entity = await getEntityBySlug(slug);
|
|
110
|
+
if (!entity) return {};
|
|
111
|
+
|
|
112
|
+
return {
|
|
113
|
+
title: `Top 10 ${entity.name} Alternatives & Competitors (2026)`,
|
|
114
|
+
description: `Compare ${entity.name} with leading competitors. In-depth pricing, feature analysis, and benchmarks.`,
|
|
115
|
+
alternates: {
|
|
116
|
+
canonical: `https://agents-united.dev/compare/${entity.slug}-alternatives`,
|
|
117
|
+
},
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export default async function ComparePage({ params }: { params: Promise<{ slug: string }> }) {
|
|
122
|
+
const { slug } = await params;
|
|
123
|
+
const entity = await getEntityBySlug(slug);
|
|
124
|
+
if (!entity) notFound();
|
|
125
|
+
|
|
126
|
+
return (
|
|
127
|
+
<main className="max-w-5xl mx-auto px-4 py-8">
|
|
128
|
+
<h1 className="text-4xl font-extrabold mb-4">Top {entity.name} Alternatives & Competitors</h1>
|
|
129
|
+
<p className="text-lg text-slate-700 mb-8">{entity.customSummary}</p>
|
|
130
|
+
{/* Dynamic Data-Driven Comparison Matrix */}
|
|
131
|
+
<section className="border rounded-xl p-6 bg-slate-50 mb-8">
|
|
132
|
+
<h2 className="text-2xl font-bold mb-4">Feature Comparison Matrix</h2>
|
|
133
|
+
<div className="overflow-x-auto">
|
|
134
|
+
<table className="w-full text-left text-sm">
|
|
135
|
+
<thead>
|
|
136
|
+
<tr className="border-b">
|
|
137
|
+
<th className="py-2">Feature</th>
|
|
138
|
+
<th className="py-2">{entity.name}</th>
|
|
139
|
+
<th className="py-2">Agents United</th>
|
|
140
|
+
</tr>
|
|
141
|
+
</thead>
|
|
142
|
+
<tbody>
|
|
143
|
+
{entity.features.map((feat: any) => (
|
|
144
|
+
<tr key={feat.name} className="border-b">
|
|
145
|
+
<td className="py-2 font-medium">{feat.name}</td>
|
|
146
|
+
<td className="py-2">{feat.value}</td>
|
|
147
|
+
<td className="py-2 text-emerald-600 font-semibold">{feat.ourValue}</td>
|
|
148
|
+
</tr>
|
|
149
|
+
))}
|
|
150
|
+
</tbody>
|
|
151
|
+
</table>
|
|
152
|
+
</div>
|
|
153
|
+
</section>
|
|
154
|
+
<JsonLd data={{
|
|
155
|
+
'@context': 'https://schema.org',
|
|
156
|
+
'@type': 'WebPage',
|
|
157
|
+
name: `Top ${entity.name} Alternatives`,
|
|
158
|
+
description: entity.customSummary,
|
|
159
|
+
}} />
|
|
160
|
+
</main>
|
|
161
|
+
);
|
|
162
|
+
}
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### Exemplar 2: Chunked XML Sitemap Generator
|
|
166
|
+
```typescript
|
|
167
|
+
export interface SitemapUrlEntry {
|
|
168
|
+
loc: string;
|
|
169
|
+
lastmod: string;
|
|
170
|
+
changefreq: 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'never';
|
|
171
|
+
priority: number;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export function generateSitemapXml(urls: SitemapUrlEntry[]): string {
|
|
175
|
+
const entries = urls.map(u => ` <url>
|
|
176
|
+
<loc>${u.loc}</loc>
|
|
177
|
+
<lastmod>${u.lastmod}</lastmod>
|
|
178
|
+
<changefreq>${u.changefreq}</changefreq>
|
|
179
|
+
<priority>${u.priority.toFixed(1)}</priority>
|
|
180
|
+
</url>`).join('\n');
|
|
181
|
+
|
|
182
|
+
return `<?xml version="1.0" encoding="UTF-8"?>
|
|
183
|
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
184
|
+
${entries}
|
|
185
|
+
</urlset>`;
|
|
186
|
+
}
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
## Edge Cases & Error Recovery Procedures
|
|
190
|
+
|
|
191
|
+
### Scenario A: Google Flags Programmatic URLs as Thin / Soft 404
|
|
192
|
+
1. **Diagnosis**: Google Search Console reports pages as "Crawled - currently not indexed" or "Soft 404" due to low unique content density.
|
|
193
|
+
2. **Recovery Protocol**:
|
|
194
|
+
- Step 1: Run lexical similarity scanner identifying duplicate paragraph fragments across pages.
|
|
195
|
+
- Step 2: Enrich dataset with additional bespoke fields (user feedback quotes, automated API performance benchmarks).
|
|
196
|
+
- Step 3: Add `noindex, follow` tags to pages below the minimum content threshold until enrichment is completed.
|
|
197
|
+
|
|
198
|
+
### Scenario B: Dynamic Parameter Slugs Conflict with Static Routes
|
|
199
|
+
1. **Diagnosis**: Dynamic slug `/compare/[slug]` clashes with static system routes like `/compare/pricing` or `/compare/settings`.
|
|
200
|
+
2. **Recovery Protocol**:
|
|
201
|
+
- Step 1: Implement reserved route blacklist in `dataset-seeder.ts` preventing slug generation for system keywords.
|
|
202
|
+
- Step 2: Use distinct subdirectory pathing for programmatic templates (e.g. `/compare/tools/[slug]`).
|
|
203
|
+
- Step 3: Add automated unit test asserting zero collision between dynamic dataset slugs and static app routes.
|
|
204
|
+
|
|
205
|
+
## Verification & Validation Checklist
|
|
206
|
+
- [ ] Frontmatter conforms strictly to `author: "agents-united"` and `version: "2.0.0"`.
|
|
207
|
+
- [ ] All 7 mandatory sections present with explicit headers.
|
|
208
|
+
- [ ] Step-by-Step Execution Runbook body contains >= 50 lines.
|
|
209
|
+
- [ ] Next.js / framework static generation code exemplar provided with valid syntax fencing.
|
|
210
|
+
- [ ] Lexical similarity threshold and anti-thin-content guardrails documented.
|
|
211
|
+
- [ ] Chunked XML sitemap generation architecture detailed.
|
|
212
|
+
- [ ] Zero dummy placeholder strings or unpopulated template markers present.
|
|
213
|
+
- [ ] Project build, test suite, and doctor check pass 100% cleanly.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: rag-vector-pipeline
|
|
3
|
+
description: Advanced Retrieval-Augmented Generation (RAG) pipelines with
|
|
4
|
+
LangChain, LlamaIndex, hybrid search (dense + sparse), and cross-encoder
|
|
5
|
+
re-ranking.
|
|
6
|
+
metadata:
|
|
7
|
+
author: LangChain & LlamaIndex / agents-united
|
|
8
|
+
version: 2.0.0
|
|
9
|
+
license: MIT
|
|
10
|
+
icon: 🧠
|
|
11
|
+
disable-slash-command: true
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# RAG Vector Pipeline Playbook
|
|
15
|
+
|
|
16
|
+
## Overview & Purpose
|
|
17
|
+
`rag-vector-pipeline` establishes architectural standards for building high-accuracy, hallucination-resistant Retrieval-Augmented Generation systems using LangChain and LlamaIndex.
|
|
18
|
+
|
|
19
|
+
## When to Trigger
|
|
20
|
+
Trigger this skill whenever:
|
|
21
|
+
- Designing end-to-end RAG question-answering systems over unstructured documents.
|
|
22
|
+
- Implementing semantic chunking, metadata enrichment, and vector embedding pipelines.
|
|
23
|
+
- Building hybrid search combining sparse BM25 keyword matching and dense vector embeddings.
|
|
24
|
+
- Integrating cross-encoder re-ranking models (Cohere, BGE) to improve context precision.
|
|
25
|
+
|
|
26
|
+
## Input & Output Requirements
|
|
27
|
+
- **Inputs**: Raw documents (Markdown, PDF, HTML), embedding model configuration, vector database credentials, and top-K query parameters.
|
|
28
|
+
- **Outputs**: Indexed vector collections, query retrieval engines, grounded context passages with line citations, and answer synthesis pipelines.
|
|
29
|
+
|
|
30
|
+
## Step-by-Step Execution Runbook
|
|
31
|
+
|
|
32
|
+
### Phase 1 — Document Ingestion & Chunking Optimization
|
|
33
|
+
- Partition raw documents using recursive character splitting (500-1000 tokens, 15% overlap).
|
|
34
|
+
- Attach rich metadata tags (document ID, header hierarchy, URL, timestamp).
|
|
35
|
+
|
|
36
|
+
### Phase 2 — Embedding Generation & Hybrid Indexing
|
|
37
|
+
- Generate vector embeddings using dense models (OpenAI, BGE, Voyage).
|
|
38
|
+
- Store vectors in vector collections alongside sparse inverted token indexes.
|
|
39
|
+
|
|
40
|
+
### Phase 3 — Retrieval & Re-Ranking Execution
|
|
41
|
+
- Retrieve top-20 candidate passages via Reciprocal Rank Fusion (RRF).
|
|
42
|
+
- Re-rank candidates through cross-encoder models to yield top-5 high-relevance chunks.
|
|
43
|
+
|
|
44
|
+
### Phase 4 — Answer Synthesis & Grounding Verification
|
|
45
|
+
- Synthesize response with strict system prompts requiring source citations.
|
|
46
|
+
- Verify context grounding score to block hallucinations before delivery.
|
|
47
|
+
|
|
48
|
+
## Edge Cases & Boundary Conditions
|
|
49
|
+
- **Missing Knowledge / Out-of-Domain Queries**: If retrieved context similarity score falls below threshold (< 0.70), return an explicit "information not found" answer rather than improvising.
|
|
50
|
+
- **Contradictory Context Passages**: Use document recency timestamps and source priority weights to resolve conflicting claims.
|
|
51
|
+
- **Large Context Exceeding LLM Window**: Implement summarization or hierarchical map-reduce retrieval chains.
|
|
52
|
+
|
|
53
|
+
## Error Recovery & Fallbacks
|
|
54
|
+
- When vector database connection drops, fall back to cached local vector index or keyword search.
|
|
55
|
+
- If primary embedding API experiences rate limiting, switch to local embedding model (e.g. BAAI/bge-small-en-v1.5).
|
|
56
|
+
|
|
57
|
+
## Code Exemplars & Patterns
|
|
58
|
+
|
|
59
|
+
```python
|
|
60
|
+
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, StorageContext
|
|
61
|
+
from llama_index.core.node_parser import SentenceSplitter
|
|
62
|
+
from llama_index.core.postprocessor import SentenceTransformerRerank
|
|
63
|
+
|
|
64
|
+
# 1. Load and partition documents
|
|
65
|
+
documents = SimpleDirectoryReader("./docs").load_data()
|
|
66
|
+
node_parser = SentenceSplitter(chunk_size=512, chunk_overlap=64)
|
|
67
|
+
nodes = node_parser.get_nodes_from_documents(documents)
|
|
68
|
+
|
|
69
|
+
# 2. Build index
|
|
70
|
+
index = VectorStoreIndex(nodes)
|
|
71
|
+
|
|
72
|
+
# 3. Configure query engine with cross-encoder re-ranking
|
|
73
|
+
reranker = SentenceTransformerRerank(
|
|
74
|
+
model="BAAI/bge-reranker-large",
|
|
75
|
+
top_n=5
|
|
76
|
+
)
|
|
77
|
+
query_engine = index.as_query_engine(
|
|
78
|
+
similarity_top_k=20,
|
|
79
|
+
node_postprocessors=[reranker]
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
response = query_engine.query("What are the architectural guardrails for deployment?")
|
|
83
|
+
print(str(response))
|
|
84
|
+
```
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: react-best-practices
|
|
3
|
+
description: Modern React 19 and Next.js App Router performance patterns, Server
|
|
4
|
+
Components, streaming SSR, and client state boundaries.
|
|
5
|
+
metadata:
|
|
6
|
+
author: Vercel Engineering (vercel-labs/agent-skills)
|
|
7
|
+
version: 1.0.0
|
|
8
|
+
source: https://skills.sh/vercel-labs/agent-skills/react-best-practices
|
|
9
|
+
icon: ⚛️
|
|
10
|
+
disable-slash-command: true
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# React & Next.js Best Practices Playbook
|
|
14
|
+
|
|
15
|
+
## Overview & Purpose
|
|
16
|
+
`react-best-practices` enforces state-of-the-art frontend development standards for React and Next.js applications, prioritizing Core Web Vitals, minimal client bundle sizes, and clean architectural separation.
|
|
17
|
+
|
|
18
|
+
## Rules & Constraints
|
|
19
|
+
1. **Server Components by Default** — Keep components as Server Components unless interactive hooks (`useState`, `useEffect`, event handlers) are strictly required (`"use client"`).
|
|
20
|
+
2. **Push Client Boundaries Down** — Isolate `"use client"` directives to the smallest interactive leaf nodes to minimize JavaScript shipped to browsers.
|
|
21
|
+
3. **Suspense & Streaming SSR** — Wrap asynchronous data-fetching components in `<Suspense fallback={<Skeleton />}>` for progressive rendering.
|
|
22
|
+
4. **Optimized Image & Font Loading** — Always use `next/image` with explicit aspect ratios and `next/font` for zero layout shift (CLS: 0).
|
|
23
|
+
|
|
24
|
+
## Step-by-Step Execution Runbook
|
|
25
|
+
|
|
26
|
+
### Phase 1 — Component Architecture Review
|
|
27
|
+
- Audit component tree to identify opportunities to hoist data fetching into Server Components.
|
|
28
|
+
- Eliminate client-side `useEffect` waterfall fetching patterns in favor of direct server async/await.
|
|
29
|
+
|
|
30
|
+
### Phase 2 — State Management & Transitions
|
|
31
|
+
- Use React 19 `useActionState` and `useOptimistic` for form mutations.
|
|
32
|
+
- Wrap non-urgent state updates in `startTransition` to maintain responsive user input (INP < 100ms).
|
|
33
|
+
|
|
34
|
+
### Phase 3 — Verification
|
|
35
|
+
- Audit Next.js production build bundle sizes with `@next/bundle-analyzer`.
|
|
36
|
+
|
|
37
|
+
## Verification Checklist
|
|
38
|
+
- [ ] Minimal client-side JavaScript bundle footprint.
|
|
39
|
+
- [ ] No layout shift (CLS = 0) during page load.
|
|
40
|
+
- [ ] Fast Interaction to Next Paint (INP < 100ms).
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: receiving-code-review
|
|
3
|
+
description: Production-grade Receiving Code Review playbook for processing
|
|
4
|
+
feedback, addressing revisions, and maintaining codebase standards.
|
|
5
|
+
metadata:
|
|
6
|
+
author: agents-united
|
|
7
|
+
version: 2.0.0
|
|
8
|
+
icon: 👀
|
|
9
|
+
disable-slash-command: true
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Receiving Code Review Feedback & Constructive Revision
|
|
13
|
+
|
|
14
|
+
## Overview & Purpose
|
|
15
|
+
The Receiving Code Review Feedback & Constructive Revision skill provides a deterministic, battle-tested framework for executing receiving-code-review processes across the Agents United multi-agent ecosystem.
|
|
16
|
+
|
|
17
|
+
Following this skill ensures high quality, zero-regression execution, rigorous testing gates, and seamless cross-functional team alignment.
|
|
18
|
+
|
|
19
|
+
## Execution Triggers & Prerequisites
|
|
20
|
+
### Execution Triggers
|
|
21
|
+
- Direct request or workflow step invoking receiving-code-review.
|
|
22
|
+
- Auditing, implementing, or standardizing receiving-code-review procedures.
|
|
23
|
+
- Addressing technical debt, architectural reviews, or production readiness gates.
|
|
24
|
+
- Preparing pull requests or automated release validations.
|
|
25
|
+
|
|
26
|
+
### Prerequisites
|
|
27
|
+
- Active project repository workspace with version control configured.
|
|
28
|
+
- Operational testing, typechecking, and build toolchains.
|
|
29
|
+
- Domain requirements, architectural constraints, or user stories defined.
|
|
30
|
+
- Clean git working tree before beginning execution.
|
|
31
|
+
|
|
32
|
+
## Input & Output Requirements
|
|
33
|
+
### Inputs
|
|
34
|
+
| Parameter | Type | Required | Description |
|
|
35
|
+
|---|---|---|---|
|
|
36
|
+
| `target_scope` | String | Yes | Target module, service, component, or file path |
|
|
37
|
+
| `config` | Object | Optional | Specific domain configurations, thresholds, and options |
|
|
38
|
+
| `output_dir` | Directory Path | Optional | Destination directory for generated artifacts and reports |
|
|
39
|
+
| `strict_mode` | Boolean | Optional | Enforce strict zero-warning validation and high test coverage |
|
|
40
|
+
|
|
41
|
+
### Outputs
|
|
42
|
+
| Artifact | Path / Format | Description |
|
|
43
|
+
|---|---|---|
|
|
44
|
+
| Specification Document | `docs/receiving-code-review/spec.md` | Full technical specification and architectural plan |
|
|
45
|
+
| Implementation Files | `src/receiving-code-review/*` | Production-ready source code, tests, and configurations |
|
|
46
|
+
| Execution Report | `reports/receiving-code-review/summary.json` | Verification metrics, test results, and audit summary |
|
|
47
|
+
|
|
48
|
+
## Step-by-Step Execution Runbook
|
|
49
|
+
|
|
50
|
+
### Phase 1: Feedback Ingestion & Categorization
|
|
51
|
+
1. Read all pull request review comments completely before writing any code.
|
|
52
|
+
2. Categorize feedback items: Security blockers, correctness issues, performance concerns, stylistic suggestions.
|
|
53
|
+
3. Separate objective bugs and standard violations from subjective design preferences.
|
|
54
|
+
4. Adopt an egoless mindset: focus on code quality, user impact, and team collective ownership.
|
|
55
|
+
5. Create a checklist of actionable changes from review comments.
|
|
56
|
+
|
|
57
|
+
### Phase 2: Clarification & Constructive Discussion
|
|
58
|
+
1. If a comment is ambiguous, ask specific clarifying questions with proposed alternatives.
|
|
59
|
+
2. If proposing an alternative approach, provide data, benchmarks, or documentation citations.
|
|
60
|
+
3. Keep technical discussions focused on tradeoffs, constraints, and architecture standards.
|
|
61
|
+
4. Reach clear consensus on contentious points before implementing complex refactors.
|
|
62
|
+
5. Document agreed-upon resolution on the PR thread.
|
|
63
|
+
|
|
64
|
+
### Phase 3: Targeted Implementation & Test Coverage
|
|
65
|
+
1. Implement requested changes incrementally in clean, focused commits.
|
|
66
|
+
2. Write or update automated tests that verify the requested behavior and prevent regression.
|
|
67
|
+
3. Run full local verification: npm run typecheck && npm test && npm run build.
|
|
68
|
+
4. Verify that addressing one comment did not inadvertently break unrelated modules.
|
|
69
|
+
5. Confirm all automated CI tests pass.
|
|
70
|
+
|
|
71
|
+
### Phase 4: Thread Resolution & Reviewer Notification
|
|
72
|
+
1. Reply to each PR comment thread with a concise summary and reference to the commit SHA.
|
|
73
|
+
2. Mark resolved conversation threads on GitHub / GitLab.
|
|
74
|
+
3. If a suggestion was intentionally omitted, explain the technical rationale respectfully.
|
|
75
|
+
4. Push updated commits to the PR branch.
|
|
76
|
+
5. Re-request review from original reviewers.
|
|
77
|
+
|
|
78
|
+
### Phase 5: Approval Verification & Merge Finalization
|
|
79
|
+
1. Verify all required reviewer approvals are received.
|
|
80
|
+
2. Ensure branch is up-to-date with base branch without conflicts.
|
|
81
|
+
3. Squash and merge pull request following repository commit conventions.
|
|
82
|
+
4. Delete merged feature branch from remote.
|
|
83
|
+
5. Verify deployment pipeline completes successfully.
|
|
84
|
+
|
|
85
|
+
## Code & Configuration Exemplars
|
|
86
|
+
|
|
87
|
+
### Exemplar 1: Receiving Code Review Feedback & Constructive Revision Configuration & Specification
|
|
88
|
+
```yaml
|
|
89
|
+
// Code review revision workflow
|
|
90
|
+
// 1. Acknowledge comment and clarify intent
|
|
91
|
+
// 2. Apply requested changes with targeted test coverage
|
|
92
|
+
// 3. Reply with commit SHA and re-request review
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Exemplar 2: Receiving Code Review Feedback & Constructive Revision TypeScript Type Contract
|
|
96
|
+
```typescript
|
|
97
|
+
export interface ReviewFeedbackItem {
|
|
98
|
+
id: string;
|
|
99
|
+
reviewer: string;
|
|
100
|
+
file: string;
|
|
101
|
+
line: number;
|
|
102
|
+
category: 'security' | 'correctness' | 'performance' | 'style' | 'question';
|
|
103
|
+
status: 'pending' | 'addressed' | 'clarification-needed' | 'wont-fix';
|
|
104
|
+
resolutionCommitSha?: string;
|
|
105
|
+
}
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## Edge Cases & Error Recovery Procedures
|
|
109
|
+
|
|
110
|
+
### Scenario A: Validation Failure in Receiving Code Review Feedback & Constructive Revision
|
|
111
|
+
1. **Diagnosis**: Static analysis, typechecking, or unit tests fail validation rules during execution.
|
|
112
|
+
2. **Recovery Protocol**:
|
|
113
|
+
- Step 1: Inspect detailed error log output in test/build terminal.
|
|
114
|
+
- Step 2: Formulate targeted hypothesis and isolate failing line or assertion.
|
|
115
|
+
- Step 3: Implement surgical code fix and re-run verification suite.
|
|
116
|
+
|
|
117
|
+
### Scenario B: Missing or Incompatible Dependency
|
|
118
|
+
1. **Diagnosis**: Required toolchain binary or library dependency is missing from the environment.
|
|
119
|
+
2. **Recovery Protocol**:
|
|
120
|
+
- Step 1: Verify `package.json` engine requirements and local environment versions.
|
|
121
|
+
- Step 2: Install required peer dependencies cleanly with lockfile sync.
|
|
122
|
+
- Step 3: Resume runbook from Phase 1.
|
|
123
|
+
|
|
124
|
+
## Verification & Validation Checklist
|
|
125
|
+
- [ ] Frontmatter conforms strictly to `author: "agents-united"` and `version: "2.0.0"`.
|
|
126
|
+
- [ ] All 7 mandatory sections present with explicit headers.
|
|
127
|
+
- [ ] Step-by-Step Execution Runbook body contains >= 50 lines.
|
|
128
|
+
- [ ] Code exemplars provided with valid syntax fencing.
|
|
129
|
+
- [ ] Zero dummy placeholder strings or unpopulated template markers present.
|
|
130
|
+
- [ ] Project build, test suite, and doctor check pass 100% cleanly.
|