framework_eng/skills/spec-writing/task-breakdown/SKILL.md
Decompose a spec into Task Breakdown JSON
npx skillsauth add steelmorgan/1c-agent-based-dev-framework task-breakdownInstall 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.
| Trigger | Mode | |---------|-------| | FREE/linear execution without Reviewer-agent | Linear — self-check | | Full-cycle process with Architect/Reviewer roles | Subagent — cross-review + BLOCK iterations | | Breakdown of a spec is needed before implementation | Any mode — use template + example | | Execution is performed by one agent step by step | Linear | | Reviewer returned BLOCK | Subagent — run the correction loop |
If the orchestration context is unknown, use Linear by default.
The breakdown is prepared as a separate JSON file (next to the specification or in an agreed project folder).
Format requirements:
references/task-breakdown.schema.json) - validation is mandatory (see §2a);task_idtask_typetitledescriptiondepends_onspec_refsdeliverablesdone_criteria - an array of 1-3 verifiable task completion criteriaThe specification itself must include:
{
"spec_id": "SPEC-NNN",
"tasks": [
{
"task_id": "T1",
"task_type": "analysis",
"title": "Short task title",
"description": "What must be done",
"depends_on": [],
"spec_refs": ["Requirements.MUST-1"],
"deliverables": ["List of expected artifacts"],
"done_criteria": ["Verifiable task completion criterion"]
}
]
}
task_type valuesanalysis | design | implementation | test
The Task Breakdown format is fixed by the strict references/task-breakdown.schema.json schema (draft-07, additionalProperties: false at the task level). Validation of JSON against this schema is mandatory: Architect performs it before handing over the decomposition, and the orchestrator performs it on acceptance.
python3 -c "import json,jsonschema; jsonschema.validate(json.load(open('task-breakdown.json')), json.load(open('references/task-breakdown.schema.json'))); print('OK')"
If jsonschema is unavailable, validate by any available means (an online draft-07 validator or a manual check against the schema). It is forbidden to submit or accept invalid JSON.
{
"spec_id": "SPEC-002",
"tasks": [
{
"task_id": "T1",
"task_type": "analysis",
"title": "Validation against MUST requirements",
"description": "Map MUST items from the specification to implementation tasks",
"depends_on": [],
"spec_refs": ["Requirements.MUST-1", "Requirements.MUST-2"],
"deliverables": ["MUST coverage matrix", "List of gaps"],
"done_criteria": ["Each MUST is matched to at least one implementation task", "Coverage gaps are listed explicitly or the list is empty"]
},
{
"task_id": "T2",
"task_type": "implementation",
"title": "Implement core logic",
"description": "Perform the implementation according to Technical Design",
"depends_on": ["T1"],
"spec_refs": ["Technical Design.Modules", "Requirements.MUST-3"],
"deliverables": ["Code changes", "Local checks"],
"done_criteria": ["The code matches the module structure of the Technical Design", "Local syntax checks pass without errors"]
},
{
"task_id": "T3",
"task_type": "test",
"title": "Validate the test plan",
"description": "Verify that MUST items are covered by tests from the Test Plan",
"depends_on": ["T2"],
"spec_refs": ["Test Plan (TDD)"],
"deliverables": ["Test results", "List of deviations"],
"done_criteria": ["All MUST requirements have a passing test", "Deviations are recorded or the list is empty"]
}
]
}
depends_on forms a valid sequence;spec_refs point to specific sections/items.task_id.task_type matches the real work stage.depends_on defines an executable linear order without cycles.spec_refs are present and linked to the specification.done_criteria (1-3 verifiable and specific criteria).references/task-breakdown.schema.json (§2a).| Mistake | Consequence |
|--------|------------|
| No self-check before execution | Execution based on a defective plan |
| Unrecorded assumptions | Hidden mismatches with expectations |
| Incomplete spec_refs | Loss of traceability |
| Violation of depends_on order | Rework in later stages |
{
"spec_id": "SPEC-002",
"tasks": [
{
"task_id": "T1",
"task_type": "analysis",
"title": "Check metadata objects",
"description": "Compare the object set with the Technical Design section",
"depends_on": [],
"spec_refs": ["Technical Design.Metadata Objects", "Requirements.MUST-1"],
"deliverables": ["List of verified objects", "List of discrepancies"],
"done_criteria": ["The object set matches the Technical Design section", "All discrepancies are recorded or the list is empty"]
},
{
"task_id": "T2",
"task_type": "implementation",
"title": "Implement document posting",
"description": "Implement movements and balance checks",
"depends_on": ["T1"],
"spec_refs": ["Requirements.MUST-2", "Requirements.MUST-3"],
"deliverables": ["Object module code", "Tests for MUST requirements"],
"done_criteria": ["The posting creates movements across all registers from the design", "The balance check is covered by a passing test"]
}
]
}
task_id.task_type reflects the actual stage (analysis/design/implementation/test, etc.).depends_on does not contain cyclic dependencies.spec_refs are present for every task and point to specific sections/requirements of the spec.done_criteria (1-3 verifiable and specific criteria).references/task-breakdown.schema.json (§2a).| Mistake | Consequence |
|--------|------------|
| spec_refs omitted | Loss of traceability |
| Inconsistent depends_on | Invalid execution order |
| Format changes between iterations | Increase in review defects |
| Ignoring the BLOCK limit | Endless iterations → escalation does not happen |
| Criterion | Linear | Subagent | |----------|--------|---------| | Reviewer-agent present | No | Yes | | Architect role present | Optional | Yes | | Quality control method | Self-check | Cross-review | | Iterations on errors | No (fix independently) | Up to 3 BLOCK returns, then escalation | | Typical context | Simple tasks, one-shot execution | Complex specs, full-cycle pipeline | | Used by agents | analyst, developer-code | architect |
development
1C server maintenance webhooks: container restart and external component cache cleanup
development
Interactive DAP debugging of a single BSL procedure
tools
Rules for using RLM tools for project search and navigation in 1C/BSL
development
Creates web applications and routes on Winow (a web server on OneScript and Autumn). Use when working with a web server on OneScript, routing, or Winow controllers.