openssf-conventions
Skill7 starsChanged 4 days agoMITView on GitHub
OpenSSF best practices for a public repository: the Best Practices badge, `.bestpractices.json`, which skill answers each Scorecard check, and the checks left low on purpose. TRIGGER when: a repository is or becomes public; creating or editing `.bestpractices.json`; user asks about OpenSSF, the OpenSSF Best Practices badge (bestpractices.dev, formerly CII), a Scorecard score or finding, or how to raise either. SKIP when: the repository is private; editing the `scorecard` workflow itself (`github-actions-conventions`).
1 other project uses a version of this.
Adopted by
Most recently taken up by
- leroyguillaume/skillsword for word, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 1
- leroyguillaume/skills★ 7100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository54 other files it gives its agents.
- adr-conventionsSkill
- api-conventionsSkill
- architecture-conventionsSkill
- argocd-conventionsSkill
- ci-conventionsSkill
- config-conventionsSkill
- contributing-conventionsSkill
- councilSkill
- cryptography-conventionsSkill
- dependency-update-conventionsSkill
- diagram-conventionsSkill
- docker-conventionsSkill
- documentation-conventionsSkill
- frontend-conventionsSkill
- github-actions-conventionsSkill
- github-issue-conventionsSkill
- github-pr-conventionsSkill
- github-repo-settingsSkill
- gitlab-ci-conventionsSkill
- helm-conventionsSkill
- herdr-core-delegationSkill
- herdr-delegationSkill
- herdr-tui-delegationSkill
- kopf-conventionsSkill
- kubernetes-operator-conventionsSkill
- logging-conventionsSkill
- logo-conventionsSkill
- mise-conventionsSkill
- ollama-conventionsSkill
- pr-conventionsSkill
- pre-commit-conventionsSkill
- project-metadata-conventionsSkill
- python-async-conventionsSkill
- python-conventionsSkill
- readme-conventionsSkill
- release-script-conventionsSkill
- release-supply-chain-conventionsSkill
- renovate-ci-conventionsSkill
- rest-conventionsSkill
- rust-build-conventionsSkill
- rust-conventionsSkill
- rust-http-conventionsSkill
- security-policy-conventionsSkill
- signal-handling-conventionsSkill
- sql-conventionsSkill
- starlight-conventionsSkill
- systemd-conventionsSkill
- system-user-conventionsSkill
- task-conventionsSkill
- terraform-conventionsSkill
- topic-splittingSkill
- ui-copy-conventionsSkill
- web-layout-conventionsSkill
- yaml-conventionsSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 73
Every public repository aims at the passing level.
- Distinctive: line 128
Never before the project exists: a badge for an unregistered project is a broken image.
- Distinctive: line 133
Never apply OpenSSF checks or the badge to a private repository.
- Distinctive: line 134
Never game a check that measures people: no bot approval, no second account, no commit made to look active.
- Very specific: line 136
Never mark a criterion Met in .bestpractices.json that the repository does not prove, or one about what a person knows or does.
- Distinctive: line 138
Never add the badge before the project is registered.
≈ “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.
Files
OpenSSF conventions
A public repository is measured against two OpenSSF yardsticks: Scorecard, which grades it automatically every week, and the Best Practices badge, which its maintainer self-certifies. Both mostly measure practices other skills already set. This skill routes each check to that skill, and covers the badge itself.
Scope
Public repositories only. A private repository runs no Scorecard
(github-actions-conventions) and applies for no badge: nobody outside can
read either result.
The badge requires a FLOSS licence. A public repository the user has left
unlicensed cannot earn it: say so, never pick the licence for them
(readme-conventions).
Where each Scorecard check is handled
| Check | Home |
| Binary-Artifacts, CI-Tests | ci-conventions |
| Branch-Protection, SAST, Webhooks | github-repo-settings |
| CII-Best-Practices | below |
| Dangerous-Workflow, Token-Permissions | github-actions-conventions |
| Pinned-Dependencies | github-actions-conventions, ci-conventions, docker-conventions, pre-commit-conventions |
| Dependency-Update-Tool, Vulnerabilities | dependency-update-conventions, ci-conventions |
| License | readme-conventions |
| Packaging, Signed-Releases, SBOM | release-supply-chain-conventions |
| Security-Policy | security-policy-conventions |
| Code-Review, Contributors, Maintained, Fuzzing | left low on purpose |
A finding is fixed in the skill that owns it, and in the repository. A check missing from this table is new: read its entry in Scorecard's documentation and give it a home in the skill that owns the subject.
Checks left low on purpose
Some checks measure the people around a project, not its files. A project with one maintainer scores low on them, and that is accepted, not worked around:
- Code-Review, and the review tiers of Branch-Protection: a maintainer
cannot approve their own pull request, hence 0 required approvals
(
github-repo-settings). Never add a bot approval or a second account to lift the score: Scorecard ignores bot reviews, and a sock puppet defeats what review is for. - Contributors and Maintained count organisations and recent activity. No commit is made to look active.
- Fuzzing, only on the user's ask. A fuzz harness pays off on a parser of untrusted input, and Scorecard only recognises OSS-Fuzz, ClusterFuzzLite, Go's native fuzzing and a few property-testing libraries.
The Best Practices badge
Every public repository aims at the passing level. Silver and gold add requirements on governance and on the people (two-person review, a bus factor of two, unassociated contributors): only on the user's ask.
Registering is the user's step
The badge entry belongs to whoever certifies it: the user signs in at
https://www.bestpractices.dev with their GitHub account and adds the
repository. Check first whether it is registered; a 301 names the project
id in its redirect, a 404 means it is not:
curl -sS -o /dev/null -w '%{http_code} %{redirect_url}\n' 'https://www.bestpractices.dev/en/projects.json?as=badge&url=https%3A%2F%2Fgithub.com%2F<owner>%2F<repo>'.bestpractices.json proposes the answers
The badge app reads a .bestpractices.json at the repository root and
proposes its answers in the form. Write it from the
passing criteria as they read
today, never from memory: a <criterion>_status (Met, Unmet or N/A)
and a <criterion>_justification naming the file that proves it, by URL.
{
"contribution_status": "Met",
"contribution_justification": "The contribution process is in https://github.com/<owner>/<repo>/blob/main/CONTRIBUTING.md",
"vulnerability_report_process_status": "Met",
"vulnerability_report_process_justification": "https://github.com/<owner>/<repo>/blob/main/SECURITY.md"
}- Only what the repository proves. A criterion about what people know
or do (
know_secure_design,know_common_errors,report_responses,vulnerability_report_response,maintained) stays out of the file: the user answers it in the form. An agent never certifies a person. - It stays true. A change that breaks a claim (drops the test suite,
moves
SECURITY.md) updates the file in the same change. After a change, the user re-runs the proposals with the form's "Save (and continue) 🤖". - The criteria's non-obvious homes:
release_notes_vulnsispr-conventionsanddependency-update-conventions,report_processiscontributing-conventions,vulnerability_report_responseissecurity-policy-conventions, thecrypto_*criteria arecryptography-conventions, andstatic_analysisis met by the linters inpre-commitplus CodeQL (github-repo-settings).
The badge in the README
Once the project has an id, its badge joins Scorecard's on the README's
badge line (readme-conventions):
[](https://www.bestpractices.dev/projects/<id>)Never before the project exists: a badge for an unregistered project is a broken image.
Never
- Never apply OpenSSF checks or the badge to a private repository.
- Never game a check that measures people: no bot approval, no second account, no commit made to look active.
- Never mark a criterion
Metin.bestpractices.jsonthat the repository does not prove, or one about what a person knows or does. - Never add the badge before the project is registered.
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.

