agentleFS
brokspacebrokspace/brok/skills/engineering/setup-brokspace/SKILL.md

setup-brokspace

Skill12 starsChanged 28 days agoApache-2.0View on GitHub

Configure this repository for the Brokspace skills (issue tracker, triage labels, docs layout). Run once per repo.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask which tracker holds this repo's issues.

    line 24
  2. Distinctive:

    Other: write down exactly how to create, read, label and close an issue.

    line 32
  3. Very specific:

    Write docs/agents/issue-tracker.md with: the tracker, the CLI or folder, copy-pasteable commands for create, view, comment, label and …

    line 34
  4. Very specific:

    Write docs/agents/triage-labels.md as a table with columns Role | Label in this repo | Meaning covering: bug, enhancement, needs-triage, …

    line 43
  5. Very specific:

    Ask where the glossary and ADRs live.

    line 50
  6. Very specific:

    Add (or extend) an ## Agent skills section in AGENTS.md (create the file if needed.

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Setup Brokspace

Prepare the current repository so the other skills know where to publish issues, which label strings to apply and where domain docs live. Ask the questions below one at a time, offer the recommended answer, write the files, then summarize.

1. Check what exists

  • .brokspace/: if missing, recommend brok init (indexing makes every other skill sharper) but continue either way.
  • docs/agents/issue-tracker.md, docs/agents/triage-labels.md, GLOSSARY.md, docs/adr/: if present, show them and ask whether to keep or revise. Never overwrite without a yes.

2. Issue tracker

Ask which tracker holds this repo's issues. Detect a default: a GitHub remote in git remote -v suggests GitHub, a GitLab remote suggests GitLab.

  • GitHub: through the gh CLI. Ask whether external pull requests count as triage work, and who counts as external (non-collaborators by default).
  • GitLab: through the glab CLI.
  • Local files: one Markdown file per issue in .scratch/issues/, named NNNN-slug.md, with a labels: line at the top.
  • Other: write down exactly how to create, read, label and close an issue.

Write docs/agents/issue-tracker.md with: the tracker, the CLI or folder, copy-pasteable commands for create, view, comment, label and close, and the external-PR rule.

3. Triage labels

The skills speak in canonical roles. Ask which label string the tracker uses for each one; default to the canonical name.

Write docs/agents/triage-labels.md as a table with columns Role | Label in this repo | Meaning covering: bug, enhancement, needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix. Offer to create missing labels (gh label create <name>).

4. Domain docs

Ask where the glossary and ADRs live. Defaults: GLOSSARY.md at the root and docs/adr/NNNN-title.md. If GLOSSARY.md is missing, seed it with a title, one paragraph on what the project is, and empty ## Language and ## Relationships sections. Create docs/adr/ if missing.

5. Point agents at it

Add (or extend) an ## Agent skills section in AGENTS.md (create the file if needed; CLAUDE.md may simply say "See AGENTS.md") that lists the three docs above in one line each.

6. Finish

Summarize the files written. Recommend, in this order, only what is missing: brok init, brok index, brok setup agents (exports skills and wires the brok_search MCP tool into the user's coding agents), then /ask-brok to pick a first flow.

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.