github
Skill0 starsChanged 4 months agoApache-2.0View on GitHub
Institute GitHub repository state — visibility and exposure, metadata and settings convergence through the bot, issues and the org project board, release gates and tagging authorization, Swift Package Index listing, social preview cards, and package fork heritage. Apply when a repository setting or visibility changes, when work is filed or tracked, or when a package is tagged, published, listed, forked, or made public. Workflow files and CI behavior belong to the ci-cd skill.
96 other projects use a version of this.
Adopted by
Most recently taken up by
- NousResearch/hermes-agenttheir own version, first seen Nov 13, 2026
- rakaarwaky/agents-arwakytheir own version, first seen Oct 6, 2026
- AceDataCloud/Skillstheir own version, first seen Oct 5, 2026
- andeeplus/aplustheir own version, first seen Oct 4, 2026
- TraX22/HydraOps-Skillstheir own version, first seen Oct 2, 2026
- philtzjp/skillstheir own version, first seen Sep 30, 2026
Used with
Projects with it also use gifgrep, goplaces 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.
seedprodSkillgifgrep
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.
Also in 8 projects that use this
seedprodSkillgoplaces
Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.
Also in 6 projects that use this
- +10 more from seedprod
Other versions96 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 96
- NousResearch/hermes-agent★ 267ksame name
- Dimillian/Skills★ 4ksame name
- wanikua/danghuangshang★ 2.7ksame name
- vercel-labs/emulate★ 1.9ksame name
- kostja94/marketing-skills★ 1ksame name
- swarmclawai/swarmclaw★ 690same name
- notque/vexjoy-agent★ 424same name
- suitedaces/dorabot★ 245same name
- refly-ai/refly-skills★ 203same name
- NVIDIA/OpenShell-Community★ 194same name
86 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- architectureSkill
- ci-cdSkill
- compositionSkill
- decompositionSkill
- documentationSkill
- instituteSkill
- reviewSkill
- swiftSkill
- testingSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 86 edited versions we read keep these.
5
Distinctive
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
- could be automatic: a setting could enforce it
- Very specific: line 54
Commit with explicit pathspecs (git commit -- <paths>), re-read git diff --cached --name-only immediately before committing, and prove …
- Distinctive: line 56
Never git add -A; never stash another actor's work.
- Distinctive: line 64
After staging and before committing, use both guards below.
- Very specific: line 81
Run git log --oneline origin/main..HEAD before every push, habitual ones included.
- Distinctive: line 110
Every actionable human work item has exactly one live technical work object: an Issue in the repository that exactly owns the work.
- Very specific: line 122
Every technical issue is filed through a form propagated from swift-institute/.github: bug.yml for unexpected behaviour in Institute code, …
- Distinctive: line 209
Keep them off Project and never hand-close them.
- Distinctive: line 213
Do not put volatile counts, copied rulings, live field inventories, or other programme facts in a description.
“Common” is measured: kept by at least 6 in 10 of the 86 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.
Files
GitHub
GitHub is an Institute control plane. Resolve live state before writing to it, and route
cross-repository convergence through swift-institute-bot rather than by hand.
Route package behavior separately from Institute control-plane integration
The repository that owns a reusable package owns its portable functionality: formats,
reporters, rule execution, and autofix mechanics. Institute-specific workflow wiring,
GitHub mutations, Issue and Project admission, bot identity and permissions, rate-limit
policy, and cross-repository control-plane automation belong to swift-institute/.github.
A tool being consumed by CI does not make it the owner of the Institute integration around
that tool. If a proposal mixes these concerns, split it into exact-owner work items and
cross-link them.
Workflow structure and CI behavior remain governed by the CI/CD skill; this skill owns the GitHub control-plane boundary and its mutations.
Visibility and exposure
Visibility is a fact to resolve, never an assumption:
gh api repos/<owner>/<repo> --jq .visibilityResolve it through an authenticated REST read before writing to a repository. It costs a second, and it is the only thing standing between a private-repository internal and a public commit.
What must never reach a public repository: machine paths, private-repository internals, credentials, and control-plane secrets. Whether a given payload contains one of those is a judgment — but the check around it is not, so make the check unconditional. Before a payload crosses the machine boundary, scan all of it — commit messages, diffs, code comments — against freshly resolved visibility, and state which categories you searched. A scan whose scope is unstated is not evidence of anything. Read every hit; a high false-positive rate is a reason to read faster, not a reason to stop. Report any neighbouring exposure you decline to touch.
A pushed exposure is not undone by deleting the repository, branch, or commit. Treat it as a credential-rotation and disclosure event.
Visibility flips, tags, releases, archival, and destructive operations each need principal approval, and force-pushing needs explicit per-action authorization.
Shared checkouts
Other sessions work in the same trees. Never checkout, restore, reset, stash, clean, or delete over existing, dirty, untracked, or local-only work — stop and ask.
Commit with explicit pathspecs (git commit -- <paths>), re-read git diff --cached
--name-only immediately before committing, and prove isolation with git show --stat after.
Never git add -A; never stash another actor's work.
The --name-only read-back is necessary and not sufficient. It answers "is this path in
the commit?" The question that matters is "does the committed blob match my intended working
tree?" Those differ for renamed-then-edited files because git mv stages the rename and later
content edits are not staged. They also differ for a newly created file, because an untracked
path appears in neither git diff --quiet nor the staged-path read-back.
After staging and before committing, use both guards below. git diff --quiet detects tracked
content left unstaged. The status read detects untracked paths; account for every untracked path
inside the intended scope without staging another actor's work. Then verify against the committed
tree, never the worktree:
git diff --quiet || git diff --name-only # no tracked content left unstaged
git status --short --untracked-files=all # account for intended untracked paths
git diff --cached --name-only # only intended paths are staged
git show HEAD:<path> # the blob that actually shipped
git grep -n '<old-token>' HEAD -- . # plus a positive controlA local build, test run and lint pass can all be green against a correct working tree while the commit is wrong. No amount of pre-commit testing detects this; only reading the committed tree does.
Run git log --oneline origin/main..HEAD before every push, habitual ones included. A push is
a decision about every unpushed commit on the branch, not only about the one you just made.
Repository metadata and settings
Authored metadata lives in .github/metadata.yaml; GitHub-side state is a derived view.
Convergence runs through the bot, not a hand-run gh repo edit, and a nightly cron (04:00
UTC) reapplies rule defaults across every non-archived repository in every org.
gh workflow run sync-metadata.yml -R swift-institute/.github -f repo=<owner>/<repo> # add -f dry-run=true to plan- Silence in the
settings:block means "apply the rule default", not "leave whatever is on GitHub". A divergent live value is reverted. - A settings key the schema declares but the sync workflow never reads is a silent no-op — no effect, no error. Schema keys and workflow reads must stay in exact correspondence, and that correspondence is checkable by reading the two side by side; nothing checks it for you.
- The gear-icon "About" sidebar toggles (Releases, Packages, Deployments) are exposed by no
API. The
sidebar:block records intent, and enforcement is a manual click-through per repository. Secret scanning likewise has nogh repo editsurface — PATCHsecurity_and_analysisviagh api repos/{owner}/{repo}, public repositories only. - Discussions default to disabled fleet-wide. A repository meant to host them
(
swift-institute/.githubis the hub) declaressettings.hasDiscussionsEnabled: truein its own metadata.yaml, or the nightly cron wipes the toggle and its categories. Resolve discussion categories by slug at runtime, never by ID.
Issues and tracking
Every actionable human work item has exactly one live technical work object: an Issue in the repository that exactly owns the work. The Issue is the sole authority for the problem and observable outcome, classification (org-scoped issue type), assignees, native hierarchy and dependencies, discussion and history, linked implementation, open or closed state and close reason, and completion or cancellation. Do not copy any of those facts into another work record.
institute-application Issues own only technical work whose exact owner is
institute-application, and the same holds for each of the other institute-* repositories.
swift-institute/Issues owns only isolated Swift compiler or toolchain reproducers and
maintenance of that repository — a reproducer goes there even when the defect surfaced while
working elsewhere. Neither repository is a central programme register.
Every technical issue is filed through a form propagated from swift-institute/.github:
bug.yml for unexpected behaviour in Institute code, change.yml for a concrete actionable
proposed outcome, documentation.yml for documentation defects and gaps. Change template
content in swift-institute/.github, never per-repository. Open-ended questions and early
design work go to https://github.com/orgs/swift-institute/discussions instead.
An actionable issue needs a stated problem and an observable proposed outcome. An implementation sketch alone does not satisfy the form — it says what to do without saying how anyone would know it worked.
A security-sensitive finding never appears in a public draft or a public issue. Characterize it first, then route it to a private destination.
Set an issue type on every issue. Technical exact-owner work uses Task, Bug, or Feature.
An Institute-level observable outcome is a Goal Issue in swift-institute/.github; give each
Goal its own public capable assessment before programme admission. Filing and assessing a Goal
do not assign it, create technical children, authorize execution, or admit it to the Project.
Labels carry no Institute meaning on human-filed work — do not encode routing, priority,
ownership, or programme state in one. They are not all stock defaults:
the sweep workflows label their bot-filed divergence reports to name which sweep filed them,
so swift-institute/.github carries six minted labels beside the nine GitHub ships. A sweep
that keys control flow off such a label fails silently when the label is absent — one searched
--label for a label that had never been created, so its close-when-clean path could not fire
even on a clean fleet. Match the issue title instead.
Programme admission and programme priority live on one org-level Project, Institute Work,
https://github.com/orgs/swift-institute/projects/2.
gh issue create -R <owner>/<repo> # form-driven; no blank issues
gh project item-add 2 --owner swift-institute --url <issue-url>An actionable Issue's one authoritative Project membership edge, created at an explicit
admission decision, is its sole programme admission fact. One Project-only Priority is its
sole programme priority fact. Membership and Priority are the only Project-owned facts. Copies
of either fact are forbidden in labels, milestones, Issue bodies, and other Projects. All other
Project columns are live views of Issue facts, never copied stores.
Assessment and admission are distinct. An assessed Goal stays off Project until a separate admission decision creates its membership and Priority. An off-Project Goal is therefore absent from Project views by design; report its Issue URL and disposition directly rather than implying that no Goal exists.
Issue open or closed state plus close reason is the sole completion state. Keep built-in
Status unset: there is no Project Done, Cancelled, or Blocked mirror. Do not add Phase.
A Closes #N trailer in a commit pushed directly to the default branch closes the Issue at
push time, before any CI run at that commit concludes (observed repeatedly, 2026-07-30).
Where an Issue's stated outcome requires green CI evidence, land with a plain commit message
and close only in a post-green action with the run link; a trailer-closed Issue whose run
then fails is reopened with the evidence, not left closed.
The open Programme view derives from is:issue is:open; Active work derives from open Issues
with assignees; and programme history remains visible in a Done view derived from
is:issue is:closed reason:completed. Do not copy these Issue facts into Project fields.
Assignment is written at dispatch (ruling on swift-institute/.github#68, 2026-07-30): the
coordinator assigns the principal identity when work on an admitted Issue is dispatched — to a
fleet agent or to itself — and removes it if work stops without closing the Issue. An open
Issue's assignee therefore asserts "in flight now", not eventual responsibility; closing the
Issue is the only completion cleanup the view needs. The report-only reconciler lists assigned
open rows each run so a stale in-flight claim stays observable.
Structure is written at filing the same way (ruling on swift-institute/.github#68,
2026-07-30): an exact-owner Issue filed in execution of a Goal is attached to that Goal as a
native sub-issue when it is created, so Sub-issues progress stays a truthful live view.
Linking asserts the work belongs to the Goal's outcome, not that the Goal is activated.
Sub-issue mutation is GraphQL-only; route it through the reserved GraphQL mutation path.
A genuine completed exact-owner Issue remains a Project row: completion ends the work, not its programme membership or history. A superseded, stale, duplicate, or routing predecessor closed as not planned has no Project row. Removal of those rows is authority cleanup, not a second completion signal. Inspect Project fields and item values live when operating on them; do not freeze their inventory, options, or implementation-time availability in doctrine.
Draft Project items are ephemeral intake. Convert an accepted draft to its exact-owner Issue before it becomes actionable, and never retain both. Pull requests are never Project rows; they are linked implementation for the Issue.
Each programme item belongs to exactly one authoritative Project. Multiple Projects are permitted only when deterministic, non-overlapping governance, access, or lifecycle scopes give every item exactly one home. Never create mirrored portfolio views, overlapping memberships, or fields that must synchronize across Projects. Per-repository Projects remain disabled unless such a scope has principal approval.
Issues opened by swift-institute-bot report machine-detected convergence or divergence.
Keep them off Project and never hand-close them; their owning workflow closes them when the
reported state converges.
Project descriptions contain the stable authority contract and links to canonical doctrine. Do not put volatile counts, copied rulings, live field inventories, or other programme facts in a description.
Durable coordinates in comments and records
A comment or record that references another repository, issue, commit, or person cites a durable coordinate — a commit-SHA permalink, a canonical URL, or a container-scoped issue number — paired with a display-name gloss, never a bare display name alone. Comments are never edited, so a bare name that later renames or moves is a defect with no cheap fix; a durable coordinate carries the reference through the rename. (Added per https://github.com/swift-institute/.github/issues/126, 2026-07-30.)
Social preview cards
GitHub exposes no API for a repository's social preview image. The only path is browser session-cookie automation, and that cookie is password-equivalent — so it must never live in CI secrets. Deployment is local-only, from a maintainer's machine, using their existing browser session.
Custom cards are gated to public repositories: on a private repository the Settings → Social preview element does not render and the uploader times out on its selector, so a card cannot be prepared ahead of publication. Do not flip a repository public in order to deploy its card — the card is part of a publication happening for its own reasons.
An upload is not complete when its response returns. The image id is set before the storage
write lands, so a card verified too early serves a stale og:image. Verify that the public
page's og:image returns 200 with bytes matching the local render. After changing any layout
constant, render the whole cohort and look at the images — count-only metrics miss clipping.
Elsewhere
- Tagging, publication, and Swift Package Index submission — release-gates.md.
- Fork heritage, transfers, and attribution — package-heritage.md.
- Workflow files and CI behavior — the
ci-cdskill.
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
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.

