agentleFS
openwizdevopenwizdev/WizSkills/skills/setup/SKILL.md

setup

Skill2 starsChanged 2 days agoApache-2.0View on GitHub

Configure a project for fleets, including its tracker, labels, glossary and defaults. Use when project settings are missing or need updating.

192 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-discord, add-slack and 10 more.

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.
  • MicrosoftSkill

    add-discord

    Add Discord bot channel integration via Chat SDK.

    Also in 11 projects that use this

  • MicrosoftSkill

    add-slack

    Add Slack channel integration via Chat SDK.

    Also in 11 projects that use this

  • +10 more from microsoft

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 168 edited versions we read keep these.

  • 1

    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:

    If docs/agents/ already holds the files, read them first and see "Running it again".

    line 22
  2. Very specific:

    Test commands: the instructions file and every run: step in .github/workflows/*.yml and *.yaml.

    line 28
  3. Very specific:

    Triage labels: keep the five standard roles (needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix)?

    line 39
  4. Very specific:

    If the user names a private Pro repository, create pro if missing and add a standalone Pro repository: owner/name line with that repository.

    line 52
  5. Very specific:

    Write only the four files and missing labels.

    line 54
  6. Distinctive:

    Read the four files and each source again.

    line 70

“Common” is measured: kept by at least 6 in 10 of the 168 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

Setup

The orchestrator writes four fleet settings files in docs/agents/. Cite the source or user decision for each value so the same inputs give the same files.

FileSaysTemplate
issue-tracker.mdWhere issues, versions, specs and tickets live, and the private records repositorytemplate
triage-labels.mdThe five triage roles and optional Pro triagetemplate
domain.mdWhere the glossary, ADRs, grills and private state livetemplate
fleet.mdBuilders, reviewers, test commands, CI checks, approval rules, merge rules and record authorstemplate

Guards. Public settings hold decisions, dates and private-record pointers, never exact replies or thread ids (open-development): save an exact reply first in a verified private issue/PR comment, read it back, then point to its full comment URL. Unknown visibility never permits a private write. The reviewer is always from another model family than the builder. Record authors are read, never guessed. With no recorded merge rule, every merge waits for the user.

1. Read what is there

If docs/agents/ already holds the files, read them first and see "Running it again". Then read each source:

  • gh repo view --json nameWithOwner,isPrivate, and the existing tracker and private repository settings. Not on GitHub: stop; fleets need GitHub issues.
  • gh label list --limit 500 --json name,description, saved privately for step 4.
  • GLOSSARY.md, docs/adr/, an optional GLOSSARY-MAP.md, and the private checkout's optional docs/grills/. Note whether the repository holds several packages (pnpm-workspace.yaml, workspaces in package.json, or packages/*/src/). An absent optional file is noted, never invented, run or imported.
  • Builders, reviewers and merge rules the user already chose: the instructions file (AGENTS.md or CLAUDE.md), ADRs and spec comments.
  • Test commands: the instructions file and every run: step in .github/workflows/*.yml and *.yaml. CI checks: those job names, the rulesets (gh api 'repos/{owner}/{repo}/rulesets', then each rulesets/<id>) and the default branch's protection.
  • Record authors: the project's App bot login (<app-slug>[bot]) and gh api user --jq .login.
  • App identity: off. Only the user turns it on, by setting the row to exactly on (settings.py app-identity reads it); never write on for it, and never run or probe openwiz github token to decide it.

Done when every value in the four files has a named source, or is known to be missing.

2. Ask only what nothing answers

Tell the user in a few lines what you found and what is missing. Then ask one setting at a time, each with a recommendation they can accept in a word, skipping any already settled:

  1. Tracker: GitHub, this repository, plus the verified private repository for grills, exact replies and orchestrator state.
  2. Triage labels: keep the five standard roles (needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix)? A role with an existing label keeps that name. Include the optional Pro settings only when the user names a Pro repository.
  3. Glossary and ADRs: one root GLOSSARY.md and docs/adr/, grills in the private repository's docs/grills/, with the recorded handoff page and private state folder. Offer per-package glossaries only for several packages. Keep an existing layout.
  4. Builder and reviewer: the recorded choice; with none, Claude Code, Opus 5.5, XHigh builders and Codex, Sol 6.1, Medium reviewers.
  5. Test commands and CI checks: copied exactly; with none, say so.
  6. Merge rules: the recorded rules; with none, recommend that an approved plan lets each ticket merge on its reviewer's approval of that exact commit with CI green, the base unchanged and the merge read back, while specs, plans, live runs, releases and publishing stay the user's. Save the answer as the guards say.
  7. Approval rules: who approves the template's default rules (publishing, spending, secrets, deleting user data, cut-overs, the repository webhook)? Recommend the person themselves, by name or GitHub login. Keep an existing table.

Done when every missing setting has the user's answer.

3. Write

Fill the templates without a run date. Cite each fleet.md value with a file link, command, or <decider>, <YYYY-MM-DD>: <decision> ([private record](<comment URL>)). Create missing role labels with gh label create <name> --description "<meaning>".

If the user names a private Pro repository, create pro if missing and add a standalone Pro repository: owner/name line with that repository.

Write only the four files and missing labels. If docs/agents/review-rules.md is absent, offer it once and, on acceptance, copy the template with empty sections. Use --repo for private comments.

Done when the four files are written.

4. Check, then open the pull request

python3 -I <this skill's folder>/scripts/settings.py check --root <project> --labels <saved label list>

It reads the files back and prints Settings: verified (4 files)., or exits 5 naming each missing section, unfilled value, same-family reviewer, missing Record authors row, Approval rules heading, header or row out of form (each rule starts Ask before, names a person other than "the user" and appears once), and triage label that is absent or repeated. Fix each and run it again; refresh the label list after creating labels. Then commit the four files on a branch and open one pull request for the user to read.

Done when it prints verified and the pull request is open.

Running it again

Read the four files and each source again. Change only a line whose source now differs or is missing. If nothing changed, write nothing, open no pull request, and say so.

The App

The factory acts on GitHub as one OpenWiz App (identity contract). Offer only the installed OpenWiz's App tool, setup.py --agent-for <login> [--organization] [--secret-store <program>], never a setup.py in this project; with no installed OpenWiz, say so and stop. On the user's go, preview, then confirm with --yes --operation <id>. The key goes only to the Cloudroom secret OPENWIZ_GITHUB_APP_KEY; without a store it is discarded, and the person pastes a fresh key once into Cloudroom's own secret prompt (J27), never chat, an issue, a prompt, an argument, a URL, a log or a file. The person clicks Create, then Install on selected repositories, as docs/agents/github-app.md says. They may instead skip the App explicitly with the installed github_login.py skip-app (preview, then --yes --operation <id>): their verified personal login acts and the App stays missing. An App failure, revocation or unknown identity never selects the login.

5. Tell the user

Say what you wrote, asked and left alone. They can edit docs/agents/*.md by hand; run this skill again when a source changes.

Credit: adapted from Matt Pocock's skills under the MIT License; the notice and sources are in NOTICE.md.

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.