New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Enterprise-grade assessment that scores projects against OpenSSF, SLSA, and supply chain security criteria.

GitHub stars
92
View on GitHub

What it does

  • Adds /audit and /slsa commands plus the enterprise-readiness skill for production and enterprise readiness reviews
  • Covers SLSA provenance, artifact signing with cosign, SBOM generation, dependency scanning, and quality gates
  • Guides a progression from OpenSSF Best Practices Passing to Silver and Gold, with per-platform checks and dynamic scoring
  • Designed for teams hardening CI/CD pipelines across GitHub, Go, PHP, and Node projects

Assess and enhance software projects for enterprise-grade security, quality, and automation. Includes supply chain security (SLSA, signing, SBOMs), quality gates, and platform-specific hardening with dynamic scoring.

Add marketplace

/plugin marketplace add netresearch/claude-code-marketplace

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install enterprise-readiness@netresearch-claude-code-marketplace

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

Enterprise Readiness Assessment

Production/enterprise tier only — see references/tier-framing.md.

When to Use

  • Production/enterprise readiness evaluations
  • Supply chain security: SLSA provenance, cosign signing, SBOMs
  • CI/CD hardening, workflow permissions
  • OpenSSF Best Practices (Passing/Silver/Gold), OSPS Baseline (L1/2/3)
  • Scorecard optimization (Token-Permissions, Branch-Protection, Pinned-Deps)
  • Code review, ADRs, changelogs, SECURITY.md

Assessment Workflow

  1. Discovery: Identify platform, languages, existing CI/CD, dependabot.yml; check the required root .bestpractices.json for maintained public projects (scope and validation: references/bestpractices-json.md, ER-74/ER-75).
  2. Scoring: Apply checklists; check Scorecard, badge criteria, coverage
  3. Gap Analysis: List missing controls by severity
  4. Implementation: Apply fixes (SHA-pin actions, harden permissions, add workflows)
  5. Verification: Re-score and compare

Mandatory Workflows & Badges

Required coverage: CI, CodeQL, Scorecard, dependency review, composer audit, SBOM — as dedicated workflows or jobs calling the netresearch reusable. Badges: CI, Codecov, Scorecard, Best Practices, Baseline. See references/badges-and-workflows.md.

Maintained public projects MUST include an evidence-backed .bestpractices.json at the repository root, even before badge registration. Create or refresh it from the project's own evidence; omit unknowns. The file proposes answers and does not register a project, save the questionnaire or award a badge. See references/bestpractices-json.md.

