HOW TO WRITE TASKS USING GODS FRAMEWORK
What is GODS?
The framework helps to formulate tasks in a way that avoids misunderstandings
between the "client" and the "executor":
- Helps to clearly articulate the goal, context, and criteria for task
completion.
- Makes the task transparent and understandable for executors and clients.
- Suitable for tasks with predictable cycles and measurable results.
- Does not replace flexible processes in research, innovation, or dynamic
projects.
Structure:
G — Goal: Why are we performing the task? What is the business goal?
O — Overview: What is happening now? Why did the task arise? What is
happening around it?
D — Definition of Done: When do we consider the task completed? By what
criteria?
S — Solution: How can the task be solved?
TASK FILE TEMPLATE
Moved here from the project instruction template on 2026-08-27. It used to sit
in AGENTS.md, which every session mounts, so the model already had the format
and never opened this skill: write-gods-tasks-trigger-pos-1 scored 0/3 with
13, 16 and 27 tool calls, the agent writing the file itself each time. This
file is now the single source, and AGENTS.md points here.
Path: resolve the tasks role from the project instructions. The template
default is a date hierarchy — <YYYY>/<MM>/<slug>.md, kebab-case slug, max
40 chars — but the project instructions are authoritative.
---
implements:
- FR-XXX
---
# [Task Title]
## Goal
[Why? Business value.]
## Overview
### Context
[Full problematics, pain points, operational environment, constraints, tech debt, external URLs, @-refs to relevant files/docs.]
### Current State
[Technical description of existing system/code relevant to task.]
### Constraints
[Hard limits, anti-patterns, requirements (e.g., "Must use Deno", "No external libs").]
## Definition of Done
Every DoD item MUST pair with (a) an FR-ID and (b) a runnable acceptance reference. Items without this tuple are wishes, not contracts.
- [ ] FR-XXX: <observable behavior>
- Test: `<path/to/test>::<test_name>` (or `Benchmark: <scenario-id>`)
- Evidence: `<command that passes iff the item is done>`
- [ ] FR-YYY: <observable behavior>
- Test: `...`
- Evidence: `...`
## Solution
[Actionable step-by-step approach. Never left blank — a task file without a
Solution is not written yet. When a planning workflow weighed variants and the
user picked one, this covers that variant only; when no variant selection took
place, it covers the approach you are proposing.]
Frontmatter: date (YYYY-MM-DD; required), status: to do | in progress | done | superseded (required), implements: [FR-...] (optional — present for FR-driven
tasks, omitted for internal/maintenance), optional tags, optional
related_tasks, optional migrated_from, optional superseded_by (required
when status: superseded). Never edit status by hand mid-flight — commit
workflows derive it from the ## Definition of Done checkbox count.
EXAMPLES OF APPLYING GODS
1. Incidents (Platform team)
- Goal: Restore the CI/CD pipeline so that deployment delays do not exceed 1
hour.
- Overview: Updated the Jenkins plugin → 5 builds with errors → version
incompatible.
- Definition of Done: All builds pass without errors within a day, tests
≥98% successful, team notified.
- Solution: Roll back the plugin, patch, or change the tool after log
analysis.
2. Operational Tasks (Platform team)
- Goal: Update the monitoring system to reduce false positives.
- Overview: Outdated rules → too many alerts.
- Definition of Done: False positives ↓80%, checks passed, documentation
updated.
- Solution: Use a ready-made runbook and scripts.
3. Platform Development (Platform team)
- Goal: Implement a predictive analytics module to prevent incidents.
- Overview: Incident frequency has increased by 25%, no forecasting tools
available.
- Definition of Done: Module integrated, accuracy ≥85%, pilot tested within
3 months.
- Solution: Research ML models, selection after analysis.
4. Product Team Requests (Platform team)
- Goal: Cut Alpha's deployment time in half and stop updates from breaking,
so releases no longer block the product team. (Docker is the mechanism and
belongs in Solution, not here.)
- Overview: Currently, Alpha runs on virtual machines, deployment takes a
long time and causes errors during updates.
- Definition of Done:
- The service runs in Docker.
- Deployment time reduced by 50%.
- All tests pass successfully.
- Documentation updated.
- Pilot launch confirmed.
- Solution: Use Docker Compose, CI/CD integration, and monitoring setup.
1---2name: write-gods-tasks3description: Supplies the accepted task format — GODS, meaning Goal, Overview, Definition of Done, Solution — and its file template. Use when the user asks what that format is, or to write up an already-decided piece of work in it. NOT for planning work before coding — weighing variants and critiquing a plan belong to the planning skill, which writes the file itself.4---56## HOW TO WRITE TASKS USING GODS FRAMEWORK78### What is GODS?910The framework helps to formulate tasks in a way that avoids misunderstandings11between the "client" and the "executor":1213- Helps to clearly articulate the goal, context, and criteria for task14 completion.15- Makes the task transparent and understandable for executors and clients.16- Suitable for tasks with predictable cycles and measurable results.17- Does not replace flexible processes in research, innovation, or dynamic18 projects.1920**Structure:**2122- **G — Goal:** Why are we performing the task? What is the business goal?2324- **O — Overview:** What is happening now? Why did the task arise? What is25 happening around it?2627- **D — Definition of Done:** When do we consider the task completed? By what28 criteria?2930- **S — Solution:** How can the task be solved?3132---3334### TASK FILE TEMPLATE3536Moved here from the project instruction template on 2026-08-27. It used to sit37in `AGENTS.md`, which every session mounts, so the model already had the format38and never opened this skill: `write-gods-tasks-trigger-pos-1` scored 0/3 with3913, 16 and 27 tool calls, the agent writing the file itself each time. This40file is now the single source, and `AGENTS.md` points here.4142Path: resolve the `tasks` role from the project instructions. The template43default is a date hierarchy — `<YYYY>/<MM>/<slug>.md`, kebab-case slug, max4440 chars — but the project instructions are authoritative.4546```markdown47---48implements:49 - FR-XXX50---51# [Task Title]5253## Goal5455[Why? Business value.]5657## Overview5859### Context6061[Full problematics, pain points, operational environment, constraints, tech debt, external URLs, @-refs to relevant files/docs.]6263### Current State6465[Technical description of existing system/code relevant to task.]6667### Constraints6869[Hard limits, anti-patterns, requirements (e.g., "Must use Deno", "No external libs").]7071## Definition of Done7273Every DoD item MUST pair with (a) an FR-ID and (b) a runnable acceptance reference. Items without this tuple are wishes, not contracts.7475- [ ] FR-XXX: <observable behavior>76 - Test: `<path/to/test>::<test_name>` (or `Benchmark: <scenario-id>`)77 - Evidence: `<command that passes iff the item is done>`78- [ ] FR-YYY: <observable behavior>79 - Test: `...`80 - Evidence: `...`8182## Solution8384[Actionable step-by-step approach. Never left blank — a task file without a85Solution is not written yet. When a planning workflow weighed variants and the86user picked one, this covers that variant only; when no variant selection took87place, it covers the approach you are proposing.]88```8990Frontmatter: `date` (YYYY-MM-DD; required), `status: to do | in progress | done |91superseded` (required), `implements: [FR-...]` (optional — present for FR-driven92tasks, omitted for internal/maintenance), optional `tags`, optional93`related_tasks`, optional `migrated_from`, optional `superseded_by` (required94when `status: superseded`). Never edit `status` by hand mid-flight — commit95workflows derive it from the `## Definition of Done` checkbox count.9697---9899### EXAMPLES OF APPLYING GODS100101#### 1. Incidents (Platform team)102103- **Goal:** Restore the CI/CD pipeline so that deployment delays do not exceed 1104 hour.105- **Overview:** Updated the Jenkins plugin → 5 builds with errors → version106 incompatible.107- **Definition of Done:** All builds pass without errors within a day, tests108 ≥98% successful, team notified.109- **Solution:** Roll back the plugin, patch, or change the tool after log110 analysis.111112---113114#### 2. Operational Tasks (Platform team)115116- **Goal:** Update the monitoring system to reduce false positives.117- **Overview:** Outdated rules → too many alerts.118- **Definition of Done:** False positives ↓80%, checks passed, documentation119 updated.120- **Solution:** Use a ready-made runbook and scripts.121122---123124#### 3. Platform Development (Platform team)125126- **Goal:** Implement a predictive analytics module to prevent incidents.127- **Overview:** Incident frequency has increased by 25%, no forecasting tools128 available.129- **Definition of Done:** Module integrated, accuracy ≥85%, pilot tested within130 3 months.131- **Solution:** Research ML models, selection after analysis.132133---134135#### 4. Product Team Requests (Platform team)136137- **Goal:** Cut Alpha's deployment time in half and stop updates from breaking,138 so releases no longer block the product team. (Docker is the mechanism and139 belongs in Solution, not here.)140- **Overview:** Currently, Alpha runs on virtual machines, deployment takes a141 long time and causes errors during updates.142- **Definition of Done:**143 - The service runs in Docker.144 - Deployment time reduced by 50%.145 - All tests pass successfully.146 - Documentation updated.147 - Pilot launch confirmed.148- **Solution:** Use Docker Compose, CI/CD integration, and monitoring setup.