agentleFS
BigHandsDanBigHandsDan/molt/.claude/skills/coding-workflow/SKILL.md

coding-workflow

Skill1 starsChanged 7 months agoApache-2.0View on GitHub

Use this skill for any coding task that involves working with repositories, writing code, creating branches, or opening pull requests. Covers the full development workflow from cloning to PR.

  • Commits and pushes

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 0 are common, 12 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Always use the gh CLI for all GitHub operations.

    line 10
  2. Very specific:

    Use gh for: cloning repos, discovering repos across orgs, creating/viewing/editing PRs, checking PR status, and viewing PR comments.

    line 12
  3. Very specific:

    Do NOT use unauthenticated git clone https://github.com/...

    line 14
  4. Distinctive:

    When you don't have write access to a repository (push fails with 403/permission denied):

    line 18
  5. Distinctive:

    Always start by pulling the latest default branch (main or master)

    line 27
  6. Distinctive:

    Create a feature branch for every task

    line 28
  7. Distinctive:

    NEVER push directly to the default branch

    line 30
  8. Distinctive:

    Commit early and often — each commit is a single logical change

    line 34
  9. Distinctive:

    No filler, no AI attribution

    line 36
  10. Very specific:

    When iterating on an existing PR, use gh to get the branch name, check it out, push changes, and update the PR description

    line 44
  11. Distinctive:

    Do NOT merge — open as draft and wait for review

    line 45
  12. Distinctive:

    Run tests before pushing. Fix failures before opening a PR.

    line 55
  13. Distinctive:

    Add tests for new functionality and bug fixes.

    line 56
  14. Distinctive:

    Run the project's linter and fix any issues.

    line 57
  15. Distinctive:

    Do not leave debugging code, commented-out blocks, or TODOs.

    line 58
  16. Distinctive:

    Follow the repo's existing patterns for code style, naming conventions, and file organization.

    line 59

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Coding Workflow

GitHub CLI (gh)

Always use the gh CLI for all GitHub operations. Both gh and git are authenticated automatically through the agent proxy.

Use gh for: cloning repos, discovering repos across orgs, creating/viewing/editing PRs, checking PR status, and viewing PR comments.

Do NOT use unauthenticated git clone https://github.com/... — use gh repo clone instead.

Forking Workflow

When you don't have write access to a repository (push fails with 403/permission denied):

  1. Fork it: gh repo fork --remote=true (this adds your fork as the origin remote and renames the original to upstream)
  2. Push your branch to the fork: git push -u origin <branch-name>
  3. Open a PR from your fork to the upstream repo: gh pr create --repo <upstream-owner>/<repo>

To avoid wasted time, check write access early. If the repo belongs to an organization you're unlikely to have push access to, fork before starting work.

Git Workflow

  • Always start by pulling the latest default branch (main or master)
  • Create a feature branch for every task
  • Branch names: short, lowercase, hyphenated (e.g., fix-login-redirect, add-csv-export)
  • NEVER push directly to the default branch

Commits

  • Commit early and often — each commit is a single logical change
  • Concise imperative messages: fix redirect loop on login, add CSV export endpoint
  • No filler, no AI attribution
  • Squash fixup commits before opening a PR

Pull Requests

  • Open PRs as drafts
  • PR title: short, imperative, under 70 characters
  • PR description: write professional PR descriptions that clearly explain the changes — brief summary of what changed and why, plus a test plan
  • When iterating on an existing PR, use gh to get the branch name, check it out, push changes, and update the PR description
  • Do NOT merge — open as draft and wait for review
  • At the bottom of each PR description, include:
---
🤖 *Generated by Computer*

Code Quality

  • Run tests before pushing. Fix failures before opening a PR.
  • Add tests for new functionality and bug fixes. If the repo has a test suite, follow its patterns.
  • Run the project's linter and fix any issues. Check CLAUDE.md/AGENTS.md for specific lint/test commands.
  • Do not leave debugging code, commented-out blocks, or TODOs.
  • Follow the repo's existing patterns for code style, naming conventions, and file organization.

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.