Key Hardening Patterns

  • Permissions: Declare permissions: contents: read at workflow-level; grant write only per-job
  • SHA pinning: Third-party actions pinned to SHA with version comment (# v4.2.0). Org-internal reusable workflows use @main
  • Harden-Runner: step-security/harden-runner as first step in every job; prefer egress-policy: block with allowed-endpoints
  • Dependabot: Configure dependabot.yml with all ecosystems (composer, npm, github-actions, docker); set up auto-merge workflow for dependency PRs using pull_request_target
  • Coverage: Upload via codecov-action; configure codecov.yml with patch coverage threshold
  • Duplicate CI prevention: Scope push: trigger to branches: [main] when pull_request: is also present
  • SLSA provenance: Use actions/attest-build-provenance with id-token: write and attestations: write permissions; verify with gh attestation verify. That is Level 2 in the project's own workflow; Level 3 needs checkout, build and attestation all inside one org reusable the project cannot edit — see references/slsa-provenance.md
  • Security policy: Create SECURITY.md with vulnerability disclosure process and response SLA (Critical: 7 days, High: 30 days)

Critical Rules

  • NEVER interpolate ${{ github.event.* }} or ${{ inputs.* }} in run: blocks (script injection)
  • NEVER guess action versions -- fetch from GitHub API and verify SHA against tags
  • ALWAYS include https:// URLs in badge justifications
  • ALWAYS configure auto-merge for repos with Dependabot/Renovate

References

ReferenceUse
references/general.mdAlways
references/scorecard-playbook.mdScorecard optimization
references/badges-and-workflows.mdBadge URLs, workflows
references/mandatory-requirements.mdChecklist
references/ci-patterns.mdCI/CD, hooks
references/code-review.mdPR quality and verification claims
references/slsa-provenance.mdSLSA Level 3
references/signed-releases.mdCosign/GPG
references/openssf-badge-silver.mdSilver
references/openssf-badge-gold.mdGold
references/openssf-badge-baseline.mdOSPS Baseline
references/bestpractices-json.md.bestpractices.json: pre-fill badge answers from the repo
references/harden-runner-guide.mdHarden-Runner
references/solo-maintainer-guide.mdSolo-maintainer criteria
references/npm-pnpm-supply-chain.mdpnpm, npm ci, npx, lockfile, Node tooling in a CI job (Sonar S8543/S6505, CodeQL path-injection)
references/python-pip-supply-chain.mdpip

Related skills: go-development, github-project, security-audit, git-workflow.

Readme

Enterprise Readiness Skill

Netresearch AI skill for assessing and enhancing software projects to meet enterprise-grade standards for security, quality, and automation.

🔌 Compatibility

This is an Agent Skill following the open standard originally developed by Anthropic and released for cross-platform use.

Supported Platforms:

  • ✅ Claude Code (Anthropic)
  • ✅ Cursor
  • ✅ GitHub Copilot
  • ✅ Other skills-compatible AI agents

Skills are portable packages of procedural knowledge that work across any AI agent supporting the Agent Skills specification.

Features

  • OpenSSF Framework Alignment - Complete coverage across Scorecard, Best Practices Badge (Passing/Silver/Gold), SLSA, and S2C2F
  • Dynamic Scoring - Fair cross-stack assessment with platform/language-specific criteria
  • Supply Chain Security - SLSA provenance, artifact signing, SBOM generation, dependency scanning
  • Quality Gates - Testing layers, coverage thresholds, static analysis, secret scanning
  • Automation Scripts - Ready-to-use scripts for security hardening and compliance checks
  • Badge Progression - Guided path from Passing → Silver → Gold certification

Installation

Marketplace (Recommended)

Add the Netresearch marketplace once, then browse and install skills:

# Claude Code
/plugin marketplace add netresearch/claude-code-marketplace
/plugin install enterprise-readiness@netresearch-claude-code-marketplace

Without a marketplace

Since Claude Code 2.1.157 a plugin directory under your personal skills directory loads on its own, including the commands this repo ships:

mkdir -p ~/.claude/skills
git clone https://github.com/netresearch/enterprise-readiness-skill.git \
  ~/.claude/skills/enterprise-readiness

It loads as enterprise-readiness@skills-dir on the next session. Update with git -C ~/.claude/skills/enterprise-readiness pull and start a new session; remove it by deleting the directory. This route has no claude plugin update.

npx (skills.sh)

Install with any Agent Skills-compatible agent:

npx skills add https://github.com/netresearch/enterprise-readiness-skill --skill enterprise-readiness

Limitation: npx skills installs SKILL.md-based skills only. This repo also ships commands, which it does not install — use the marketplace or the skills directory for those.

Download Release

Download the latest release and extract to your agent's skills directory.

Git Clone

git clone https://github.com/netresearch/enterprise-readiness-skill.git

Composer (PHP Projects)

composer require netresearch/enterprise-readiness-skill

Requires netresearch/composer-agent-skill-plugin.

npm (Node Projects)

npm install --save-dev \
  @netresearch/agent-skill-coordinator \
  github:netresearch/enterprise-readiness-skill

Requires @netresearch/agent-skill-coordinator, which discovers the skill in node_modules and registers it in AGENTS.md via a postinstall hook. For pnpm, also allowlist the coordinator's postinstall:

{
  "pnpm": {
    "onlyBuiltDependencies": ["@netresearch/agent-skill-coordinator"]
  }
}

Usage

The skill triggers on keywords like:

  • "enterprise readiness", "production ready"
  • "OpenSSF", "security scorecard", "best practices badge"
  • "SLSA", "supply chain security", "SBOM"
  • "quality gates", "CI/CD hardening"

Example Prompts

"Assess this project for enterprise readiness"
"What's needed for OpenSSF Best Practices Silver badge?"
"Help me reach SLSA Level 2"
"Set up supply chain security for this Go project"

Structure

enterprise-readiness-skill/
├── skills/enterprise-readiness/
│   ├── SKILL.md                 # AI instructions
│   ├── checkpoints.yaml         # Assessment checkpoints
│   ├── evals/evals.json         # Evaluation cases
│   ├── references/              # OpenSSF criteria, guides, playbooks
│   │   ├── general.md           # Universal checks
│   │   ├── github.md            # GitHub-specific checks
│   │   ├── go.md                # Go-specific checks
│   │   ├── openssf-badge-silver.md
│   │   ├── openssf-badge-gold.md
│   │   └── …
│   └── scripts/                 # check-*.sh, verify-*.sh, add-spdx-headers.sh,
│                                # analyze-bus-factor.sh, submit-badges.py
├── assets/
│   ├── templates/               # Governance, roadmap, architecture, CoC, audit, badge-exception templates
│   └── workflows/               # CodeQL, Scorecard, SLSA, dependency review, DCO workflows
├── commands/                    # /audit and /slsa slash commands
├── outputStyles/                # Report output style
├── tests/                       # Behaviour tests for the scripts
├── docs/                        # Architecture, security assurance case, execution plans
├── README.md                    # This file
├── LICENSE-MIT                  # Code license (MIT)
├── LICENSE-CC-BY-SA-4.0         # Content license (CC-BY-SA-4.0)
├── composer.json                # Composer distribution
└── package.json                 # npm distribution

Contributing

Contributions welcome! Please submit PRs for:

  • Additional platform support (GitLab, Bitbucket)
  • New language-specific checks
  • Script improvements
  • Documentation updates

Development and tests

Every script under skills/enterprise-readiness/scripts/ and the version check the pre-push hook runs (Build/Scripts/check-plugin-version.sh) has a behaviour test in tests/, named after the script (tests/<script>.sh, and tests/test_submit_badges.py for submit-badges.py). The tests build fixture directories and throw-away git repositories in a temporary directory and run the real script against them, checking exit codes and output: pass and fail verdicts, thresholds, excluded directories, signed and unsigned tags, and error paths. go and gh are replaced by stubs, and submit-badges.py talks to a fake HTTP opener, so no test calls a Go toolchain, GitHub or bestpractices.dev. Shared helpers are in tests/helpers.bash.

tests/test_bestpractices_checkpoint.py also executes the actual embedded ER-74 format check against offline fixtures, including duplicate keys, ignored placeholders, pairing, UTF-8 byte limits and justification evidence. ER-75 separately checks whether a project needs the root .bestpractices.json and whether its claims are supported; a format pass does not establish an awarded badge.

The tests need bash, git, jq, make, ssh-keygen, gpg and python3. Run them from the repository root:

for t in tests/*.sh; do bash "$t" || exit 1; done
python3 -m unittest discover -s tests -p 'test_*.py'

Each shell test prints ok or FAIL per case, with the captured output of a failing case indented below it, and ends with a passed, failed tally; it exits non-zero if any case failed. The Python tests use unittest and report failures the same way. CI runs the same files on every pull request and on pushes to main (.github/workflows/tests.yml), and fails if no test file is found. The pre-commit hooks in .pre-commit-config.yaml run the linters that lint.yml runs in CI.

New or changed behaviour in a script needs a test case in tests/ in the same pull request.

Governance and policies

This repository follows the Netresearch organisation policies:

Every pull request to main runs these security checks (.github/workflows/security.yml): dependency review, Composer Audit, Opengrep (static analysis), Betterleaks (secret scanning), zizmor (workflow analysis) and CodeQL (analysis of the GitHub Actions workflows and the Python code). The only secrets this repository's workflows use are the organisation GitHub App credentials passed to the dependency auto-merge job (auto-merge-deps.yml); releases are signed with short-lived OIDC credentials (release.yml).

License

This project uses split licensing:

  • Code (scripts, workflows, configs): MIT
  • Content (skill definitions, documentation, references): CC-BY-SA-4.0

See the individual license files for full terms.

Credits

Developed and maintained by Netresearch DTT GmbH.


Made with ❤️ for Open Source by Netresearch

Details

Marketplace
netresearch/claude-code-marketplace
Source
netresearch/enterprise-readiness-skill
Category
Security
Listed since
Apr 7, 2026

More from netresearch/claude-code-marketplace

All 41

Similar to enterprise-readiness

More Security