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,139 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-audit
|
|
3
|
+
description: Production-grade Security Audit playbook for vulnerability
|
|
4
|
+
assessment, SAST scanning, and zero-trust verification.
|
|
5
|
+
metadata:
|
|
6
|
+
author: agents-united
|
|
7
|
+
version: 2.0.0
|
|
8
|
+
icon: 🔒
|
|
9
|
+
disable-slash-command: true
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Application Security Audit, Threat Modeling & OWASP Top 10
|
|
13
|
+
|
|
14
|
+
## Overview & Purpose
|
|
15
|
+
The Application Security Audit, Threat Modeling & OWASP Top 10 skill provides a deterministic, battle-tested framework for executing security-audit 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 security-audit.
|
|
22
|
+
- Auditing, implementing, or standardizing security-audit 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/security-audit/spec.md` | Full technical specification and architectural plan |
|
|
45
|
+
| Implementation Files | `src/security-audit/*` | Production-ready source code, tests, and configurations |
|
|
46
|
+
| Execution Report | `reports/security-audit/summary.json` | Verification metrics, test results, and audit summary |
|
|
47
|
+
|
|
48
|
+
## Step-by-Step Execution Runbook
|
|
49
|
+
|
|
50
|
+
### Phase 1: Threat Modeling & Attack Surface Enumeration
|
|
51
|
+
1. Map complete application attack surface: public endpoints, input parameters, headers, file uploads.
|
|
52
|
+
2. Apply STRIDE threat modeling (Spoofing, Tampering, Repudiation, Information Disclosure, DoS, Elevation of Privilege).
|
|
53
|
+
3. Identify high-risk assets: PII data, authentication credentials, payment flows, internal admin tools.
|
|
54
|
+
4. Review trust boundaries between client, gateway, microservices, and third-party APIs.
|
|
55
|
+
5. Establish security audit scope and rules of engagement.
|
|
56
|
+
|
|
57
|
+
### Phase 2: OWASP Top 10 Vulnerability Assessment
|
|
58
|
+
1. A01 Broken Access Control: Audit authorization checks on all ID-based resource queries (prevent IDOR).
|
|
59
|
+
2. A02 Cryptographic Failures: Verify TLS 1.3 enforcement, strong hashing (Argon2id / bcrypt), and secret management.
|
|
60
|
+
3. A03 Injection: Verify parameterized SQL queries (no string concatenation) and command execution sanitization.
|
|
61
|
+
4. A04 Insecure Design: Audit business logic workflows for race conditions and rate-limiting enforcement.
|
|
62
|
+
5. A05 Security Misconfiguration: Check CORS policies, security headers (CSP, HSTS, X-Frame-Options), and default credentials.
|
|
63
|
+
|
|
64
|
+
### Phase 3: Automated SAST & Secret Scanning
|
|
65
|
+
1. Run static application security testing (SAST) using Semgrep / SonarQube.
|
|
66
|
+
2. Scan repository history for leaked secrets and API keys using Gitleaks / Trufflehog.
|
|
67
|
+
3. Audit third-party dependencies for known vulnerabilities using npm audit and Snyk.
|
|
68
|
+
4. Verify that no hardcoded credentials exist in source code or docker images.
|
|
69
|
+
5. Document findings in unified vulnerability register.
|
|
70
|
+
|
|
71
|
+
### Phase 4: Vulnerability Remediation & Hardening
|
|
72
|
+
1. Remediate all Critical and High severity findings immediately.
|
|
73
|
+
2. Implement Content Security Policy (CSP) headers restricting script execution sources.
|
|
74
|
+
3. Enforce strict input validation using schema libraries (Zod / Joi) with rejection of unknown properties.
|
|
75
|
+
4. Implement rate limiting and brute-force protection on authentication routes.
|
|
76
|
+
5. Re-test patched code to verify complete vulnerability closure.
|
|
77
|
+
|
|
78
|
+
### Phase 5: Security Report Publication & CI Gate Enforcement
|
|
79
|
+
1. Generate comprehensive security audit report with executive summary and technical details.
|
|
80
|
+
2. Configure automated security scans in GitHub Actions CI pipeline.
|
|
81
|
+
3. Set CI build failure thresholds on any newly introduced High or Critical vulnerabilities.
|
|
82
|
+
4. Establish schedule for recurring automated security reviews.
|
|
83
|
+
5. Sign off on security compliance release gate.
|
|
84
|
+
|
|
85
|
+
## Code & Configuration Exemplars
|
|
86
|
+
|
|
87
|
+
### Exemplar 1: Application Security Audit, Threat Modeling & OWASP Top 10 Configuration & Specification
|
|
88
|
+
```yaml
|
|
89
|
+
// Path traversal prevention exemplar
|
|
90
|
+
import path from 'node:path';
|
|
91
|
+
|
|
92
|
+
export function resolveSafePath(baseDir: string, userInput: string): string {
|
|
93
|
+
const safePath = path.normalize(path.join(baseDir, userInput));
|
|
94
|
+
if (!safePath.startsWith(path.resolve(baseDir))) {
|
|
95
|
+
throw new Error('SecurityException: Path traversal attempt detected');
|
|
96
|
+
}
|
|
97
|
+
return safePath;
|
|
98
|
+
}
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Exemplar 2: Application Security Audit, Threat Modeling & OWASP Top 10 TypeScript Type Contract
|
|
102
|
+
```typescript
|
|
103
|
+
export interface SecurityAuditReport {
|
|
104
|
+
timestamp: string;
|
|
105
|
+
scope: string;
|
|
106
|
+
owaspCompliance: Record<string, 'PASS' | 'FAIL' | 'NOT_APPLICABLE'>;
|
|
107
|
+
vulnerabilities: Array<{
|
|
108
|
+
cwe: string;
|
|
109
|
+
severity: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
|
|
110
|
+
location: string;
|
|
111
|
+
description: string;
|
|
112
|
+
remediation: string;
|
|
113
|
+
}>;
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
## Edge Cases & Error Recovery Procedures
|
|
118
|
+
|
|
119
|
+
### Scenario A: Validation Failure in Application Security Audit, Threat Modeling & OWASP Top 10
|
|
120
|
+
1. **Diagnosis**: Static analysis, typechecking, or unit tests fail validation rules during execution.
|
|
121
|
+
2. **Recovery Protocol**:
|
|
122
|
+
- Step 1: Inspect detailed error log output in test/build terminal.
|
|
123
|
+
- Step 2: Formulate targeted hypothesis and isolate failing line or assertion.
|
|
124
|
+
- Step 3: Implement surgical code fix and re-run verification suite.
|
|
125
|
+
|
|
126
|
+
### Scenario B: Missing or Incompatible Dependency
|
|
127
|
+
1. **Diagnosis**: Required toolchain binary or library dependency is missing from the environment.
|
|
128
|
+
2. **Recovery Protocol**:
|
|
129
|
+
- Step 1: Verify `package.json` engine requirements and local environment versions.
|
|
130
|
+
- Step 2: Install required peer dependencies cleanly with lockfile sync.
|
|
131
|
+
- Step 3: Resume runbook from Phase 1.
|
|
132
|
+
|
|
133
|
+
## Verification & Validation Checklist
|
|
134
|
+
- [ ] Frontmatter conforms strictly to `author: "agents-united"` and `version: "2.0.0"`.
|
|
135
|
+
- [ ] All 7 mandatory sections present with explicit headers.
|
|
136
|
+
- [ ] Step-by-Step Execution Runbook body contains >= 50 lines.
|
|
137
|
+
- [ ] Code exemplars provided with valid syntax fencing.
|
|
138
|
+
- [ ] Zero dummy placeholder strings or unpopulated template markers present.
|
|
139
|
+
- [ ] Project build, test suite, and doctor check pass 100% cleanly.
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: seo-audit
|
|
3
|
+
description: Production-grade Seo Audit playbook for design operations, UX
|
|
4
|
+
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
|
+
# Seo Audit
|
|
13
|
+
|
|
14
|
+
## Overview & Purpose
|
|
15
|
+
The Seo Audit skill provides a deterministic framework for executing seo audit 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 Seo Audit tasks.
|
|
22
|
+
- Auditing existing product assets or workflows.
|
|
23
|
+
- Standardizing seo-audit 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/seo-audit/spec.md` | Full specification and guidelines document |
|
|
45
|
+
| Component / Asset Files | `src/seo-audit/*` | Implemented design tokens, components, or campaign assets |
|
|
46
|
+
| Audit Report | `reports/seo-audit/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/seo-audit/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/seo-audit/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/seo-audit/ reports/seo-audit/
|
|
101
|
+
git commit -m "feat(seo-audit): implement Seo Audit playbook artifacts"
|
|
102
|
+
```
|
|
103
|
+
4. Publish documentation for team review.
|
|
104
|
+
|
|
105
|
+
## Code & Configuration Exemplars
|
|
106
|
+
|
|
107
|
+
### Exemplar 1: Seo Audit Configuration Specification
|
|
108
|
+
```yaml
|
|
109
|
+
version: "2.0.0"
|
|
110
|
+
metadata:
|
|
111
|
+
skill: "seo-audit"
|
|
112
|
+
author: "agents-united"
|
|
113
|
+
rules:
|
|
114
|
+
strictValidation: true
|
|
115
|
+
reporting:
|
|
116
|
+
format: "json"
|
|
117
|
+
output: "reports/seo-audit/summary.json"
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Exemplar 2: Seo Audit Helper Module
|
|
121
|
+
```typescript
|
|
122
|
+
export function runSeoAudit(scope: string): boolean {
|
|
123
|
+
console.log('Running Seo Audit on:', scope);
|
|
124
|
+
return true;
|
|
125
|
+
}
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Edge Cases & Error Recovery Procedures
|
|
129
|
+
|
|
130
|
+
### Scenario A: Validation Failure in Seo Audit
|
|
131
|
+
1. **Diagnosis**: Specification or code asset fails validation rules in seo-audit.
|
|
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 Seo Audit
|
|
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,150 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: signup-flow-cro
|
|
3
|
+
description: Production-grade Signup Flow Cro playbook for design operations, UX
|
|
4
|
+
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
|
+
# Signup Flow Cro
|
|
13
|
+
|
|
14
|
+
## Overview & Purpose
|
|
15
|
+
The Signup Flow Cro skill provides a deterministic framework for executing signup flow cro 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 Signup Flow Cro tasks.
|
|
22
|
+
- Auditing existing product assets or workflows.
|
|
23
|
+
- Standardizing signup-flow-cro 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/signup-flow-cro/spec.md` | Full specification and guidelines document |
|
|
45
|
+
| Component / Asset Files | `src/signup-flow-cro/*` | Implemented design tokens, components, or campaign assets |
|
|
46
|
+
| Audit Report | `reports/signup-flow-cro/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/signup-flow-cro/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/signup-flow-cro/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/signup-flow-cro/ reports/signup-flow-cro/
|
|
101
|
+
git commit -m "feat(signup-flow-cro): implement Signup Flow Cro playbook artifacts"
|
|
102
|
+
```
|
|
103
|
+
4. Publish documentation for team review.
|
|
104
|
+
|
|
105
|
+
## Code & Configuration Exemplars
|
|
106
|
+
|
|
107
|
+
### Exemplar 1: Signup Flow Cro Configuration Specification
|
|
108
|
+
```yaml
|
|
109
|
+
version: "2.0.0"
|
|
110
|
+
metadata:
|
|
111
|
+
skill: "signup-flow-cro"
|
|
112
|
+
author: "agents-united"
|
|
113
|
+
rules:
|
|
114
|
+
strictValidation: true
|
|
115
|
+
reporting:
|
|
116
|
+
format: "json"
|
|
117
|
+
output: "reports/signup-flow-cro/summary.json"
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Exemplar 2: Signup Flow Cro Helper Module
|
|
121
|
+
```typescript
|
|
122
|
+
export function runSignupFlowCro(scope: string): boolean {
|
|
123
|
+
console.log('Running Signup Flow Cro on:', scope);
|
|
124
|
+
return true;
|
|
125
|
+
}
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Edge Cases & Error Recovery Procedures
|
|
129
|
+
|
|
130
|
+
### Scenario A: Validation Failure in Signup Flow Cro
|
|
131
|
+
1. **Diagnosis**: Specification or code asset fails validation rules in signup-flow-cro.
|
|
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 Signup Flow Cro
|
|
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,150 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: social-media-campaign
|
|
3
|
+
description: Production-grade Social Media Campaign 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
|
+
# Social Media Campaign
|
|
13
|
+
|
|
14
|
+
## Overview & Purpose
|
|
15
|
+
The Social Media Campaign skill provides a deterministic framework for executing social media campaign 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 Social Media Campaign tasks.
|
|
22
|
+
- Auditing existing product assets or workflows.
|
|
23
|
+
- Standardizing social-media-campaign 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/social-media-campaign/spec.md` | Full specification and guidelines document |
|
|
45
|
+
| Component / Asset Files | `src/social-media-campaign/*` | Implemented design tokens, components, or campaign assets |
|
|
46
|
+
| Audit Report | `reports/social-media-campaign/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/social-media-campaign/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/social-media-campaign/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/social-media-campaign/ reports/social-media-campaign/
|
|
101
|
+
git commit -m "feat(social-media-campaign): implement Social Media Campaign playbook artifacts"
|
|
102
|
+
```
|
|
103
|
+
4. Publish documentation for team review.
|
|
104
|
+
|
|
105
|
+
## Code & Configuration Exemplars
|
|
106
|
+
|
|
107
|
+
### Exemplar 1: Social Media Campaign Configuration Specification
|
|
108
|
+
```yaml
|
|
109
|
+
version: "2.0.0"
|
|
110
|
+
metadata:
|
|
111
|
+
skill: "social-media-campaign"
|
|
112
|
+
author: "agents-united"
|
|
113
|
+
rules:
|
|
114
|
+
strictValidation: true
|
|
115
|
+
reporting:
|
|
116
|
+
format: "json"
|
|
117
|
+
output: "reports/social-media-campaign/summary.json"
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Exemplar 2: Social Media Campaign Helper Module
|
|
121
|
+
```typescript
|
|
122
|
+
export function runSocialMediaCampaign(scope: string): boolean {
|
|
123
|
+
console.log('Running Social Media Campaign on:', scope);
|
|
124
|
+
return true;
|
|
125
|
+
}
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Edge Cases & Error Recovery Procedures
|
|
129
|
+
|
|
130
|
+
### Scenario A: Validation Failure in Social Media Campaign
|
|
131
|
+
1. **Diagnosis**: Specification or code asset fails validation rules in social-media-campaign.
|
|
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 Social Media Campaign
|
|
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.
|