fleet-codifying-disciplines

Identify uncodified repo disciplines and generate executable enforcers with tests.

125|42|Updated May 19, 2025
One-click install
npx skills add https://github.com/SocketDev/socket-mcp --skill fleet-codifying-disciplines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fleet-codifying-disciplines
Source: https://github.com/SocketDev/socket-mcp/tree/main/.agents/skills/fleet-codifying-disciplines
Command: npx skills add https://github.com/SocketDev/socket-mcp --skill fleet-codifying-disciplines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Finds the disciplines a repo relies on but doesn't enforce and turns them into executable enforcement: hooks, lint rules, or CLAUDE.md rules with tests and proper surfaces to guard against memory-based gaps.

Core Features & Use Cases

  • Discover gaps between documented practices and active enforcement (CLAUDE.md rules, hooks, lint rules, and checks) and generate corresponding enforcers.
  • Support surface selection (lint rules, hooks, checks, or docs) and produce a testable codification with tests to ensure coverage.
  • Use Case: When onboarding a new repo, run this to codify recurring lessons like "run tests before commit" or "update docs after changes" into automated gatekeepers.

Quick Start

Use the fleet codifying-disciplines skill to scan a repository for uncodified disciplines and generate executable codifications.

Frequently Asked Questions about fleet-codifying-disciplines

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

FAQPage Schema
How do I turn repository documentation rules into enforceable automation?

Codifying disciplines identifies gaps where a repo relies on memory or prose, then proposes executable enforcement via hooks, lint rules, and CLAUDE.md guidance with tests. It generates testable diffs and committed artifacts to replace ad-hoc processes.

What is the best way to automate code quality checks before commits?

Automating code quality checks involves selecting enforcement surfaces like git hooks or lint rules to guard against memory-based gaps. This skill evaluates your repo to propose the appropriate surface, producing a testable codification with a thorough test suite.

How do I codify onboarding lessons into automated gatekeepers for a new repo?

You can codify recurring lessons like running tests before commit by scanning for uncodified disciplines and generating executable checks. The skill produces testable diffs and committed artifacts, aligning each enforcer with a documented surface choice.

How do I choose between using hooks, lint rules, or CLAUDE.md for enforcement?

Choosing an enforcement surface depends on the specific discipline being codified. The skill uses a decision tree process to evaluate whether a hook, lint rule, check, or documentation best enforces the rule, documenting the surface choice in the output.

Does this approach generate tests for the lint rules and hooks it creates?

Yes, ensuring each proposed enforcer includes a thorough test suite is a core part of the process. It produces testable codifications to guarantee coverage and verify that the newly generated hooks and checks function correctly.