# ai dev methodology

> A markdown and git governance methodology for managing AI agents as disciplined squad members with human accountability.

ai dev methodology is a free AI agent skill on Agensi by Polgar Miklós, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Polgar Miklós](https://www.agensi.io/creators/polgarmikls)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ai-dev-methodology
- Tags: ai-agents, prompt-engineering, web-design, git-workflow, governance, development

## About this skill

Managing a hybrid squad of humans and AI agents leads to broken builds, race conditions, and undocumented shortcuts. This skill implements a markdown and git governance framework that treats AI agents as disciplined contributors, enforcing strict accountability and file-level coordination.

### What it does
- **Enforce governance** by applying a hard authority ladder across project instructions, methodology rules, and user directions.
- **Coordinate parallel agents** using a lock protocol to prevent multiple agents from overwriting the same backlog items or files.
- **Manage backlog ROI** by calculating task priority against effort to ensure agents work on high-impact items first.
- **Guard definitions of done** by strictly linking task status to verified test passes and surgical code changes.
- **Mitigate prompt injection** by treating all external content, logs, and issue text as untrusted data rather than instructions.

### How it works
1. **Initialize project structure** by creating the four planning layers from strategy docs down to granular epic backlogs.
2. **Execute tasks** by acquiring a file-lock, creating a PR-based implementation plan, and matching surgical code changes to existing styles.
3. **Apply safety checks** by validating all external inputs against the untrusted content rule before processing.
4. **Verify and close** by running pre-commit hooks and updating the `Test: pass` field before marking a task as done.

### Frameworks & tools
This skill is platform-agnostic, designed for git-based repositories using Markdown for documentation. It integrates with any AI agent capable of reading `SKILL.md` or `CLAUDE.md` files.

### Why this beats prompting it yourself
Manual prompts often fail to maintain state across long autonomous loops, leading to "done" tasks that haven't actually passed tests. This skill provides a rigid, encoded operating contract that prevents AI agreement bias and ensures every change is documented, locked, and verified.

### Use cases
- Prevent two agents from working on the same feature simultaneously in a shared repo.
- Automate the sizing and prioritization of a messy backlog based on impact vs effort.
- Set up a secure autonomous coding loop that refuses to bypass pre-commit hooks or force-push to main.
- Audit a completed task against a 10-point definition of done checklist to ensure high assurance levels.

### Known limitations
Does not support direct production deployments or overriding active file locks. Requires a specific repository folder structure to function at full capacity.

## 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 ai dev methodology 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 this methodology prevent AI agents from breaking my codebase or creating race conditions?

This skill provides a structured markdown and git-based framework that establishes a "chain of command" and file-locking protocol, preventing agents from overwriting each other's work or taking undocumented shortcuts.

### Which AI agents or IDEs are compatible with this governance framework?

The skill is platform-agnostic and works with any AI agent or IDE extension (like Cursor or Windsurf) that can interpret instructions from local project files like `CLAUDE.md` or `SKILL.md`.

### What exactly is included in the download once I purchase this skill?

You receive the complete architectural documentation, including the four-layer planning templates, the lock protocol specification, and the pre-commit verification checklists required to initialize your repository.

### Is there a complex installation process, or can I apply this to an existing project?

Setup involves initializing your repository with a specific folder structure and configuring your agent's system instructions to adhere to the provided markdown governance rules.

### Does this framework allow AI agents to force-push code or bypass my existing security tests?

No, this skill is specifically designed to enforce a "surgical change" policy and strict pre-commit hooks that prevent agents from bypassing your existing CI/CD safety checks.

### How does the methodology handle task prioritization when the backlog becomes crowded?

The framework handles backlog prioritization by forcing the agent to calculate an ROI score for every task, ensuring high-impact features are prioritized over low-value refactors.

---

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.
