Research methodologies and documentation gathering workflows for PACT Prepare phase. Use when: conducting technology research, evaluating API documentation, comparing framework options, analyzing library choices, gathering requirements, or creating technology comparison matrices. Triggers on: research, requirements gathering, API exploration, documentation review, technology evaluation, library comparison, prepare phase.
Structured approaches for the Prepare phase of PACT. This skill provides frameworks for systematic research, documentation gathering, and technology evaluation to build a solid foundation before architecture and implementation.
Before starting research, clearly define:
## Research Scope Definition
### Primary Question
What specific problem are we trying to solve?
### Success Criteria
What would make a solution acceptable?
- [ ] Performance requirements
- [ ] Integration requirements
- [ ] Security requirements
- [ ] Budget constraints
### Constraints
What limitations must we work within?
- Technology stack restrictions
- Team expertise
- Timeline
- Licensing requirements
Prioritize sources by authority and reliability:
| Priority | Source Type | Examples | Trust Level | |----------|-------------|----------|-------------| | 1 | Official documentation | Docs, API references | Highest | | 2 | Official repositories | GitHub READMEs, wikis | Very High | | 3 | Maintainer content | Blog posts by core team | High | | 4 | Community verified | Stack Overflow accepted answers | Medium | | 5 | Third-party tutorials | Blog posts, videos | Low-Medium | | 6 | AI-generated content | ChatGPT, Copilot | Verify Required |
Source Verification Checklist:
Collect these documentation types for complete understanding:
1. API References
## API Documentation Checklist
- [ ] Authentication methods
- [ ] Rate limits and quotas
- [ ] Available endpoints
- [ ] Request/response formats
- [ ] Error codes and handling
- [ ] SDK availability
- [ ] Webhook support
2. Configuration Guides
## Configuration Documentation
- [ ] Environment variables
- [ ] Configuration file formats
- [ ] Default values
- [ ] Required vs optional settings
- [ ] Security-sensitive configs
3. Migration Documentation
## Migration Considerations
- [ ] Breaking changes between versions
- [ ] Deprecation timelines
- [ ] Migration guides
- [ ] Data migration requirements
4. Security Advisories
## Security Documentation
- [ ] Known vulnerabilities (CVEs)
- [ ] Security best practices
- [ ] Authentication requirements
- [ ] Data handling guidelines
Use this framework to evaluate research findings:
| Criterion | Questions | Weight | |-----------|-----------|--------| | Currency | Updated within 12 months? Active development? | High | | Authority | Official source? Maintainer authored? | High | | Completeness | Covers required use cases? | Medium | | Practicality | Actionable? Working examples? | Medium | | Compatibility | Works with existing stack? | High | | Community | Active community? Good support? | Medium | | Security | Security track record? Quick patches? | High |
For structured side-by-side comparisons: See technology-comparison-matrix.md
Quick Comparison Template:
| Criterion | Option A | Option B | Winner |
|-----------|----------|----------|--------|
| Learning curve | Steep | Gentle | B |
| Performance | Fast | Very Fast | B |
| Documentation | Good | Excellent | B |
| Community size | Large | Medium | A |
| **Total** | 1 | 3 | **B** |
For capturing API details systematically: See api-exploration-template.md
Quick API Summary:
## API: [Name]
**Base URL**: `https://api.example.com/v1`
**Auth**: Bearer token in header
**Rate Limit**: 100 req/min
### Key Endpoints
| Endpoint | Method | Purpose |
|----------|--------|---------|
| /users | GET | List users |
| /users/:id | GET | Get user |
| /users | POST | Create user |
### Authentication
```bash
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://api.example.com/v1/users
### Requirements Analysis
For comprehensive requirements documentation:
See [requirements-analysis.md](references/requirements-analysis.md)
**Quick Requirements Template:**
```markdown
## Feature: [Name]
### User Story
As a [user type], I want [action] so that [benefit].
### Acceptance Criteria
- [ ] Given [context], when [action], then [result]
- [ ] Given [context], when [action], then [result]
### Technical Requirements
- Performance: [target]
- Security: [requirements]
- Integration: [dependencies]
### Dependencies
- Depends on: [other features/services]
- Blocked by: [blockers]
# Research: [Topic]
## Executive Summary
[2-3 sentence summary of findings and recommendation]
## Background
[Why this research was needed]
## Methodology
[How research was conducted]
## Findings
### Option 1: [Name]
**Pros:**
- [Pro 1]
- [Pro 2]
**Cons:**
- [Con 1]
- [Con 2]
**Evidence:**
- [Link to source]
- [Link to source]
### Option 2: [Name]
[Same structure]
## Comparison Matrix
[Side-by-side comparison table]
## Risk Assessment
| Risk | Probability | Impact | Mitigation |
|------|-------------|--------|------------|
| [Risk] | High/Med/Low | High/Med/Low | [Strategy] |
## Recommendation
[Clear recommendation with rationale]
## Next Steps
1. [Action item]
2. [Action item]
## References
- [Source 1]
- [Source 2]
Before completing Prepare phase research:
docs/{feature}/preparation/For comprehensive templates and frameworks:
API Exploration Template: references/api-exploration-template.md
Requirements Analysis Framework: references/requirements-analysis.md
Technology Comparison Matrix: references/technology-comparison-matrix.md
npx skills add ProfSynapse/pact-prepare-research下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer