agentleFS
compozycompozy/compozy/.agents/skills/cy-issue-to-spec/SKILL.md

cy-issue-to-spec

Skill2.8k starsChanged 2 months agoMITView on GitHub

Publishes a Compozy spec set to compozy-specs and mirrors it into a GitHub + Linear issue pair — or starts from a bare issue and authors the spec first.

Trending

Quiet since October.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 18 mentionsSep 2026: 1 mentionOct 2026: 3 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the compozy/compozy repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about compozy/compozy

The biggest 5 of 24 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 24

Talked about on GitHub (24 times).

On GitHub · 24

19 more on GitHub

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Only when starting from a bare issue.

    line 23
  2. Distinctive:

    Read the issue and restate its scope in one sentence.

    line 25
  3. Distinctive:

    Run the staging helper (mutating — writes into the specs repo working tree):

    line 33
  4. Very specific:

    Add one row to the specs repo README.md, in the Active or Archived table: the folder link, one sentence on what the spec covers, the …

    line 59
  5. Very specific:

    Commit as docs: add <slug> spec set and push.

    line 61
  6. Very specific:

    Read .agents/skills/cy-issue-to-spec/references/issue-body.md in full and build the body against it.

    line 67
  7. Very specific:

    Create or update the GitHub issue: title matching the spec's subject, labels roadmap + planned (removing needs-plan), the Step 4 body, and …

    line 73
  8. Very specific:

    Create or update the Linear issue with the same title and the same body, swapping the footer for Tracked on GitHub: <url>.

    line 75
  9. Distinctive:

    Verify with the audit helper (read-only):

    line 77

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Issue ↔ Spec

One feature lives in three places: the working spec set under .compozy/tasks/<slug>/, its published folder in the compozy/compozy-specs repo, and its mirror — a GitHub issue and a Linear issue that read identically. This skill moves a feature between those places and leaves all three agreeing.

Branches

Starting pointEnter at
A spec set already exists under .compozy/tasks/<slug>/Step 1
A GitHub issue exists carrying no spec behind itStep 0

Step 0 — Author the spec

Only when starting from a bare issue.

Read the issue and restate its scope in one sentence. When it bundles separable features, split it first: retitle the original to the narrower scope, open a second issue for the remainder, and cross-link both — then spec one of them.

Activate cy-spec-preflight, then cy-create-spec. Offer cy-spec-peer-review after the user approves the spec. Run cy-create-tasks last.

Done when: .compozy/tasks/<slug>/ holds _spec.md (or _prd.md + _techspec.md), its companions, adrs/, and _tasks.md, and the user has approved the spec.

Step 1 — Stage the spec set

Run the staging helper (mutating — writes into the specs repo working tree):

python3 .agents/skills/cy-issue-to-spec/scripts/publish-spec.py \
  --spec-dir .compozy/tasks/<slug> \
  --specs-repo <specs-repo-checkout> \
  --repo-root "$(pwd)"

It publishes _*.md, task_NN.md, and adrs/*.md; it leaves analysis/, qa/, memory/, evidence/, reviews-*/, state.yaml, and handoff notes in the workspace. Pass --include '<glob>' for a document that carries spec content under a name outside those patterns, and --archived when the workstream is already closed.

The folder is named YYYY-MM-DD-<slug>, dated by when the work began: the source folder's own date prefix when it carries one, else state.yaml's created_at, else the earliest document. Active specs sit at the repo root; closed ones under _archived/.

Done when: the helper exits 0, reporting the staged path, file count, and a clean scan.

Step 2 — Resolve the report

The helper scrubs machine-local paths and repairs ../adrs/ links itself. Two findings need a decision:

  • A surviving local path or a possible secret exits the helper non-zero. Edit the staged document, then re-run the scan.
  • A broken relative link points at something the filter left behind. Either publish that material too, or accept the dangling reference — the repo README already tells readers that older documents point at files they will not find.

Done when: every reported path, secret, and link is fixed or consciously accepted.

Step 3 — Index and push

Add one row to the specs repo README.md, in the Active or Archived table: the folder link, one sentence on what the spec covers, the tracking-issue link, and the Documents column naming its shape (spec, prd + techspec, brief + techspec, …). Newest first.

Commit as docs: add <slug> spec set and push.

Done when: every relative link in the README resolves and the commit is on main.

Step 4 — Write the issue body

Read .agents/skills/cy-issue-to-spec/references/issue-body.md in full and build the body against it.

Done when: the body opens with the spec-set link block and every section of the skeleton is either written or deliberately absent.

Step 5 — Open the mirror

Create or update the GitHub issue: title matching the spec's subject, labels roadmap + planned (removing needs-plan), the Step 4 body, and a closing Roadmap item tracked in Linear: [CY-NNN](…) line.

Create or update the Linear issue with the same title and the same body, swapping the footer for Tracked on GitHub: <url>. Linear renders GitHub callout syntax as plain text — convert a > [!NOTE] block to a bold sentence.

Verify with the audit helper (read-only):

python3 .agents/skills/cy-issue-to-spec/scripts/check-tracker-sync.py --linear-json <export>

Save the Linear MCP list_issues result to a file first; without --linear-json the helper audits only the GitHub half.

Done when: the helper exits 0 with no defects, and both issues carry a link to each other.

Reference

  • Publishing an already-archived spec skips Step 0 and Step 4's tracking link when no issue exists — the README row is then the only index entry.
  • Renaming a published folder breaks the links already sitting in both trackers; update the issue bodies in the same change.
  • references/issue-body.md — the issue-body skeleton and where each part comes from in the spec.
  • scripts/publish-spec.py — mutating; stages, scrubs, scans, and link-checks a spec set.
  • scripts/check-tracker-sync.py — read-only; audits titles, states, and links across the mirror.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.