oss-hygiene

Scaffold community health files, security workflows, and Dependabot configuration for GitHub repositories.

1|Updated May 8, 2026
One-click install
npx skills add https://github.com/paulnsorensen/skillz-that-grillz --skill oss-hygiene
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oss-hygiene
Source: https://github.com/paulnsorensen/skillz-that-grillz/tree/main/skills/oss-hygiene
Command: npx skills add https://github.com/paulnsorensen/skillz-that-grillz --skill oss-hygiene

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) and references (resource) components.

What problem does it solve?

oss-hygiene brings a public GitHub repository up to baseline community and supply-chain standards by scaffolding missing community health files, enabling key security workflow assets, and performing a safety audit of existing workflows so contributors and reviewers have clear guidance and automated checks.

Core Features & Use Cases

  • Community Standards scaffolding: Adds Contributor Covenant code of conduct, contributing, security policy, issue templates (forms), and a PR template, while surfacing gaps like missing or project-specific license without silently generating one.
  • OpenSSF Scorecard supply-chain posture: Writes Dependabot version-update configuration, dependency review and CodeQL workflows when applicable, and provides badge registration guidance by reading the README and printing the correct registration snippet.
  • Security hardening via read-only audit: Detects risky GitHub Actions patterns including missing or overbroad permissions: (Token-Permissions) and dangerous pull_request_target + checkout behavior (Dangerous-Workflow), then reports findings without auto-editing.

Quick Start

Run oss-hygiene on your public repo by telling your AI harness: "Set up OSS hygiene for the GitHub repository at https://github.com/<owner>/<repo>, using safe defaults and asking before overwriting any existing community files."

Frequently Asked Questions about oss-hygiene

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make a public GitHub repository ready for open source contributors?

Scaffolding missing community health files, security workflows, and Dependabot configuration makes a public GitHub repository ready for open source contributors. Auditing existing workflows for risky permissions ensures safe collaboration and supply-chain hygiene prior to project announcements.

What is OpenSSF Scorecard supply-chain posture and how do I improve it?

OpenSSF Scorecard supply-chain posture evaluates repository security practices and improves by writing Dependabot version-update configurations, enabling dependency review and CodeQL workflows, and registering the scorecard badge in your README to signal baseline compliance.

How do I set up CodeQL and Dependabot for a new public repository?

Conditionally scaffold CodeQL and Dependabot workflows based on detected CodeQL-supported languages and repository visibility to set up automated dependency version updates and code security analysis for a public repository.

How can I detect dangerous GitHub Actions workflows with pull_request_target?

Detect dangerous GitHub Actions workflows by performing a safe read-only audit for dangerous pull_request_target and checkout behavior, which identifies risky patterns and overbroad permissions without auto-editing existing workflows.

Does the community standards scaffolding generate a license for my repository?

Community standards scaffolding does not generate a license for your repository, but rather surfaces gaps like a missing or project-specific license while adding contributing guidelines, security policies, and issue templates.

Can I overwrite existing community files when applying open source hygiene defaults?

Applying open source hygiene defaults uses idempotent diffs against provided templates and asks before overwriting any existing community files, ensuring safe configuration without destroying custom policies or templates.