dpolivaev/spec-loop

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…

First seen Jun 3, 2026

Installation

$ npx skills add https://github.com/dpolivaev/spec-loop
Feature your product here Skill page unit · reach builders installing agent skills View pricing →

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from dpolivaev/spec-loop · top by installs.

npx skills add https://github.com/dpolivaev/spec-loop

Browse all from dpolivaev/spec-loop

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 34
License LICENSE.md
Default branch main
Open issues 0
Status Active

History

  1. First seen on skills.sh
  2. First recorded snapshot · 47 installs

SKILL.md

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](../spec-loop-clarify-task/SKILL.md).

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