agentsclimarketplace

Git workflow

Skill 0xlayerghost/solidity-agent-kit/skills/git-workflow

[AUTO-INVOKE] MUST be invoked BEFORE creating git commits, PRs, or code reviews. Covers Conventional Commits, PR templates, review requirements, and AI-assisted development rules. Trigger: any task involving git commit, git push, PR creation, or code review.From its SKILL.md

Install
npx -y skills add 0xlayerghost/solidity-agent-kit --skill git-workflow

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 4 commands, including `git diff` and 3 more.

SKILL.md

2.6 KB, 539 tokens by cl100k_base, as published. Nobody here has run it

Git Collaboration Standards

Language Rule

  • Always respond in the same language the user is using. If the user asks in Chinese, respond in Chinese. If in English, respond in English.

Commit Rules

Use Conventional Commits format: <type>: <short description>

TypeWhen to use
feat:New feature or contract
fix:Bug fix
refactor:Code restructure without behavior change
test:Add or update tests
docs:Documentation changes
chore:Build config, dependency updates, toolchain
security:Security fix or hardening

Commit Workflow

  1. Run git diff to review all changes before staging
  2. Stage specific files — avoid git add . to prevent committing .env or artifacts
  3. Write concise commit message describing the why, not the what
  4. Never add Co-Authored-By lines — commit messages should only contain the description
  5. Only commit — never git push unless explicitly requested
  6. Never push directly to main/master — always use feature branches

Branch Naming

PatternExample
feat/<name>feat/staking-pool
fix/<name>fix/reentrancy-guard
refactor/<name>refactor/token-structure

PR Requirements

Every PR must include:

SectionContent
Change descriptionWhat was changed and why
Test resultsforge test output (all pass)
Gas impactforge test --gas-report diff for changed functions
Deployment impactDoes this affect deployed contracts? Migration needed?
Review focusSpecific areas that need careful review

Code Review Rules

ScenarioRequirement
Standard changesMinimum 1 maintainer approval
Security-related changesMinimum 2 maintainer approvals
AI-generated codeMust pass manual review + forge test before merge
Contract upgradesRequires full team review + upgrade simulation on fork

AI Assistance Rules

  • AI-generated code must pass forge test before committing
  • Always review AI output for: correct import paths, proper access control, gas implications
  • Include relevant file paths and test cases in AI prompts for better results
  • Run forge fmt after AI generates code to ensure consistent formatting

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.