Skill 详情
report-writing
Produces task-completion documentation reports, not general reports.
使用前先检查
自动化审核只检查相关性,不代表安全审查或推荐。使用前请阅读来源中的说明。
SKILL.md
这段内容是审核时保存的快照。外部来源才是完整且最新的版本。
---
name: report-writing
description: Generate structured task completion reports in two synchronized formats - a concise chat summary and a detailed documentation file. Use this skill when completing tasks that require formal documentation, audit trails, or reproducible records of work performed. Particularly useful for specification-driven development, API implementation, or any workflow requiring both user-facing summaries and comprehensive technical documentation.
---
# Report Writing Skill
This skill provides a standardized protocol for generating task completion reports that serve dual purposes: immediate user communication and long-term documentation.
## When to Use This Skill
Invoke this skill upon successful completion of any tasks
## Core Workflow
### Two Synchronized Outputs
Generate both outputs synchronously upon task completion:
#### 1. Chat Interface Report
Deliver a concise, user-friendly summary directly to the chat interface:
- **Format**: Brief, accessible language
- **Content**: Task status, key outcomes, next steps (if applicable)
- **Timing**: Immediate upon completion
- **Audience**: End user or stakeholder
#### 2. Detailed Documentation File
Create a comprehensive Markdown file with full implementation details:
- **Location**: `reports/{specifications_document_name}/task_{task_number}_completed.md`
- **Naming Example**: `reports/ast-transcription-api/task_10_1_completed.md`
- **Structure**: See template in `references/report-template.md`
### Required Sections in Documentation File
Structure the detailed documentation file with these sections in order:
1. **Chat Interface Output**
- Reproduce the complete chat summary verbatim at the top
- Ensures consistency between both deliverables
- Provides context for readers reviewing only the file
2. **Task Overview**
- Brief description of the task
- Stated objectives and success criteria
- Reference to parent specification or project context
3. **Execution Timeline**
- Chronological sequence of actions taken
- Timestamp each major step
- Include decision points and reasoning
4. **Inputs/Outputs**
- All data processed (files read, APIs called, databases queried)
- All artifacts generated (files created, API responses, database modifications)
- Configuration changes or environment setup
5. **Error Handling**
- Any warnings encountered during execution
- Errors that occurred and how they were resolved
- Validation failures and remediation steps
- Edge cases discovered
6. **Final Status**
- Success confirmation with criteria met
- Summary of all deliverables produced
- Known limitations or follow-up items
- Links to related documentation or resources
## Quality Assurance Checklist
Before finalizing reports, verify:
- **Consistency**: Chat summary and file documentation align perfectly
- **Accuracy**: All timestamps are correct and chronologically ordered
- **Completeness**: All required sections are present with substantive content
- **Reproducibility**: Sufficient detail exists to recreate the task execution
- **Clarity**: Technical terms are defined, acronyms explained on first use
- **Traceability**: Links to specifications, commits, or related tasks are included
## Implementation Guidelines
### File Organization
Create the `reports/` directory structure as needed:
```
reports/
├── {specification-name-1}/
│ ├── task_1_completed.md
│ ├── task_2_completed.md
│ └── task_3_completed.md
└── {specification-name-2}/
└── task_1_completed.md
```
### Naming Conventions
Follow these patterns strictly:
- **Directory**: Lowercase, hyphen-separated (e.g., `ast-transcription-api`)
- **File**: `task_{number}_completed.md` or `task_{number}_{subnumber}_completed.md`
- **Examples**: `task_1_completed.md`, `task_10_1_completed.md`
### Writing Style
- Use active voice in timeline descriptions
- Be specific about tools, commands, and file paths
- Include exact error messages in err在 GitHub 阅读完整来源 (打开外部页面)