# coding

> Get clean, fast, and simple code for your apps and tools without the mess of over-engineering.

coding is a free AI agent skill on Agensi by Diego Oliveira, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Diego Oliveira](https://www.agensi.io/creators/diegoos)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Uses: 2
- Version: 1.1
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/coding
- Tags: ai-agents, refactoring, clean-code, javascript, python, code-quality, typescript

## What it does

- Writes new features or fixes bugs using the simplest possible logic
- Simplifies messy and confusing code to make it easier to read
- Speeds up slow parts of your app by removing unnecessary steps
- Checks your existing files first to avoid writing the same code twice
- Follows your specific naming habits and coding style automatically
- Runs a quick check to prove the new code works before finishing

## Who it's for

- **Founders with a new product idea:** Get your first features built without messy code that breaks later. Try: "Write a script to pull new orders from my shop and save them to a spreadsheet."
- **Small business owners with existing apps:** Fix bugs and clean up your tools so they are easier to manage. Try: "Refactor this login function to make it simpler and easier to read."
- **Freelancers building custom tools:** Make your tools run faster by fixing specific slow spots in your code. Try: "Improve the performance of the data export because it takes too long to load."

## About this skill

Building and fixing code often leads to "spaghetti" logic that is hard to read and slow to run. This skill helps your AI agent write clean, simple, and fast code by following strict rules. It focuses on doing only what is necessary right now, rather than adding extra features you might never use. Whether you need a brand-new function or want to fix a slow part of your app, it looks at your existing files to make sure everything matches your style.

**How it works**
1. Tell your AI agent if you want to write something new, clean up old code, or fix a slow spot.
2. The skill searches your files to see if the work has already been done elsewhere to avoid double work.
3. It writes the simplest version of the code that solves your problem.
4. It creates a small test to prove the new code actually works as expected.

**What you get:** Clean, working code that is easy for humans to understand and simple to update later.

## Requires

- Node.js

## Known limitations

Performance improvements require a specific named hotspot. Skips documentation, Makefiles, and CSS-only styling. Standard CC cap is 13 unless the project defines its own via linting tools.

## Technical details

This skill enforces KISS, DRY, and YAGNI principles using a branching workflow (write, refactor, improve). It uses cyclomatic complexity caps (default CC <= 20) and matches project conventions by reading AGENTS.md or CLAUDE.md files. It is language-agnostic and works with local linters like eslint, ruff, or gocyclo. It requires a named hotspot for performance improvements to avoid speculative optimization.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the coding skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does 'make code' prevent the over-engineering often seen in standard AI-generated code?

This skill enforces strict KISS, DRY, and YAGNI principles by performing a systematic search for existing helpers before writing new code, and it applies a hard cap on cyclomatic complexity to prevent the 'spaghetti code' often generated by generic prompts.

### Is this skill limited to specific programming languages or frameworks?

The skill is language-agnostic and adapts to your local environment; it integrates with your existing project conventions and tools like eslint, ruff, or gocyclo to ensure the output matches your current codebase style.

### Can I use this skill to optimize application performance without a specific target?

'make code' requires a named hotspot—a specific area of inefficient code—to perform optimizations, ensuring it targets real bottlenecks rather than engaging in speculative or unnecessary performance tuning.

### Are there any specific types of files or tasks that 'make code' does not handle?

While it excels at logic and structure, this skill specifically skips documentation-only tasks, agent instruction files, Makefiles, and CSS-only styling to stay focused on high-integrity application logic.

### How does the skill verify that its refactored code or new features actually work?

The skill uses a red-green testing pattern, generating the smallest possible test case to verify behavior changes while mocking only at essential trust boundaries like networks or filesystems.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
