nix-community/nur-combined/clean-main-workflow
Claude Code and agent skill by nix-community/nur-combined
- community
Checking that the SKILL.md file is still in the repository.
Maintain clean main-branch history in this NUR repository. Use for commits, PRs, squash merges, branch cleanup and published-history recovery. Not a replacement for package-update validation.
Install
npx vskill@latest install nix-community/nur-combined/clean-main-workflowSKILL.md
The same SKILL.md was published earlier as nix-community/nur-combined/clean-main-workflow.
Clean main workflow
Follow AGENTS.md and the active assistant's authorization and attribution rules. Prefer one reviewed commit per PR and squash merges.
Review and validate
Read the working tree and verify the target repository and base branch before GitHub operations. Preserve unrelated changes; stage only relevant paths.
Use gh for GitHub. Fetch the verified base before comparing history; start new work from that base, not a previously squash-merged branch. Load nur-package-update for package updates. Run the applicable just check or just check-all and git diff --check before publication.
Commit and PR
- Do not commit or push without authorization. A PR request does not authorize
merging, repository settings changes or rewriting main.
- Follow the commit titles in
AGENTS.md. Use the assistant's required commit
procedure and attribution; do not change Git configuration.
- Combine related unpublished follow-ups into one commit. Rewrite published
commits only when explicitly authorized.
- Review the full diff and commit count since the fetched base. Keep the PR body
short: purpose, completed changes, actual validation and relevant compatibility notes. Use rendered Markdown task lists for completed work and validation: - [x] for completed changes or passed checks, - [ ] for pending or unrun items with an explicit status. Label failed checks as failed, not merely unchecked. Do not wrap task lists in code fences; use code blocks only for code or output that needs them. Keep summaries and links as normal Markdown. Put release notes in the PR, not the package README.
- Push only the authorized topic branch and use explicit repository, base and
head arguments when creating the PR. Do not enable auto-merge automatically.
Merge and cleanup
Merge only when requested, after checking the latest head and required checks. Substitute verified values in these commands:
Do not bypass protections. Verify the resulting single-parent commit on the remote base. Fast-forward local main only when it preserves local work; delete only the verified merged topic branch with no unpushed follow-ups.
For recovery, prefer a revert PR. Published-history rewrites require explicit scope, a recovery ref and an exact expected-tip --force-with-lease. Stop if the lease fails or unrelated commits would be lost. Never reset a dirty worktree.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingrepos/davinci42/.agents/skills/clean-main-workflow/SKILL.md
Popularity
- Repository stars
- 200
- Repository forks
- 23
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nix-community/nur-combined/clean-main-workflow)