agentleFS
dracocephalumdracocephalum/dc-agentics/.claude/skills/source-control/SKILL.md

source-control

Skill0 starsChanged 58 days agoApache-2.0View on GitHub

Start work on a ticket with a correctly named, issue-linked branch; commit; open a pull request; or apply the repository's merge settings - all per this repository's source-control and change-tracking rules. GitHub only, for now.

The file

Files
SKILL.md

Source control per this repository's rules. GitHub is the only supported host today; for anything else, say so and stop.

Find the rules

First .agentics.yaml at the repository root: its source-control.mode (auto | local | manual; absent = manual) decides which of the steps below run without asking and which stop for a yes - the table is in the source-control rules, For an agent. Then read each rule in the first location that exists, then the host file the source-control rules name. Never work from memory.

RuleInitialized repositorydc-agentics toolkit
source control - branches, commits, size, opening, review, merge, agent guardrails; names the host fileagentics/rules/source-control/source-control.mdrepo/payload/agentics/rules/source-control/source-control.md
change tracking - the ticket that must exist first; names the tracker fileagentics/rules/change-tracking/change-tracking.mdrepo/payload/agentics/rules/change-tracking/change-tracking.md

Actions from $ARGUMENTS

ArgumentDoWhere the procedure is
publishput a local repository that has no remote on the hosthost file, Publishing a repository
start <#issue | "description">ensure a ticket exists (/change-tracking new when it does not), create the linked branch, switch to itchange tracking, Before any work; tracker file, Tickets
commitstage what the user indicates and commitsource control, Commits
propen a draft pull request from the templatesource control, Opening a change request; host file, Pull requests
setupapply the merge settings and the default-branch ruleset oncehost file, Repository settings

Always

The Guardrails an agent must not skip and For an agent sections of the source-control rules apply to every mode - branch confirmed before every commit, nothing side-effecting run to diagnose, the command shown before anything is created on the host, nothing invented that the user did not give.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.