axiomatic-induction
The project constitution AND the reasoning method. Apply it in ALL planning and execution of non-trivial work: reason like a proof system — hold the axioms…
Set a repository up so it cannot merge broken code and cannot quietly rot: continuous integration, automated dependency updates, a protected default branch, and the CI check made a required gate. Use when the user says \"/repo-hardening\", \"harden this repo\", \"set up CI\",
$ npx -y skills add gabrieldabbah/genesis --skill repo-hardening --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/repo-hardeningContext preview
The summary Claude sees to decide when to auto-load this skill.
Set a repository up so it cannot merge broken code and cannot quietly rot: continuous integration, automated dependency updates, a protected default branch, and the CI check made a required gate. Use when the user says \"/repo-hardening\", \"harden this repo\", \"set up CI\",
name: repo-hardening description: "Set a repository up so it cannot merge broken code and cannot quietly rot: continuous integration, automated dependency updates, a protected default branch, and the CI check made a required gate. Use when the user says \"/repo-hardening\", \"harden this repo\", \"set up CI\", \"protect main\", \"add branch protection\", \"enable Dependabot\", or when a project is about to become public or start deploying from its default branch. Ordering matters — a required status check can only be added after that check has run once." license: MIT allowed-tools: Bash, Read, Write, Edit
Four things, in this order. The order is not cosmetic: step 4 depends on the check from step 2 having actually run, and doing it earlier fails with a confusing error.
Assumes a repository hosted on GitHub with a default branch that deploys or releases. Adapt the mechanics for another host; the four properties are the same everywhere.
**Every step here changes settings on a hosted repository the user owns.** Propose the set, then apply on their go-ahead. Nothing in this skill is urgent enough to justify surprising someone with a changed merge policy.
Turn on the host's dependency alerts and automatic security updates, and commit a config that also opens routine (non-security) update PRs on a schedule. Group them — a weekly batch is reviewable, thirty individual PRs are not. A scaffolded project already has that config at `.github/dependabot.yml`; check its ecosystem matches the stack, and that a project with several manifests has a block per directory.
The alerts are a repository setting and the config is a file: turning on one without the other looks the same from the outside as doing both, and neither half announces the absence of the other.
Why it earns its place: a dependency advisory is the one class of problem that arrives on someone else's schedule rather than yours.
Add a workflow that runs the project's own gate on every pull request and on pushes to the default branch. A scaffolded project already has one at `.github/workflows/ci.yml`; a project that does not gets it written now, with the same properties.
**The run command comes from the project, not from a guess.** Read `CLAUDE.md` §Commands, then the manifest's scripts. Use what is actually there — the test command if the project has tests, otherwise the build, which at least catches a type or compile error. A CI job that runs nothing is worse than none, because it goes green and implies something was checked.
Pin the runtime version rather than floating it, and cache the dependency install. If there is no lockfile, use the install command that tolerates that, and say so — a `ci`-style install will fail without one.
Four properties are worth naming because each is invisible when wrong:
request, `pull_request` already covers it; adding a push trigger for that branch runs everything twice per commit. A repository that commits straight to its default branch keeps only the push line.
broader than most workflows use.
when a file last changed — a docs freshness check, a changed-files filter, a tag-derived version — needs `fetch-depth: 0` or it reads a one-commit repository dated today and answers wrongly.
**Open this as a pull request rather than pushing to the default branch.** The workflow file is on the branch, so it runs against its own PR — which is how you find out whether it passes before it can block anything. A red result here is the point: it has surfaced a real failure that was already there.
A ruleset on the default branch: restrict deletions, block force pushes, require a pull request before merging.
**Required approvals: zero, for a solo project.** Setting it to one on a repository with a single maintainer locks that person out of merging their own pull requests, with no way through except disabling the rule they just set. Set it to one when there is a second person.
Leave off, unless the project actually needs them: required reviewers, code owners, linear history, signed commits. Each adds friction that has to be paid on every change.
Only now, and only after the step-2 workflow has completed at least once — the check has to exist by name before it can be required. Add it to the ruleset, and require branches to be up to date before merging.
**The requirement names the job, so the job's name is now an interface.** Renaming it detaches the rule, which then passes on a workflow that no longer runs. Rename the two together or neither.
This is the step that converts CI from advisory to a gate: the default branch can no longer receive code that does not build or does not pass its tests.
Do not assume the settings took. Confirm:
Report what you turned on, and what remains a human step.
deploys straight to production, it ships dependency changes with nobody looking. Suggest it only once the person has watched the pipeline work for a while.
Ultimate Opus 5 builder. Genesis creates and transforms any setup into the ultimate setup for generation 5 models. Genesis turns an empty folder into a working SaaS, web app, API, or CLI, running autonomously on your machine in Claude Code.
Repo: gabrieldabbah/genesis
The project constitution AND the reasoning method. Apply it in ALL planning and execution of non-trivial work: reason like a proof system — hold the axioms…
Generate a complete pull request when the user asks to create/open a PR, fill the PR template, or mentions "/generate-pr". Fills every section of…
Build a new project from an empty folder, or bring an existing repository up to standard. Use when the user says \"/genesis\", \"start a new project\",…
Stage, write a Conventional Commits message from the actual diff, commit, and push. Use when the user asks to commit, save work to git, or mentions…
Rules for working in a repository where other Claude sessions are editing at the same time — no git writes, no process kills, strict scope, and verification…
Audit a surface for security problems, score them honestly, and turn each into a task with a fix. Use before declaring work done, after wiring an integration,…