agentleFS
paullukicpaullukic/coograph/.github/skills/coograph-propose/SKILL.md

coograph-propose

Skill17 starsChanged 7 months agoMITView on GitHub

Propose a new change with all artifacts generated in one step. Use when the user wants to describe what they want to build and get a complete proposal with specs and tasks ready for implementation.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 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.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If no input was provided, ask the user:

    line 17
  2. Very specific:

    Read .github/copilot-instructions.md for conventions and stack.

    line 25
  3. Distinctive:

    Search for related files, existing patterns, integration points, and risks relevant to this change.

    line 26
  4. Very specific:

    Create openspec/changes/<YYYY-MM-DD>-<slug>/ using today's date.

    line 31
  5. Very specific:

    Write openspec/changes/<slug>/tasks.md with 3-8 tasks grouped by logical unit (not per-file):

    line 88
  6. Distinctive:

    Every task must have measurable acceptance criteria

    line 103
  7. Distinctive:

    Before presenting to the user, confirm:

    line 108

≈ “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

Propose a new change — investigate the codebase, create all artifacts, and wait for approval before implementing.


Step 1: Understand what to build

If no input was provided, ask the user:

"What change do you want to work on? Describe what you want to build or fix."

From their description, derive a kebab-case slug (e.g., "add user auth"). Wait for their answer before proceeding.

Step 2: Investigate the codebase

Before writing anything:

  1. Read .github/copilot-instructions.md for conventions and stack.
  2. Search for related files, existing patterns, integration points, and risks relevant to this change.
  3. Identify which files will likely be modified or created.

Step 3: Create the change directory

Create openspec/changes/<YYYY-MM-DD>-<slug>/ using today's date.

Create .openspec.yaml with:

schema: spec-driven
name: <slug>
created: <YYYY-MM-DD>

Step 4: Create proposal.md

Write openspec/changes/<slug>/proposal.md:

# Proposal: <human-readable title>

## Why
[Problem being solved and motivation]

## Goals
- [Concrete, measurable deliverable]

## Non-Goals
- [Explicit out-of-scope items]

## Decisions
- [Key design decisions and why they were made]

## Impact
- Files to modify: [specific file paths]
- Files to create: [specific file paths]
- Dependencies affected: [if any]

## Risks
- [Risk]: [mitigation]

Step 5: Create specs/<capability>/spec.md

Write openspec/changes/<slug>/specs/<capability>/spec.md:

# Spec: <capability name>

## Requirements
- [Requirement 1]
- [Requirement 2]

## Scenarios
### Scenario: <description>
- Given: [precondition]
- When: [action]
- Then: [expected outcome]

Step 6: Create tasks.md

Write openspec/changes/<slug>/tasks.md with 3-8 tasks grouped by logical unit (not per-file):

# Tasks: <change-name>

- [ ] **<Logical group title>** — [description of what this group accomplishes]
  - Files: [file paths]
  - Acceptance: [measurable criteria]

- [ ] **Verification** — Run quality gates and confirm all acceptance criteria are met

Rules for tasks:

  • Group mechanical changes by logical unit, not per-file ("add validation" not "update file X, update file Y")
  • 3-8 tasks max — more than 10 means the scope is too large, split the change
  • Every task must have measurable acceptance criteria
  • Final task is always verification

Step 7: Verify artifacts

Before presenting to the user, confirm:

  • proposal.md has all sections (Why, Goals, Non-Goals, Decisions, Impact, Risks)
  • Impact section lists specific file paths, not vague module names
  • tasks.md has 3-8 tasks grouped by logical unit
  • Every task has acceptance criteria
  • Risks section is honest — not empty

Step 8: Present and wait for approval

Show the user:

  • Change location: openspec/changes/<slug>/
  • Summary of proposal (1-2 sentences)
  • Task list

Then ask: "Does this capture what you want? Say proceed to start implementation, or tell me what to adjust."

Do NOT implement anything until the user explicitly says to proceed.

Red Flags

  • Proposal created without reading any existing source code
  • Tasks that are per-file ("update UserService.java") instead of per-logical-unit
  • Missing Risks or Non-Goals sections
  • More than 10 tasks — scope is too large, split the change
  • Proceeding to implementation without explicit user approval

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.