software-engineer — Claude Code skill: code style and workflow rules
A skill that gives the agent rules for code style, documentation and workflow: no filler comments, no git commits on its own, questions when something is unclear.
npx skills add siviter-xyz/dot-agent --skill software-engineer -a claude-codeWhat software-engineer does
The skill spells out how the agent should behave while editing code and working inside a repository. Comments are kept for non-obvious design decisions and workarounds; TODO and FIXME lines stay out of commits unless you ask for them. Clear naming and structure come before explanatory comments.
A workflow section tells the agent to check whether the project runs spec-first, TDD or something else. It looks for docs/ and specs/ directories, plan files and test-first patterns, then follows whatever it finds. Commands that change repo state, such as git add, git commit and git push, are off limits without a direct request, while git status and git diff are fair game for analysis. When context is missing, it searches the web or context7 and asks you instead of guessing.
Output formatting and code organization get their own rules: no emojis, respect for NO_COLOR, no hardcoded ANSI codes, attention to accessibility and performance. If requirements are vague, or the agent is about to add a type ignore or an any, it stops and asks. Two reference files ship with it: references/workflow-patterns.md and references/implementation-workflow.md.
What it helps with
- keep leftover TODO and temporary comments out of commits
- stop the agent from committing and pushing on its own
- pick up an existing spec-first or TDD process in the repo
- get a question instead of a made-up answer about an unfamiliar framework
- settle on one style for docs and terminal output
Example prompts for the agent
- Refactor this module and leave git alone — I'll commit myself
- Check which workflow this project uses and follow it
- Before adding a type suppression, explain why it's needed
How to install software-engineer
1Skills CLI (Vercel)
npx skills add siviter-xyz/dot-agent --skill software-engineer -a claude-code2Manually: put the files in place
~/.claude/skills/software-engineer/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/software-engineer/
1Skills CLI (Vercel)
npx skills add siviter-xyz/dot-agent --skill software-engineer -a codex2Manually: put the files in place
.agents/skills/software-engineer/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add siviter-xyz/dot-agent --skill software-engineer -a cursor2Manually: put the files in place
.cursor/skills/software-engineer/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install siviter-xyz/dot-agent software-engineer2Manually: put the files in place
.github/skills/software-engineer/SKILL.md1Skills CLI (Vercel)
npx skills add siviter-xyz/dot-agent --skill software-engineer -a gemini-cli2Platform CLI
gemini skills install https://github.com/siviter-xyz/dot-agent --path skills/software-engineerManually: put the files in place
.devin/skills/software-engineer/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add siviter-xyz/dot-agent --skill software-engineer -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about software-engineer
How do I install software-engineer in Claude?
Run npx skills add siviter-xyz/dot-agent --skill software-engineer -a claude-code. The skill lands in ~/.claude/skills/software-engineer/SKILL.md.
What does software-engineer do?
It sets rules for code style, documentation and workflow: trims filler comments, blocks unsolicited git commits, and requires the agent to ask when something is unclear.
Does the skill commit changes by itself?
No. Commands that modify repository state are not run without your direct request; git status and git diff are used for analysis only.
Source text
SKILL.md · MIT
--- name: software-engineer description: Core software engineering principles for code style, documentation, and development workflow. Applies when editing code, working in software repositories, or performing software development tasks. --- # Software Engineering Principles Core principles and preferences for code style, documentation, and development workflow. ## Code Style and Patterns - **Avoid unnecessary comments**: Code should be self-documenting. Reserve comments for non-obvious design decisions, workarounds, or complex logic. Avoid comments that restate what the code obviously does. - **Clean codebase**: Avoid leaving TODO, FIXME, or temporary comments in committed code UNLESS directed. Either implement the feature, create an issue, or remove the comment. Ignore existing ones. - **Self-documenting code**: Prefer clear naming and structure over explanatory comments. Method, class, and member documentation should use language/stack best practices. Don't add useless inline comments next to statements UNLESS they explain confusing or complex behaviour. ## Documentation - **Concise and useful**: Documentation should be informative but not verbose. READMEs should focus on essential information without unnecessary elaboration. - **Structure over verbosity**: Prefer well-organized, scannable documentation with clear headings over long paragraphs. Use short examples to illustrate concepts. ## Development Workflow - **Workflow detection**: Check if project uses spec-first, TDD, or other structured workflows. Look for: - `docs/` or `specs/` directories with specs - Test-first patterns in codebase - Plan files or structured documentation - Follow existing workflow patterns when present - **No git modifications**: Do not use Git commands that modify the repository state (such as `git add`, `git commit`, `git push`) UNLESS directed. Focus on code edits directly. Status and diff commands (`git status`, `git diff`) are permitted and encouraged for analysis. - **Fact-based approach**: Do not hallucinate or assume. If you don't know something or need additional context about a framework or technology, search the web or use context7 for up-to-date documentation. If clarification is needed, ask the user before making changes. - **Constructive disagreement**: Do not just accept user direction if a better alternative exists. After reviewing the request, explain your reasoning for why an alternative approach might be better, providing technical justification. - **Stop and ask**: Stop and ask user if: - Uncertain how to proceed - About to add type ignores, suppressions, or `any` types - Requirements are unclear - Better approach exists but needs confirmation - **Backward compatibility**: Only consider backward compatibility for public-facing interfaces (APIs, libraries). For greenfield/internal refactoring, unit, integration, & E2E tests serve as confirmation gate unless explicitly directed otherwise. ## Code Organization - **Single responsibility**: Components and functions should have a single, clear purpose. Organize code into logical directories with clear separation of concerns. - **Consistent patterns**: Follow established patterns in the codebase. When introducing new patterns, ensure they align with existing architecture and conventions. - **Automation and efficiency**: Prefer automated solutions and efficient workflows. Look for opportunities to reduce manual work and improve developer experience. ## Output Formatting - **No emojis**: Do not use emojis in code or output unless explicitly directed - **Unicode symbols**: Unicode symbols (✓, ✗, →, ⚠) are acceptable for user-facing output - **Color and formatting**: Color and formatting encouraged for user-facing output - **NO_COLOR support**: Always respect `NO_COLOR` environment variable - **No hardcoded ANSI**: Never use hardcoded ANSI color codes - use color libraries (chalk, colors, etc.) ## Best Practices - **Framework conventions**: Follow framework and language best practices. Use framework features as intended rather than working around them. - **Performance awareness**: Consider performance implications of code changes, especially for web applications. Prefer static generation and minimal JavaScript when possible. - **Accessibility**: Ensure code is accessible by default. Use semantic HTML, proper ARIA attributes, and test keyboard navigation. ## References For detailed guidance, see: - `references/workflow-patterns.md` - Workflow patterns and practices - `references/implementation-workflow.md` - Unified implementation workflow
© siviter-xyz · MIT · siviter-xyz/dot-agent