bootstrap-repo-rules

Community

Automate repo validation for consistent code quality.

Authornodatall
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Setting up consistent validation (linting, testing, CI checks, etc.) for new or underconfigured repositories is time-consuming and often leads to inconsistent code quality across teams, especially when teams have to manually match tools to their repo's specific tech stack.

Core Features & Use Cases

  • Stack-Aware Tool Selection: Automatically detects the repo's languages, frameworks, package managers, and existing tooling to choose appropriate validation tools instead of forcing generic one-size-fits-all presets.
  • Full Validation Pipeline Setup: Creates or updates configuration files, adds task runner commands for lint, format-check, typecheck, test, and build, and wires CI to enforce these checks on pull requests and main branch commits.
  • Optional Local Hooks: Can add minimal pre-commit or pre-push hooks when requested to catch issues before code is pushed to remote repositories.
  • Use Case: For a new Python repo that only has a basic test script, use this Skill to automatically add Ruff for linting, pytest for testing, and GitHub Actions workflows that run all validation steps on every PR without overwriting any existing working tooling.

Quick Start

Use the bootstrap-repo-rules skill to set up lint, test, and CI validation for this repository, matching its existing tech stack and conventions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: bootstrap-repo-rules
Download link: https://github.com/nodatall/primedirective/archive/main.zip#bootstrap-repo-rules

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.