CtrlK
BlogDocsLog inGet started
Tessl Logo

spec-loop-compact-task-file

Compact an active task file without changing meaning. Use when converting a no-subtask task to subtask form, when adding a new subtask after earlier subtasks already contain full section content, when duplicated section content should be compacted before approval seeking, or when a task file has become too large to use safely.

65

Quality

79%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./skills/spec-loop-compact-task-file/SKILL.md
SKILL.md
Quality
Evals
Security

Task-file path only.

Source of truth

Use the active task file as the source of truth.

Before compacting, re-read the current subtask and the task-level sections and diagrams it depends on.

Rules

Compaction must preserve meaning exactly.

It may move, rewrite, or reorganize section content to remove duplication and shrink the active task file, but it must preserve:

  • decisions;
  • dependencies;
  • constraints;
  • review-relevant facts;
  • findings; and
  • implementation and test expectations.

Keep shared context at task level. Keep one authoritative location for each piece of section content. Keep brief references or restatements only when remaining work still needs them to understand the current subtask safely.

Allowed changes

  • Move subtask-specific Research, Design, Test specification, and Findings into the relevant subtask.
  • Rewrite duplicated section content into a shorter equivalent form.
  • Reorganize section content to remove duplication and make the active task file smaller.
  • Compact duplicated section content instead of repeating it.

Forbidden changes

Do not use this skill to:

  • make new design decisions;
  • narrow or expand scope;
  • remove still-needed detail; or
  • split the task into multiple files.

Stop conditions

If no compaction is needed under these rules, make no task changes and return control to the invoking workflow.

If compaction reveals a material unresolved question, stop and use spec-loop-clarify-task/SKILL.md.

When compaction is complete, return control to the workflow that invoked this skill.

Repository
dpolivaev/spec-loop
Last updated
First committed

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.