pact-plugin/skills/pact-prepare-research/SKILL.md
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.
npx skillsauth add synaptic-labs-ai/pact-plugin pact-prepare-researchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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
data-ai
Record your teammate identity (name@team) at session start so later hooks can recover your friendly name. Invoke as your first action when your spawn prompt directs it.
testing
Testing strategies, test pyramid guidance, and quality assurance patterns for PACT Test phase. Use when: designing test suites, implementing unit tests, integration tests, E2E tests, performance testing, security testing, or determining test coverage priorities. Triggers on: test design, unit testing, integration testing, E2E testing, test coverage, test pyramid, mocking, fixtures, performance testing, test phase.
data-ai
Command-style teachback protocol for PACT teammates. Invoking this skill directly instructs you to store your teachback in task metadata and idle on awaiting_lead_completion before any implementation work.
development
Persistent memory for PACT agents. Save context, goals, lessons learned, decisions, and entities. Semantic search across sessions. Use when: saving session context, recalling past decisions, searching lessons. Triggers: memory, save memory, search memory, lessons learned, remember, recall