agentleFS
NatanNarcisoNatanNarciso/idea-skill/skills/idea/SKILL.md

idea

Skill1 starsChanged 3 months agoMITView on GitHub

Turns a loose, free-text idea into a GitHub issue with the right type/priority labels, added to the project's Kanban board in the Backlog column with its Priority field set, and a due date when one is mentioned. Use when the user says "/idea", "file an issue for...", "add this to the board for..." or similar.

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 6 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 6

    Distinctive

    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. Very specific:

    Default location: ~/.claude/idea-projects.json (a JSON object, one key per project — see the main repo's README for the exact format and …

    line 19
  2. Distinctive:

    Always re-read the file — don't rely on a cached copy from an earlier session, the registry grows over time.

    line 23
  3. Distinctive:

    If nothing matches, or the sentence doesn't make the target project clear, ask before creating anything — filing an issue in the wrong repo …

    line 33
  4. Very specific:

    If invoked from a session whose working directory matches a registry entry's local_path and the user didn't name a project, assume that one …

    line 36
  5. Distinctive:

    If a name matches more than one registry entry (e.g.

    line 39
  6. Very specific:

    No clear signal → default feature

    line 55
  7. Distinctive:

    If no due date is mentioned, leave the field unset — don't invent one.

    line 66
  8. Distinctive:

    If type or priority are genuinely ambiguous on a short/vague sentence (not just "the defaults above don't perfectly fit"), ask a quick …

    line 68
  9. Very specific:

    If the board predates this field (gh project field-list doesn't show Priority), skip this step silently — the label is still set.

    line 119
  10. Distinctive:

    Project not found in the registry: stop and tell the user — don't create a "loose" issue with no board card without flagging that the board …

    line 140
  11. Very specific:

    gh missing the project scope: if gh project item-add/item-edit fail on permissions, have the user run gh auth refresh -h github.com -s …

    line 143

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “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

/idea — turn a loose idea into an issue on the board

Part of idea-skill: a lightweight dev workflow (issue templates, standard labels, a GitHub Projects Kanban board per repo) plus this command, which lets you just say an idea and have the issue + board card appear, fully tagged, no commands to remember.

Everything below is pure gh cli (plus one GraphQL call) — no extra infrastructure, no server, no API keys beyond what gh already uses.

1. Read the project registry

Default location: ~/.claude/idea-projects.json (a JSON object, one key per project — see the main repo's README for the exact format and how to generate entries with setup.sh). If the user's own instructions (CLAUDE.md, etc.) point at a different registry path, use that instead. Always re-read the file — don't rely on a cached copy from an earlier session, the registry grows over time.

2. Resolve the project

Users typically open the sentence with the project name and a colon, e.g. /idea billing-service: fix the retry logic on failed webhooks. Match the name/alias (case-insensitive) against the registry's keys and each entry's aliases.

  • If nothing matches, or the sentence doesn't make the target project clear, ask before creating anything — filing an issue in the wrong repo is worse than asking.
  • If invoked from a session whose working directory matches a registry entry's local_path and the user didn't name a project, assume that one — but confirm in one line if there's any ambiguity.
  • If a name matches more than one registry entry (e.g. a split frontend/backend pair sharing a product name), ask which one instead of guessing.

3. Extract: title, type, priority, due date

Title: a short, clean issue title (doesn't need to be a literal quote of the user's sentence — tidy it up).

Body: include the user's original wording as context, plus any other relevant detail they gave in the conversation.

Type (type:bug / type:feature / type:chore):

  • "broken", "doesn't work", "crashes", "error", "bug" → bug
  • "add", "build", "implement", "I want it to..." → feature
  • "refactor", "bump dependency", "clean up", "reorganize" → chore
  • No clear signal → default feature

Priority (priority:P0 through priority:P3):

  • "urgent", "critical", "blocking", "prod is down" → P0
  • "important", "high priority", "asap" → P1
  • "whenever", "low priority", "no rush" → P3
  • No clear signal → default P2

Due date (the board's Due date field, format YYYY-MM-DD):

  • Resolve relative dates ("Friday", "next week", "the 20th") against today's date, which is available in the session context.
  • If no due date is mentioned, leave the field unset — don't invent one.

If type or priority are genuinely ambiguous on a short/vague sentence (not just "the defaults above don't perfectly fit"), ask a quick clarifying question before creating the issue. Otherwise, go with the defaults — don't stall the flow with trivial questions.

4. Create the issue

gh issue create --repo <github_owner>/<github_repo> \
  --title "<title>" \
  --body "<body>" \
  --label "type:<type>" \
  --label "priority:<PN>"

Capture the returned URL (the last line of output).

5. Add it to the board

gh project item-add <project_number> --owner <github_owner> --url <issue_url>

6. Place it in the Backlog column

gh project item-edit <project_number> --owner <github_owner> \
  --url <issue_url> --field "Status" --value "Backlog"

This is what actually makes the card show up on the board — it doesn't rely on any GitHub-side automation being configured manually.

7. Set the Priority field

The board's Priority field (single-select) mirrors the priority:PN label so the Kanban can actually be grouped/sorted by it — map the PN from step 3:

LabelPriority field
P0Urgente
P1Alta
P2Média
P3Baixa
gh project item-edit <project_number> --owner <github_owner> \
  --url <issue_url> --field "Priority" --value "<Urgente|Alta|Média|Baixa>"

If the board predates this field (gh project field-list doesn't show Priority), skip this step silently — the label is still set.

8. Set the due date, if there is one

gh project item-edit <project_number> --owner <github_owner> \
  --url <issue_url> --field "Due date" --date "YYYY-MM-DD"

Skip this step if no due date was mentioned/inferred.

9. Reply to the user

A short response: the issue link, the board link (https://github.com/users/<github_owner>/projects/<project_number>), and a one-line summary of what was set (project, type, priority, due date if any). No need to narrate every technical step — just the outcome.

Common issues

  • Project not found in the registry: stop and tell the user — don't create a "loose" issue with no board card without flagging that the board couldn't be located.
  • gh missing the project scope: if gh project item-add/item-edit fail on permissions, have the user run gh auth refresh -h github.com -s project (opens a device-code flow in the browser), then retry.

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.