src/skills/feature-doc-template/SKILL.md
Feature Document Template — Structured template for documenting feature requirements and design upfront, serving as the source of truth for planning and implementation.
npx skillsauth add ngmthaq/my-copilot feature-doc-templateInstall 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.
{doc_directory}/<date-time>-agent-feature-<feature-name>.md
Examples:
{doc_directory}/20260602-1520-agent-feature-login-api.md{doc_directory}/20260602-1520-agent-feature-login-ui.md{doc_directory}/20260602-1520-agent-feature-register-ui.md{doc_directory}/20260602-1520-agent-feature-refresh-token-api.md{doc_directory}/20260602-1520-agent-feature-create-product-ui.md{doc_directory}/20260602-1520-agent-feature-list-products-api.md{doc_directory}/20260602-1520-agent-feature-docker-setup.md# <Feature Name>
---
## 1. Overview
<What the feature does and the problem it solves.>
---
## 2. Requirements
### 2.1 Functional Requirements (FR)
- FR-1: ...
- FR-2: ...
### 2.2 Non-Functional Requirements (NFR)
- Performance: ...
- Scalability: ...
- Reliability: ...
- Security: ...
- Accessibility: ...
### 2.3 Constraints
- Technical:
- Business:
- Platform:
### 2.4 Assumptions
- ...
### 2.5 Edge Cases
- ...
---
## 3. Architecture
### 3.1 System Context
<Where this feature fits in the system>
### 3.2 Components
| Component / File | Responsibility |
| ---------------- | -------------- |
| ... | ... |
### 3.3 Data Flow
<Describe flow between components>
### 3.4 External Integrations
- APIs
- Services
- Third-party systems
### 3.5 Architecture Decisions
| Decision | Options Considered | Chosen | Reason |
| -------- | ------------------ | ------ | ------ |
---
## 4. Data Model
| Entity | Fields | Description |
| ------ | --------- | ----------- |
| User | id, email | ... |
---
## 5. API / Interface
| Method | Path | Description |
| ------ | ---- | ----------- |
| GET | /... | ... |
---
## 6. State Management (if applicable)
- Client state:
- Server state:
- Caching strategy:
---
## 7. Configuration
| Variable | Type | Default | Description |
| -------- | ---- | ------- | ----------- |
---
## 8. Security Considerations
- Authentication:
- Authorization:
- Data protection:
- Threats & mitigations:
---
## 9. Performance Considerations
- Expected load:
- Bottlenecks:
- Optimization strategy:
---
## 10. Testing Strategy
### Unit Tests
- Scope:
### Integration Tests
- Scope:
### E2E Tests
- Scope:
---
## 11. DevOps & Deployment
- Environments:
- CI/CD:
- Migration strategy:
- Rollback plan:
---
## 12. Observability
- Logging:
- Metrics:
- Alerts:
---
## 13. Known Limitations
- ...
---
## 14. Risks
| Risk | Impact | Mitigation |
| ---- | ------ | ---------- |
---
## 15. Task Graph (DAG)
### Task List
Each task MUST be atomic and independently executable.
---
### T1
- **Name**:
- **Assigned Agent**:
- **Description**:
- **Dependencies**: []
- **Inputs**:
- **Outputs**:
- **Acceptance Criteria**:
- **Parallelizable**: true
---
### T2
- **Name**:
- **Assigned Agent**:
- **Description**:
- **Dependencies**: [T1]
- **Inputs**:
- **Outputs**:
- **Acceptance Criteria**:
- **Parallelizable**: false
---
### T3
- **Name**:
- **Assigned Agent**:
- **Description**:
- **Dependencies**: [T1]
- **Inputs**:
- **Outputs**:
- **Acceptance Criteria**:
- **Parallelizable**: true
---
## 6. Parallel Execution Groups
- Group A (run in parallel):
- T1
- Group B (after T1):
- T2
- T3
---
## 7. Task Traceability
| Task | Maps To |
| ---- | ----------------- |
| T1 | FR-1, Component X |
| T2 | API Y |
| T3 | UI Screen Z |
---
## 8. Testing Plan
| Task | Test Type | Description |
| ---- | --------- | ----------- |
| T2 | Unit | ... |
| T3 | E2E | ... |
---
## 9. Execution Rules
- Tasks with no dependencies → run in parallel
- Tasks MUST wait for dependencies
- Each task MUST meet acceptance criteria before next step
---
## 10. Failure Handling
- Retry policy:
- Blocking tasks:
- Escalation:
---
## 11. Agent Assignments Summary
| Task | Agent | Skills |
| ---- | ----- | ------ |
| T1 | ... | ... |
| T2 | ... | ... |
> **Note**: Always list all skills required for each task to ensure proper agent assignment.
---
## 12. Progress Tracking
- [ ] T1
- [ ] T2
- [ ] T3
> Update as tasks complete
documentation
Guidelines and protocols for Technical Leaders to manage and oversee technical projects effectively while adhering to the core mandate of being the central orchestration layer for all engineering work.
data-ai
Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.
development
SOLID — Enforces the SOLID principle of object-oriented design (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) for maintainable and scalable code.
development
Separation of Concerns (SoC) — Enforces the Separation of Concerns principle by ensuring each module, layer, and component addresses exactly one well-defined concern. Use when writing, reviewing, or refactoring code that mixes UI with business logic, business logic with data access, presentation with formatting, or cross-cutting concerns (auth, logging, validation) with core logic.