ワンクリックで
task-docs
Write documentation for tasks in the opencouncil-tasks codebase. Use after completing a new task implementation.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Write documentation for tasks in the opencouncil-tasks codebase. Use after completing a new task implementation.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Tag a CalVer release on main, create a GitHub release, and generate a Discord announcement.
Compare two traced summarize runs from Langfuse and produce a qualitative evaluation of how subjects, descriptions, and speaker contributions changed.
Deploy a release to staging or production, or show current deployment status.
Read application logs from the production or staging server via SSH.
Create a new task in the opencouncil-tasks codebase. Use when implementing new features or task handlers.
| name | task-docs |
| description | Write documentation for tasks in the opencouncil-tasks codebase. Use after completing a new task implementation. |
| allowed-tools | Read, Write, Edit, Glob |
You are creating documentation for a task in the opencouncil-tasks codebase. Follow these instructions to produce consistent, useful documentation.
Create docs/{taskName}.md where {taskName} matches the task file name (e.g., pollDecisions → docs/pollDecisions.md).
Use this template:
# {Task Name} Task
### Overview
{One paragraph explaining what the task does, when it's used, and its primary purpose.}
### Architecture
- Orchestration: src/tasks/{taskName}.ts
- {Additional files}: src/tasks/utils/{utilFile}.ts (if applicable)
- Types: src/types.ts
- Flow
{Mermaid flowchart showing the main processing steps}
### Input/Output Contract
- Input: {RequestType} (see src/types.ts)
- {field}: {description}
- {field}: {description}
- Output: {ResultType} (see src/types.ts)
- {field}: {description}
- File References
- Orchestration: src/tasks/{taskName}.ts
- Types: src/types.ts
### Processing Pipeline
{Numbered list of processing steps with details}
### Dependencies
- External services: {list any APIs or services called}
- Libraries: {key npm packages used}
- Environment variables: {required env vars}
### Integration Points
- API endpoint: POST /tasks/{taskName}
- CLI command: {cli command if applicable}
- Related tasks: {other tasks this works with}
### Configuration
- Env vars
- {VAR_NAME}: {description}
- Parameters (request)
- {param}: {description and options}
### Key Functions & Utilities
{List important functions with brief descriptions}
### Data Flow & State Management
{Explain if stateless or stateful, any caching, temporary files}
flowchart TD
A[Request] --> B[Fetch External Data]
B --> C{Process Results}
C -- success --> D[Transform Data]
C -- error --> E[Handle Error]
D --> F[Return Result]
E --> F
docs/ directory