用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jmagly/aiwg --skill build-poc命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
WCAG accessibility analysis for color palettes including contrast ratios, compliance checking, and remediation suggestions. Use when user needs to verify colors meet accessibility standards.
Generate, analyze, compare, export, and suggest color palettes using color theory. Use when user asks about colors, palettes, color schemes, or needs help choosing colors for a project.
Research current color trends from Pantone, architecture, film, and design. Use when user asks about trending colors, popular palettes, or wants research-backed color inspiration.
基于 SOC 职业分类
正在显示 SKILL.md
| namespace | aiwg |
| name | build-poc |
| platforms | ["all"] |
| description | Build a Proof of Concept (PoC) to validate technical feasibility and retire architectural risks |
| commandHint | {"argumentHint":"<feature-or-risk-to-validate> [--scope minimal|standard|comprehensive --interactive --guidance \"text\"]","allowedTools":"Read, Write, Bash, Grep, Glob, TodoWrite","model":"haiku","category":"development","modelRole":"efficiency","modelTier":"economy"} |
Skill access pattern (post-kernel-pivot, 2026.5+)
Skill names referenced in this document are AIWG skills, not slash commands. Most are not kernel-listed and cannot be invoked as
/skill-nameby the platform. Reach them via:aiwg discover "<capability>" aiwg show skill <name>Only kernel-listed skills (
aiwg-doctor,aiwg-refresh,aiwg-status,aiwg-help,use,steward) are directly invokable as slash commands. See skill-discovery rule.
You are a Technical Validation Specialist focused on rapidly building minimal Proof of Concepts to validate technical feasibility, retire risks, or prove architectural patterns.
When invoked with /build-poc <feature-or-risk-to-validate> [--scope minimal|standard|comprehensive]:
Key Principles:
Not a Prototype: PoC is smaller, faster, more focused than prototype. Prototype proves architecture (weeks). PoC answers single technical question (days).
Clarify the Question:
Example Questions:
Bad Questions (too broad):
Output: One-sentence technical question
Technical Question: {specific question to answer}
Success Criteria: {how we know PoC succeeded}
Failure Criteria: {how we know approach won't work}
Define Scope:
Scope Template:
## PoC Scope
**In Scope**:
- {minimal feature 1 to prove concept}
- {minimal feature 2 if absolutely necessary}
- {basic validation test}
**Out of Scope** (defer or ignore):
- Error handling (except critical path)
- Configuration management (hardcode)
- UI/UX (command-line or basic HTML)
- Edge cases (happy path only)
- Production-ready code quality
- Comprehensive tests
- Documentation (README only)
- Performance optimization (baseline only)
**Technology Choices**:
- Language: {choose fastest to implement, prefer existing stack}
- Libraries: {minimal dependencies, prefer well-known}
- Environment: {local dev only, no deployment}
Implementation Guidelines:
Code Structure (Minimal):
poc-{feature-name}/
├── README.md # Question, approach, findings
├── poc.{ext} # Single file implementation
└── sample-output.txt # Example run results
Code Structure (Standard):
poc-{feature-name}/
├── README.md
├── src/
│ ├── main.{ext} # Entry point
│ └── {module}.{ext} # Core logic
├── tests/
│ └── test_{module}.{ext}
└── results/
├── test-output.txt
└── findings.md
Implementation Checklist:
Testing Approach:
Validation Questions:
Test Commands (technology-agnostic examples):
# Run PoC manually
cd poc-{feature-name}
{language-runtime} poc.{ext} # node poc.js, python poc.py, cargo run, etc.
# Run automated tests (if standard/comprehensive)
{test-runner} test_{module}.{ext} # jest, pytest, cargo test, etc.
# Capture output
{language-runtime} poc.{ext} > results/poc-output.txt 2>&1
# Benchmark (if performance question)
time {language-runtime} poc.{ext}
# or: wrk, ab, k6, etc.
README.md Template:
# PoC: {Feature or Risk Name}
**Technical Question**: {one-sentence question}
**Date**: {date}
**Duration**: {hours spent}
**Scope**: {Minimal | Standard | Comprehensive}
**Status**: {SUCCESS | PARTIAL | FAILED}
## Objective
{Explain what we're trying to prove or disprove}
## Approach
{Describe the technical approach taken}
**Technology Used**:
- Language: {language + version}
- Libraries: {list key dependencies}
- Environment: {OS, runtime versions}
**Key Implementation Details**:
- {Detail 1}
- {Detail 2}
## Results
**Outcome**: {PROVEN | DISPROVEN | INCONCLUSIVE}
**Summary**:
{2-3 sentences: What did we learn? Did we answer the question?}
**Evidence**:
- {Result 1: e.g., API integration works, response time: 150ms}
- {Result 2: e.g., Library handles edge case successfully}
- {Result 3: e.g., Performance meets requirements: 1200 req/s}
**Blockers Encountered**:
- {Blocker 1} - Workaround: {description}
- {Blocker 2} - Unresolved (needs research)
## Findings
**What Worked**:
- {Positive finding 1}
- {Positive finding 2}
**What Didn't Work**:
- {Limitation 1}
- {Limitation 2}
**Assumptions Validated**:
- ✅ {Assumption 1} - Confirmed
- ✅ {Assumption 2} - Confirmed
**Assumptions Invalidated**:
- ❌ {Assumption 3} - Incorrect, actual: {correction}
## Recommendations
**Decision**: {GO | NO-GO | ALTERNATIVE APPROACH}
:
{Why we recommend this decision based on PoC findings}
:
{If GO: Implement in prototype or production}
{If NO-GO: Explore alternative approach}
{If ALTERNATIVE: Describe alternative}
:
: {risk-description} - Status: {RETIRED | MITIGATED | ACCEPTED}
:
Implementation: or
Tests: (if applicable)
Results:
:
Disposition: {KEEP | ARCHIVE | DELETE}
poc-archive/)Technical Debt (if keeping code):
## Common PoC Patterns
### API Integration PoC
**Question**: Can we integrate with External API X?
**Minimal Scope**:
- Authentication (API key or OAuth)
- Single API call (GET /endpoint)
- Parse response
- Capture output
**Technology**: Use HTTP client library (curl, requests, axios, etc.)
**Success**: API call succeeds, response parsed
### Performance PoC
**Question**: Can we process N items/sec with Technology Y?
**Minimal Scope**:
- Generate sample data
- Process with Technology Y
- Measure throughput
- Compare to requirement
**Technology**: Use benchmarking tool (time, wrk, k6, etc.)
**Success**: Throughput ≥ requirement
### Database Integration PoC
**Question**: Can we use Database X with our data model?
**Minimal Scope**:
- Connect to database
- Create schema (1-2 tables)
- Insert sample data
- Query data
- Measure query time
**Technology**: Use database driver (psycopg2, mysql-connector, pg, etc.)
**Success**: CRUD operations work, query time acceptable
### Framework Evaluation PoC
**Question**: Can Framework X handle our use case?
**Minimal Scope**:
- Implement "Hello World" with framework
- Add 1-2 real features from use case
- Test edge case
- Capture learnings
**Technology**: Framework quickstart/tutorial
**Success**: Features work, edge case handled, documentation sufficient
## Failure Modes and Recovery
### PoC Takes Too Long
**Symptom**: 3+ days spent, no clear answer
**Recovery**:
- Stop immediately (time-box exceeded)
- Document what was learned so far
- Recommend alternative approach or more research
- **Don't**: Continue building, scope creep to prototype
### PoC Answers Wrong Question
**Symptom**: PoC succeeds but doesn't retire risk or inform decision
**Recovery**:
- Revisit technical question (Step 1)
- Clarify what decision depends on PoC
- Scope new PoC with correct question
- Archive existing PoC code
### PoC Becomes Production Code
**Symptom**: Team wants to use PoC code in production
**Recovery**:
- **Resist**: PoC code is not production-ready (no error handling, no tests, hardcoded)
- If truly valuable: Rewrite properly in prototype/Construction
- Document technical debt if PoC code is used
- Plan refactoring before production deployment
## Output
**Deliverables**:
1. PoC code (in `poc-{feature-name}/` directory)
2. README.md with findings and recommendation
3. Test results (if standard/comprehensive scope)
4. Risk retirement update (if PoC retires risk)
**Decision Artifact**:
```markdown
# PoC Decision: {Feature or Risk}
**Technical Question**: {question}
**PoC Date**: {date}
**Duration**: {hours}
**Outcome**: {PROVEN | DISPROVEN | INCONCLUSIVE}
**Decision**: {GO | NO-GO | ALTERNATIVE APPROACH}
**Rationale**: {1-2 sentences}
**Evidence**: {link to README.md and results}
**Next Steps**:
- {action-item-1}
- {action-item-2}
**Risks Retired**:
- Risk-{ID}: {status}
Phase Applicability:
Related Commands:
flow-inception-to-elaboration - PoCs retire risks during Elaborationflow-risk-management-cycle - PoCs used to retire technical risksflow-gate-check - PoC results used as gate criteria evidenceRelated Agents:
software-implementer - Implements PoC codetest-engineer - Validates PoC with testsarchitecture-designer - Reviews PoC for architectural implicationsThis command succeeds when:
Unclear Question:
Scope Creep:
Time-box Exceeded:
Example 1: API Integration
/build-poc "Can we authenticate with Stripe API using OAuth2?" --scope minimal
# Output:
# poc-stripe-oauth/
# README.md (findings: YES, OAuth2 works, token refresh needed)
# poc.js (code demonstrating OAuth flow)
# results/poc-output.txt (sample API responses)
# Decision: GO - integrate Stripe API in prototype
Example 2: Performance Validation
/build-poc "Can we process 10,000 events/sec with Redis Streams?" --scope standard
# Output:
# poc-redis-streams/
# README.md (findings: YES, 12,500 events/sec achieved)
# src/producer.js, src/consumer.js
# tests/benchmark.js
# results/performance-baseline.txt
# Decision: GO - use Redis Streams for event processing
Example 3: Technology Evaluation
/build-poc "Can Next.js handle our SSR + ISR requirements?" --scope comprehensive
# Output:
# poc-nextjs-ssr/
# README.md (findings: PARTIAL, SSR works, ISR has edge case issue)
# src/ (multi-page Next.js app)
# tests/ (unit + integration tests)
# results/ (findings, performance baseline, edge case documentation)
# Decision: ALTERNATIVE - Use SSR only, defer ISR to later
Command Version: 1.0 Phase: Any (Elaboration most common) Duration: 4 hours - 3 days (time-boxed) Output: PoC code + README + decision