mizchi/skills
Skill Claude CodeCodex
MoonBit code generation and packaging best practices. Use when writing MoonBit code to avoid common AI mistakes with syntax, tests, and benchmarks, or when defining and publishing a Wasm executable with SKILL.md for the MoonBit Skills Marketplace.
mizchi/skills
Skill Claude CodeCodex
Plan and execute language-to-language server or application migrations with behavior parity. Use when porting modules, services, APIs, or runtimes between programming languages; generating source-runtime oracles and fixtures; generating migrated parity tests; detecting runtime, standard-library, serialization…
mizchi/skills
Skill Claude CodeCodex
Migrate a TypeScript codebase to MoonBit on the js target while keeping the same JavaScript API contract, using mizchi/js (JS/Web/Node bindings), mizchi/x (cross-target async backend: process/fs/http/ws), and mizchi/npmtyped (npm bindings). Use when porting a TS library, Node service, npm package, or Cloudflare Worker…
mizchi/skills
Skill Claude CodeCodex
Methodology for iteratively improving agent-facing instructions (skills / slash commands / CLAUDE.md / code-gen prompts) via bias-free executor + two-sided evaluation (self-report + instruction-side metrics). Meta-skill, invoke ONLY when the user explicitly asks for an "empirical" eval of a prompt or skill, or for the…
mizchi/skills
Skill Claude CodeCodex
A repository analysis guide that extracts domain terms, industry language, internal product vocabulary, implementation maps, technical structure, and onboarding diagrams. It can work across repositories or a GitHub organization.
mizchi/skills
Skill Claude CodeCodex
Japanese-language style guide and AI-tone detection rubric for mizchi-authored blog posts (zenn / dev.to). Includes a subagent dispatch procedure that scores a draft on two axes — looks-like-mizchi vs sounds-AI-generated. Use after drafting an article during the style-matching revision loop.
mizchi/skills
Skill Claude CodeCodex
Meta-skill for auditing and rewriting SKILL.md description fields per the agentskills.io optimizing-descriptions framework, layered with mizchi's two-track trigger policy (Meta = explicit-invoke-only, Project = pushy auto-trigger). Invoke ONLY when the user explicitly asks to "optimize a skill description," "audit…
mizchi/skills
Skill Claude CodeCodex
Pair "what failed first" with "what finally worked" and codify the should-have-known-it insight as an ast-grep rule, a skill, or a CLAUDE.md rule. Meta-skill: invoke ONLY when the user explicitly says "codify today's lessons," "make it a skill," "drop it into lint," or asks to extract a reusable rule from a…
mizchi/skills
Skill Claude CodeCodex
Use ONLY when the user explicitly asks to discover or evaluate a skill from OUTSIDE the curated catalog — e.g., "find a Stripe skill", "is there a skill for X?", "evaluate this candidate before adopting". Meta-skill, complementary to skill-selector: do NOT auto-invoke on routine apm-management, project-init, or…
mizchi/skills
Skill Claude CodeCodex
Meta-skill for picking project skills via APM. Invoke ONLY when the user explicitly asks to set up apm.yml, choose which skills a project needs, or evaluate a catalog match — do NOT auto-invoke on routine project-init or apm-management tasks. Two-phase: pick from a curated catalog first; only escalate to broader…
mizchi/skills
Skill Claude CodeCodex
Evaluate the reproducibility of technical articles. Dispatch a subagent to simulate a first-time reader reproducing the work locally and list missing information. Use as the final check on a draft before publication.
mizchi/skills
Skill Claude CodeCodex
Use when iterating on a skill's prompt with the waxa CLI (https://github.com/mizchi/skills/tree/main/tools/waxa) — authoring scenarios, choosing graders, interpreting unclear-points, advancing a ledger, and judging convergence. Encodes the four-stage iteration pattern observed in real iter loops (structural fix →…
mizchi/skills
Skill Claude CodeCodex
Use when embedding @mariozechner/pi-coding-agent as a coding-agent runtime in Node scripts, writing pi extensions (plugins) with pi.registerTool / pi.registerCommand / pi.on, packaging and pi install from npm/git, or picking between the SDK and pi --mode rpc for non-Node hosts. Covers session setup, the cwd × tools…
mizchi/skills
Skill Claude CodeCodex
Use when setting up Node 24+ built-in node:sqlite with the loadable sqlite-vec extension for vector / RAG storage in TypeScript without better-sqlite3, or when debugging vec0 BigInt rowids, vitest hanging on sqlite-vec, .ts import errors under node:sqlite, or "sqlite extension not loadable". Covers extension loading…
mizchi/skills
Skill Claude CodeCodex
Static lint for sqlc-style SQL catalogs. Catches duplicate query names, missing semicolons, SELECT , double-wildcard LIKE, and other cheap-but-easy-to-miss mistakes. Optional sqlfluff integration for full style coverage.
mizchi/skills
Skill Claude CodeCodex
Run EXPLAIN QUERY PLAN against every query in a sqlc-style catalog and diff the plans against a baseline. Detects new full-table SCANs and TEMP B-TREE sort scans introduced by PRs. SQLite/D1-only today; engine extension noted below.
mizchi/skills
Skill Claude CodeCodex
Index coverage and N+1 review aids for SQLite/D1 schemas with a sqlc catalog. Surfaces unused indexes (with FK CASCADE awareness so cascade-load-bearing indexes are not flagged), queries that scan tables without index help, and for-loops calling generated SQL fns.
mizchi/skills
Skill Claude CodeCodex
SQL injection screening for host code (MoonBit / TS / Rust) plus secretlint setup notes. Flags single-line template-literal or string-concat SQL builders, regardless of value source — the scanner is line-based and does NOT trace data flow, so a clean scan is not proof of safety (multi-line template literals are…
mizchi/skills
Skill Claude CodeCodex
Post-generation safety checks for sqlc-gen-moonbit + Cloudflare D1. Use when a MoonBit Worker uses sqlc-gen-moonbit and you need to gate against BigInt-bind hangs (D1 1101) and SQL placeholder mix.
mizchi/skills
Skill Claude CodeCodex
Use when running Playwright via terminal CLI — npx playwright test (test runner), codegen (interactive recording), screenshot / pdf (one-off captures), and CI sharding. NOT for agent-driven real-time browser control (use claude-in-chrome MCP tools for that).
mizchi/skills
Skill Claude CodeCodex
Best practices and reference for Playwright Test (E2E). Covers how to write tests, avoiding fixed waits, network triggers, DnD, shard/retry setup on GitHub Actions, and more. Use when writing, reviewing, or configuring CI for Playwright tests.
mizchi/skills
Skill Claude CodeCodex
Reference for APM (Agent Package Manager) — apm.yml syntax, install / uninstall / update commands, target detection, lockfile workflow. Read when you need exact field names, but do NOT auto-invoke on every apm-related task; user prompts about projects with installed skills can be handled with general APM knowledge.…
mizchi/skills
Skill Claude CodeCodex
Operate ast-grep as a project lint tool. Covers sgconfig.yml, fix/rewrite rules, constraints, transform, testing, and CI. Use when writing rules ast-grep can express but general-purpose linters cannot.
mizchi/skills
Skill Claude CodeCodex
Meta-skill for mizchi's chezmoi dotfiles. Invoke ONLY when the user explicitly asks to manage / diff / apply chezmoi sources, add a skill to dotfiles, audit the APM vs chezmoi boundary, or initialize a new machine. Covers source location, diff/apply flow, skill addition, pre-push (pkfire + secretlint). Do NOT…