commit-scope-constitution

Generates and updates commit scope inventories from git history and templates.

5|Updated Dec 9, 2025
One-click install
npx skills add https://github.com/arisng/github-copilot-fc --skill commit-scope-constitution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-scope-constitution
Source: https://github.com/arisng/github-copilot-fc/tree/main/skills/commit-scope-constitution
Command: npx skills add https://github.com/arisng/github-copilot-fc --skill commit-scope-constitution

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Build and refine a living constitution that defines valid commit scopes for atomic commits. Use this weekly to maintain an inventory of approved scopes, establish scope naming conventions, and guide consistent scope selection across commits.

Core Features & Use Cases

  • Weekly inventory updates in .github/scopes-inventory.md
  • Templates and references in references/
  • Amendment workflow to propose and approve new scopes
  • Guidance for scope discovery from history and structured analysis

Quick Start

Run the tool to generate or update the scopes inventory, review the constitution, and propose amendments when new scopes are needed.

Frequently Asked Questions about commit-scope-constitution

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

FAQPage Schema
How do I enforce consistent conventional commit scopes across my repository?

You can enforce conventional commit scopes by maintaining a centralized inventory in `.github/scopes-inventory.md` and applying a constitution that governs approved scopes for atomic commits across repository workflows.

What is the best way to derive valid commit scopes from git history?

You can derive valid commit scopes from git history by running the provided `extract_scopes.py` script, which analyzes past commits to generate and update a structured scopes inventory for governance.

Can I propose and approve new commit scopes for my project governance?

Yes, you can propose and approve new commit scopes using the built-in amendment workflow, which provides templates and references to guide weekly constitution amendments for your repository.

Does this commit scope governance tool require external dependencies?

No, this commit scope governance tool requires zero external dependencies, relying solely on included scripts and reference templates to manage your scopes inventory and constitution amendments.

How do I standardize commit scope naming conventions for atomic commits?

You standardize commit scope naming conventions by establishing a living constitution that defines valid scopes, storing governance artifacts under `.github`, and using templates to maintain naming consistency.