github-essentials
Skill4 starsChanged 40 days agoMITView on GitHub
Trigger: .github setup, community health files, issue templates, PR template, CODEOWNERS, SECURITY.md, dependabot, release workflow. Bootstrap a repository's .github directory.
In this repository18 other files it gives its agents.
- api-designSkill
- changelog-maintenanceSkill
- code-mentorSkill
- create-readmeSkill
- database-designSkill
- dockerSkill
- frontend-design-anti-slopSkill
- frontend-engineeringSkill
- git-commitSkill
- java-junitSkill
- java-springbootSkill
- java-springboot-testingSkill
- latexSkill
- solution-designSkill
- ui-componentsSkill
- update-readmeSkill
- vault-tech-noteSkill
- web-mvcSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Very specific: line 14
Do not load for README authoring (create-readme), changelog upkeep (changelog-maintenance), or CI pipelines.
- Distinctive: line 18
Never write a file the user did not approve.
- Very specific: line 19
Never leave a placeholder in a written file.
- Distinctive: line 20
Never write test, lint, build, or registry-publish workflows.
- Very specific: line 21
Use issue forms (.yml), never legacy .md issue templates.
- Distinctive: line 23
Write templates in the language the repository already uses.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
Activation Contract
Load when the user asks to set up, complete, or audit a .github/ directory: issue templates, pull request template, release workflow, CODEOWNERS, SECURITY.md, or dependabot.
Do not load for README authoring (create-readme), changelog upkeep (changelog-maintenance), or CI pipelines. Only the release workflow is in scope here.
Hard Rules
- Never write a file the user did not approve. Present the plan and STOP first.
- Never leave a placeholder in a written file. Resolve
__OWNER__,__REPO__,__CODEOWNER__,__SECURITY_EMAIL__, and__PACKAGE_ECOSYSTEM__from repository evidence. If a value cannot be resolved, ask instead of guessing. - Never write test, lint, build, or registry-publish workflows. Release only.
- Use issue forms (
.yml), never legacy.mdissue templates. - The release workflow triggers on
push: tagsonly, never onworkflow_dispatchorrelease. - Write templates in the language the repository already uses; default English.
Decision Gates
| Condition | Action |
Repository already has a .github/ file | Read it and propose a merge. Never silently overwrite. |
Org-wide .github repository | Skip ISSUE_TEMPLATE/config.yml contact links: they resolve per consuming repository |
CODEOWNERS target unknown | Read git config user.email and git log -1 --format='%an'; confirm with the user before writing |
Stack undetected for dependabot.yml | Read manifests and lockfiles. If ambiguous, ask |
| User requests registry publishing | Out of scope. Report it and stop |
Execution Steps
- Inspect:
git remote get-url origin,git symbolic-ref --short refs/remotes/origin/HEAD, existing.github/, lockfiles and manifests, andgit tag --list 'v*'to infer the current version line. - Derive every placeholder value from that evidence. Mark anything unresolved as a question.
- Present the file list with each resolved value. STOP and wait for approval.
- Copy the approved files from
assets/into.github/, substituting every placeholder. - Validate with
references/validation.md: leftover placeholders, YAML parse, CODEOWNERS syntax, tag regex against the project's versioning. - Report results and the exact command that publishes the first release.
Output Contract
Return a table of every path written with its one-line purpose, the resolved values (owner, repo, codeowner, security email, ecosystem), every file skipped and why, and the commands to verify locally:
grep -rn "__[A-Z_]*__" .github/ || echo "no placeholders left"
python3 -c "import sys,yaml; [yaml.safe_load(open(f)) for f in sys.argv[1:]]" .github/*.ymlReferences
assets/— one template per.githubartifact.references/release-workflow.md— tag-driven release design and failure modes.references/validation.md— pre-delivery checklist.
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.

