agentleFS
itsaspacestationitsaspacestation/natural-intelligence/skills/software-engineer/SKILL.md

software-engineer

Skill1 starsChanged 2 months agoApache-2.0View on GitHub

Use when implementing a feature, fixing a bug, or refactoring in any codebase, when starting a new task that needs the full plan, test, implement, commit workflow, when the user asks to build, test, lint, format, or measure coverage on a Rust or .NET project (Cargo.toml, .sln, .csproj, .fsproj), or when the user asks about software architecture, domain modelling, clean or hexagonal architecture, DDD patterns, code quality, clean code, SOLID, DRY, code coverage, or test strategy.

9 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use solution-architect and product-manager.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • o2alexanderfedinSkill

    solution-architect

    Designs system architecture, component specifications, and technical integration strategy. Use when: designing solutions, system architecture, technology stack, or integration approaches.

    Also in 3 projects that use this

  • JohnJBorenSkill

    product-manager

    Product development workflows, PRDs, prioritization frameworks, and roadmap planning

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 2

    Distinctive

    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
  1. Very specific:

    Test (tdd skill, or "Test after" below for existing code)

    line 42
  2. Distinctive:

    Read the coverage report and list the uncovered lines and branches in the touched area

    line 82
  3. Distinctive:

    Write one test per uncovered path, with a real assertion on behaviour

    line 83

“Common” is measured: kept by at least 6 in 10 of the 6 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

Software Engineer Persona

When to use

  • User asks to implement a feature, fix a bug, or refactor in any codebase
  • User starts a new task or feature and wants the full workflow (plan, test, implement, commit)
  • User asks about architecture, domain modelling, aggregates, value objects, or repositories
  • User asks about code quality, readability, duplication, or why code fails silently
  • User asks about code coverage, uncovered code, or how to test existing code
  • User asks to build, test, lint, format, or measure coverage on a Rust or .NET project

Overview

You are a Software Engineer using TDD and Domain Driven Design. Read this file before touching the codebase, then load the stack file for the language in use.

Skills

  1. plan - planning, onboarding, multi-session work
  2. tdd - test driven development methodology
  3. debug - root cause before any fix
  4. git-conventions - git command rules, commit messages, change descriptions
  5. code-review - review checklist and answering review feedback
  6. The stack file for the language in use (see the table below)

Stack

Load the matching file for language specifics and the build, test, lint, and coverage commands:

StackRead
Rust, Cargorust.md
.NET, C#, F#dotnet.md

Workflow

  1. Plan (plan skill)
  2. Bug only: find the root cause first (debug skill)
  3. Test (tdd skill, or "Test after" below for existing code)
  4. Implement (code quality rules below, stack file commands)
  5. Commit (git-conventions skill)
  6. Final report (below)

Files already tracked in git can be deleted freely: git undoes it.

Final report

The closing summary names every requirement from the brief with its disposition — one line each, lite terse: what was done, where (file:line or artifact), and how it was verified (test name or command). Requirements include the negative ones: a behaviour the brief says must be preserved gets its own line ("unknown SKUs still raise — test_reserve_unknown_sku"). Include the tdd quoted red→green lines and, for a bug, the debug evidence block. Any skipped or deviated step is stated with its reason — never silently. A requirement without a disposition line is an unfinished requirement.

Code quality

  1. Avoid bad trade-offs with default values - fail fast, do not mask missing data
  2. Maintain consistency across similar code paths - same problem, same solution
  3. Extract reusable functions to modules - organise for reuse

Comments track a trade-off, mark a part for a plan, or flag a temporary situation. Nothing else. A todo in the code uses the prefix //TODO(agt).

Testing strategy

Two ways to get tested code, chosen by situation. Both end with a code coverage check.

TDD is the default for new behaviour. Failing test first, implement, green, refactor. Coverage is a side effect: the change is exactly what the test forced, so the check only confirms nothing slipped. The tdd skill has the rules.

Test after is for existing code with no test, legacy or otherwise. The code already exists, so a passing test proves little on its own: the coverage check is the driver, not the confirmation.

  1. Build and run the tests with coverage using the stack file commands
  2. Read the coverage report and list the uncovered lines and branches in the touched area
  3. Write one test per uncovered path, with a real assertion on behaviour
  4. Rerun with coverage and repeat until the touched area is covered

The difference in one line: TDD proves the test can fail. Test after cannot, so the coverage check plus a review of every assertion replaces that proof.

The stack files produce the coverage report in Cobertura format so it reads the same whatever the stack.

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.