Mako Code Intel

Find syntax-aware code patterns and run static diagnostics in JavaScript and TypeScript files.

51|5|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/drhalto/agentmako --skill mako-code-intel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Mako Code Intel
Source: https://github.com/drhalto/agentmako/tree/main/mako-ai-claude-plugin/skills/mako-code-intel
Command: npx skills add https://github.com/drhalto/agentmako --skill mako-code-intel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you answer syntax-aware code questions when plain text search is too weak, and it helps you inspect focused diagnostics on known files after a fix or review.

Core Features & Use Cases

  • Structural Pattern Search: Find TypeScript, TSX, JavaScript, and JSX shapes such as function calls, hooks, imports, JSX attributes, or unsafe constructs.
  • Focused Linting: Run static diagnostics against selected files and review compact or full findings as needed.
  • Rule Drafting: Turn a landed fix into a draft rule pack so the same bug shape can be detected in the future.
  • Use Case: A developer wants to find every place a specific helper bypass pattern appears, then lint the suspect files and convert the fix into a reusable rule.

Quick Start

Ask the skill to find a structural code pattern in a narrow file scope, then lint the matching files and draft a rule if the fix should be enforced in the future.

Frequently Asked Questions about Mako Code Intel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find specific code patterns in TypeScript and JavaScript files?

You can find code patterns in TypeScript and JavaScript files using syntax-aware structural search to match function calls, hooks, imports, and JSX attributes instead of relying on plain text matching. This applies ast-grep-style matching to locate exact code shapes across indexed files.

What is the best way to lint selected JavaScript files after a code review?

The best way to lint selected JavaScript files is to run focused static diagnostics against your specified scope. This allows you to review compact or full findings on known files after applying a fix, ensuring targeted code quality validation.

Can I convert a resolved bug fix into a reusable linting rule?

Yes, you can convert a resolved bug fix into a reusable linting rule by drafting a rule pack. This extracts the bug pattern into a rule template so the same structural shape can be detected automatically in future code reviews.

Does ast-grep structural search work for finding unsafe constructs in TSX files?

Ast-grep structural search works effectively for finding unsafe constructs in TSX files by matching syntax-aware code shapes. It scans indexed TSX and JSX content to pinpoint specific function calls or attributes that plain text search would miss.

When do I need structural static analysis instead of plain text search?

You need structural static analysis instead of plain text search when looking for specific code shapes like hook usage or import patterns where syntax matters. It provides syntax-aware matching that identifies structural code constructs accurately.

What are the limitations of focused static diagnostics for code review?

Focused static diagnostics are limited to running against selected files rather than entire repositories automatically. The scope is restricted to known files you specify for review, meaning you must narrow the file scope before applying the linting analysis.