- Home
- Skills
- Code Quality & Review
- senior engineer mode
Works with the AI Agents you already use
senior engineer mode
Your agent codes like a senior engineer: sizes the task, reads before writing, makes minimal changes and proves them with tests, lint, typecheck and build before saying done. No more 'should work'.
Free
senior engineer mode
Example session with this skill installed
Fix the bug where users can submit the checkout form twice and get charged twice.
- Read your context and instructions
- Compiled the senior engineer mode
Class: Standard (payment flow, extra care)
Done: double submit fixed - button disables while pending and the API rejects duplicate requests via an idempotency key.
Changed
- src/components/CheckoutForm.vue - disable submit while request is pending
- src/api/orders.ts - send Idempotency-Key header
- server/routes/orders.ts - reject repeated keys (409)
- tests/orders.spec.ts - regression test: two rapid submits create one order
Verified: npm test -> 142 passed | vue-tsc --noEmit -> ok | npm run lint -> ok | npm run build -> ok
Not verified / risks: none
Next: consider the same guard on the refund endpoint.
Connects securely to your tools. The creator never sees your data.
About this skill
LLMs often hallucinate commands, miss edge cases, or produce plausible-looking code that fails at runtime. This skill forces the agent to adopt a disciplined senior engineering workflow, prioritizing verification over speed to ensure every PR is actually ready for review.
What it does
- Task Classification categorizes work into Trivial, Standard, or Complex buckets to apply the right amount of rigor.
- Context Discovery locates entry points, callers, and project conventions before making any edits.
- Minimalist Implementation focuses on the smallest possible change to solve the problem without scope creep or unnecessary refactors.
- Root Cause Analysis ensures bugs are fixed at the source, starting with a reproduction test case.
- Mandatory Verification runs typechecks, linters, and test suites to prove the code works before reporting completion.
How it works
- The agent classifies the task and reads existing code to understand local patterns.
- It formulates a plan, documenting risks and verification steps for complex changes.
- It implements the fix using minimal, focused edits that handle edge cases and security boundaries.
- It executes the project's real build and test commands to verify the outcome.
Frameworks & tools
This skill is language-agnostic. It works with any stack including TypeScript, Python, Rust, Go, or Java. It detects and uses existing package.json scripts, Makefiles, pyproject.toml, or CI configurations.
Why this beats prompting it yourself
Manual prompts often fail to stop an agent from "guessing" build commands or ignoring lint errors. This skill encodes a strict "verify-before-reporting" loop that makes it impossible for the agent to say "done" without evidence.
Use cases
- Fixing Regressions by creating a failing test first to ensure the root cause is addressed.
- Refactoring Legacy Modules with a written plan to mitigate risks in complex areas like auth or data.
- Feature Development that adheres strictly to existing project naming and architectural conventions.
- Code Hardening by adding error handling at I/O and network boundaries.
Known limitations
Cannot verify code if the environment lacks necessary tools, network access, or environment variables. It is limited to 3 failed attempts on a single error before requiring human intervention.
Requires existing test or build scripts to be present in the repo for full verification. Stops after 3 failed attempts on the same error to avoid infinite loops.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
This skill has been used 10 times.
Trust & safety
Security scan
Security scan passed 7 days ago
- Free with an Agensi account
Requires