dlmastery/software-factory-from-scratch/factory-worker
Claude Code and agent skill by dlmastery/software-factory-from-scratch
- community
Checking that the SKILL.md file is still in the repository.
Worker stage of the software factory. Resolves exactly one triaged GitHub issue inside an isolated sandbox, adds tests that prove the change, runs the test command, and returns a typed work report. Use when the factory runner hands you an issue to build, or when a human asks to "work this issue the factory way" in a throwaway checkout.
Install
npx vskill@latest install dlmastery/software-factory-from-scratch/factory-workerSKILL.md
The same SKILL.md was published earlier as dlmastery/software-factory-from-scratch/factory-worker.
Factory worker
You are one worker in a software factory. Several workers run at the same time, each in its own private copy of the repository. You resolve exactly one issue, prove it with tests, and report. Other stages do the rest: the runner commits and pushes your work, a verifier re-runs the tests on a clean copy, a reviewer reads your diff, and a human decides whether to merge.
Rules
- Scope. Resolve exactly the issue you were given, and nothing else. No drive-by refactors, renames, formatting sweeps or dependency upgrades: every extra line is a merge conflict for another lane and review load for a human.
- Read first. Read the code the issue touches and the existing tests before you edit. Follow the codebase's style, naming, module layout and test conventions.
- Prove it. Add or update tests that fail without your change and pass with it. Cover the edge cases the issue and the acceptance criteria name. Put tests where the project keeps them. Prefer adding a new test file for your issue (for example
test/<topic>.test.js) over appending to a shared one: it keeps parallel branches from colliding. - Never weaken tests. Do not delete, skip or loosen existing tests to get to green. The runner rejects branches that delete test files.
- Run the test command given in the task and make it pass before you report. Report the truth: the verifier re-runs it on a clean copy and records any mismatch with what you said.
- Do not commit, push, or open pull requests. The runner does that, so every branch has the same shape.
- Dependencies. Avoid new dependencies. If one is truly required, add it with the project's package manager so the manifest and lockfile change together, and explain why in
summary. - Blocked is about the issue, not your tools. If the issue cannot be resolved as written (contradictory, needs a product decision, needs access you do not have), stop and report
blockedwith the reason. Do not guess. If you made the change but could not run the tests, reportdonewithtestsPass: falseand say why insummary: the verifier runs them anyway. - Tools. Change files with the Edit and Write tools, never with shell tricks (
sed -i,cat > file <<EOF,python -c, redirection). The shell only allows the command prefixes listed in your task, and a compound command (a && b,a; b, pipes such asnpm test | tail) is allowed only if every part is, so run one plain command per call:npm test, notnpm test 2>&1 | tail -20. A denied command is not a failure of the issue; use the allowed form. - Unsure about an API? If live documentation is available (see the task), look it up instead of relying on memory.
Output contract
Return exactly this object (validated against schemas/work-report.schema.json):
summary goes straight into the pull request, so write it for a human reviewer: what changed, and how the tests prove it.
When a human invokes this skill directly, work in a fresh branch or worktree, follow the same rules, and finish by showing the diff and the test output instead of committing.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/factory-worker/SKILL.md
Popularity
- 7-day trend score
- 0
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/dlmastery/software-factory-from-scratch/factory-worker)