preferred-workflow
Skill1 starsChanged 5 months agoMITView on GitHub
Use when resuming development, implementing a feature, or refactoring in a git repository that needs disciplined context recovery, branch setup, bounded implementation, verification, optional PR review, and push/PR handoff.
- Commits and pushes
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-skills-archive-orchestratorSkill
- call-r-lib-in-pythonSkill
- code-commenterSkill
- code-reviewerSkill
- end-user-xp-improverSkill
- fp-developerSkill
- lesson-documenterSkill
- plan-designerSkill
- release-preparerSkill
- scientific-prose-editorSkill
- simple-code-writerSkill
- spec-driven-developerSkill
- wayback-link-fallbackSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 14 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Read repository instructions and inspect the working tree, current branch, relevant source, tests, docs, checkpoints, and open PR context.
- Distinctive: line 20
Run proportional tests and checks.
- Distinctive: line 22
Commit, push, and open a PR only when the user or task authorizes that handoff.
- Distinctive: line 23
Run the review loop when required by the user, repository, or default below.
- Distinctive: line 26
Read task-specific guidance for continuations, features, bug fixes, and refactors.
- Distinctive: line 35
Do not switch branches over unrelated work or implement on the base branch unless the user explicitly requests it.
- Distinctive: line 37
Stop when a dirty tree, checkpoint, or open PR indicates the work belongs elsewhere.
- Distinctive: line 41
Treat commits, pushes, PR creation, merges, external comments, and deployments as separate actions governed by user and repository …
- Distinctive: line 44
When PR handoff is authorized and implementation checks pass:
- Distinctive: line 46
Commit coherent changes using the repository's message style.
- Distinctive: line 51
If remote or PR tooling is unavailable, check the expected CLI path, report the exact blocker, and provide the push command and prepared PR …
- Distinctive: line 56
Use the repository's review policy when one exists.
- Distinctive: line 65
Update existing specifications, architecture notes, changelogs, checkpoint files, or task trackers only when the slice changes the state …
- Distinctive: line 71
Stop and report before claiming completion when:
- Very specific: line 86
Commit/push/PR status and URL when applicable.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Preferred Workflow
Move a coherent development slice from repository truth to a verifiable handoff without broadening scope.
Core workflow
- Read repository instructions and inspect the working tree, current branch, relevant source, tests, docs, checkpoints, and open PR context.
- Classify the task as continuation, feature, bug fix, or behavior-preserving refactor.
- Define the smallest useful slice and its observable acceptance criteria.
- Confirm or create a working branch from the repository's base branch.
- Protect behavior with focused tests or characterization coverage when appropriate.
- Implement the complete slice without placeholders or unrelated cleanup.
- Run proportional tests and checks; update existing project-state documentation when the change affects it.
- Commit, push, and open a PR only when the user or task authorizes that handoff.
- Run the review loop when required by the user, repository, or default below.
- Report branch, changes, validation, handoff, review disposition, and remaining risks.
Read task-specific guidance for continuations, features, bug fixes, and refactors.
Branch safety
- Record the base branch, normally the remote default.
- Reuse a non-default branch only when it matches the active task or PR.
- Otherwise update the clean base branch and create a short-lived branch with an
appropriate
feat/,fix/, orrefactor/prefix. - Do not switch branches over unrelated work or implement on the base branch unless the user explicitly requests it.
- Stop when a dirty tree, checkpoint, or open PR indicates the work belongs elsewhere.
Approval gates and handoff
Treat commits, pushes, PR creation, merges, external comments, and deployments as separate actions governed by user and repository authorization.
When PR handoff is authorized and implementation checks pass:
- Commit coherent changes using the repository's message style.
- Push the branch with
git push -u origin HEAD. - Open a PR against the recorded base branch with a concise summary and test plan.
- Return the PR URL.
If remote or PR tooling is unavailable, check the expected CLI path, report the exact blocker, and provide the push command and prepared PR body. Do not claim that a PR exists.
Review policy
Use the repository's review policy when one exists. Otherwise, after opening a PR, default to the independent review procedure in the review loop.
Skip that procedure when the user explicitly says review is unnecessary or requests only local implementation. Record the opt-out in the final handoff; still run implementation tests and a basic author verification of scope and diff integrity.
Documentation
Update existing specifications, architecture notes, changelogs, checkpoint files, or task trackers only when the slice changes the state they describe. Do not create a heavyweight documentation system solely to satisfy this workflow.
Stop conditions
Stop and report before claiming completion when:
- Branch identity conflicts with a checkpoint or open PR.
- The required change exceeds the agreed slice or changes a public contract unexpectedly.
- Relevant tests cannot be run or expose unrelated failures that block validation.
- An authorized PR handoff has no PR URL and tooling was not genuinely unavailable.
- A required review has unresolved blocking findings.
Completion report
Include:
- Task type, selected slice, base branch, and working branch.
- Files or behaviors changed and relevant project-state updates.
- Tests and checks, including failures.
- Commit/push/PR status and URL when applicable.
- Review pass count or the explicit reason review was skipped.
- Deviations, deferred work, and unresolved risks.
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
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.

