# master learn

> Automatically discover, document, and standardize coding patterns by analyzing your existing codebase.

master learn is a paid AI agent skill pack (several skills in one listing) on Agensi by Abdulsalam Hassan, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Abdulsalam Hassan](https://www.agensi.io/creators/turnless)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-10-13
- Security: scan passed (2026-10-13); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/master-learn
- Tags: ai-agents, code-review, documentation, automation

## About this skill

Maintaining consistency in a growing codebase is difficult, especially when multiple developers or AI agents are contributing. This skill solves the problem of "architectural drift" by automatically discovering how you actually write code, documenting those patterns, and preparing them for enforcement.

### What it does
- **Pattern discovery** scans your repository to identify specific ways you handle data fetching, error handling, naming, and folder structure.
- **Statistical analysis** counts occurrences of coding styles to distinguish between established conventions, split decisions, and outliers.
- **Project mapping** analyzes your directory tree to determine exactly where new features, components, hooks, and types should be placed.
- **Conflict detection** identifies areas where the current code disagrees with previously established rules in your grand-master configuration.
- **Interactive decisioning** prompts you to choose a standard when it finds two or more competing ways of doing the same thing.

### How it works
1. **Initialize** by running `/master-learn` to trigger the stack identification and folder mapping sequence.
2. **Review analysis** as the agent crawls your source files to categorize coding patterns based on frequency and consistency.
3. **Resolve splits** by answering simple questions when the agent finds conflicting patterns (e.g., inline fetching vs. custom hooks).
4. **Inspect draft** by checking `.claude/patterns/draft.md` where the agent records candidates, evidence, and golden file examples.

### Frameworks & tools
Works with any stack including React, Next.js, Vue, Express, or Django. It parses standard configuration files like `package.json`, `tsconfig.json`, `requirements.txt`, and `go.mod` to adapt its learning logic to your specific ecosystem.

### Why this beats prompting it yourself
Manual prompting for architectural consistency requires you to remember every convention you have ever used. This skill automates the audit process by looking at your actual files, providing quantitative evidence for every rule it proposes rather than guessing based on generic best practices.

### Use cases
- **Onboarding agents** to a new repository so they don't introduce foreign coding styles or folder structures.
- **Standardizing a legacy project** by identifying the most common patterns and marking the rest as technical debt.
- **Establishing defaults** for a brand new project by approving a starter set of sensible rules for your chosen framework.
- **Auditing consistency** before a major refactor to see which patterns are actually being followed by the team.

### Known limitations
Requires an existing codebase with at least 2 files per category to form candidates. It cannot edit code directly and only writes to the draft patterns file for your review.

## 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 master learn skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does Master Learn differ from just asking an AI to follow my coding style?

Master Learn analyzes your specific code to identify actual patterns (like custom hook usage or error handling), providing evidence-based documentation rather than relying on an AI's generic best practices.

### Will this skill work with my specific tech stack or proprietary framework?

Yes, the skill is framework-agnostic and adapts its learning logic by parsing configuration files like package.json, tsconfig.json, or requirements.txt to understand your stack.

### Can I use this skill to set up a brand new project from scratch?

Master Learn requires an existing codebase with at least two files per category to identify a pattern; it cannot generate conventions from a completely empty repository.

### Does the agent automatically refactor my code to match the discovered patterns?

The skill identifies patterns and writes them to a draft.md file for your review, but it does not modify your source code, ensuring you maintain full control over any changes.

### Is this skill useful for onboarding other AI coding agents to a repository?

Absolutely—it is designed to create a "source of truth" for coding standards that can be fed into other AI agents to ensure their contributions remain consistent with your architectural style.

---

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.
