Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    master learn

    1

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

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    master learn

    master learn

    Example session with this skill installed

    /master-learn data fetching and error handling

    • Read your context and instructions
    • Compiled the master learn

    I have scanned the repository to identify your patterns for data fetching and error handling. I found 12 files related to these areas and identified two strong candidates and one split decision.

    Pattern Analysis Summary

    • FETCH-1 (Candidate): Use custom hooks for data fetching. Found in 8 of 9 relevant files.
    • ERR-1 (Candidate): Centralized error handling via a useToast hook inside try/catch blocks.

    ERR-2 (Needs-Decision): There is a split between returning error objects and throwing exceptions in your utility functions.

    I have updated .claude/patterns/draft.md with the full details and golden file references.

    Data fetching: your code does this two ways.

    • A) Fetch directly inside the component (2 files, e.g. src/components/LegacyTable.tsx)
    • B) Put fetching in a useSomething hook (7 files, e.g. src/hooks/useProjects.ts)

    My recommendation: B. This keeps your components focused on UI and allows the fetch logic to be reused or tested independently.
    Which one should be your rule?

    Next steps

    1. Choose option A or B for data fetching to resolve the split.
    2. Review the detailed candidate entries in .claude/patterns/draft.md.
    3. Run /master-review to move these candidates into your permanent rules.

    Connects securely to your tools. The creator never sees your data.

    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

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scanned

    Verified clean 7 days ago

    • Passed all security checks, Safe to install

    Listed7 days ago

    What's inside

    Frequently Asked Questions