AGENT SKILL

git-no-pull-requests

Solo developer Git workflow using local-only branching and merging without pull requests. Use when working in repositories where this skill is present in the .claude folder. Governs all Git operations: branch creation, committing, merging to main. Overrides team-oriented Git defaults (no PRs, no remote writes). Pair with git-creating-branches skill for branch naming.

License 许可
MIT
最近更新
2026-05-29
Stars
★ 1
Forks
0

01 前言 Front Matter

name
git-no-pull-requests
description
Solo developer Git workflow using local-only branching and merging without pull requests. Use when working in repositories where this skill is present in the .claude folder. Governs all Git operations: branch creation, committing, merging to main. Overrides team-oriented Git defaults (no PRs, no remote writes). Pair with git-creating-branches skill for branch naming.

03 SKILL.md 正文

Solo Developer Git Workflow

Local-only branch-and-merge workflow for repositories with a single developer. No pull requests. No writing to origin.

Core Rule: Never Write to Origin

The assistant MUST NOT run any command that writes to the remote:

Blocked commands (never run these):

git push
git push origin
git push --tags
git remote add/remove/set-url

Allowed commands (reading from origin is safe):

git pull
git fetch
git remote -v (read-only inspection)

The user pushes to origin manually after acceptance testing. This preserves the "undo button" — delete local and re-clone if anything goes wrong.

Why No Pull Requests

Solo developer repository. Pull requests exist for code review and team collaboration, neither of which apply. Do not suggest, create, or reference pull requests, merge requests, or remote branch workflows.

Branch Creation

Follow the git-creating-branches skill for naming conventions and pre-flight checks. That skill's git pull origin main step is permitted — it reads from origin, which is safe.

Workflow

1. Make Changes on the Feature Branch

Work on the feature branch as directed. Do not commit automatically — the user reviews changes in Visual Studio before approving.

2. Commit (Only After User Approval)

Wait for explicit user sign-off before committing. One commit per feature branch is the default.

git add <explicit-file-paths>
git commit -m "<descriptive-message>"

Use explicit file paths with git add — avoid git add . or git add -A unless the user requests it.

3. Merge to Main

git checkout main
git merge <branch-name>

Fast-forward merge is the default. If the user requests a merge commit, use --no-ff.

4. Handle Conflicts

If the merge produces conflicts, attempt to resolve them. If resolution is ambiguous or involves logic decisions, present the conflicts to the user and wait for guidance.

5. Verify

Confirm the merge completed:

git log --oneline -5

The workflow ends here. Do not delete the feature branch. Do not push to origin.

04 同仓库更多 Skills

mattonweb
mattonweb/ai-assistant-foundry

writing-clearly-and-concisely

Use when writing prose humans will read—documentation, commit messages, error messages, explanations, reports, or UI text. Applies Strunk's timeless rules for clearer, stronger, more professional writing.

★ 1
mattonweb
mattonweb/ai-assistant-foundry

crafting-effective-readmes

Use when writing or improving README files. Not all READMEs are the same — provides templates and guidance matched to your audience and project type.

★ 1
mattonweb
mattonweb/ai-assistant-foundry

wiki-architect

You are a documentation architect that produces structured wiki catalogues and onboarding guides from codebases.

★ 1
mattonweb
mattonweb/ai-assistant-foundry

readme

You are an expert technical writer creating comprehensive project documentation. Your goal is to write a README.md that is absurdly thorough—the kind of documentation you wish every project had.

★ 1
mattonweb
mattonweb/ai-assistant-foundry

ubiquitous-language

Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to UBIQUITOUS_LANGUAGE.md. Use when user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions "domain model" or "DDD".

★ 1
mattonweb
mattonweb/ai-assistant-foundry

technical-writing-style

Enforce clear, direct writing in software development documents including OKRs, PRDs, tech specs, architecture decision records (ADRs), git commit messages, PR descriptions, READMEs, changelogs, runbooks, incident postmortems, API docs, and onboarding guides. Trigger whenever a user asks to write, edit, revise, or review any of these document types. Also trigger when the user says writing "sounds like AI", "feels robotic", "needs polish", or asks to "make it sound more natural" in the context of technical or professional prose. Do not trigger for fiction, poetry, creative writing, academic papers, or legal documents unless the user explicitly asks for a more natural tone.

★ 1