cl-mallet-linter

Apply Mallet linting to Lisp source code and output CI/CD formats.

1|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/cxxxr/.claude --skill cl-mallet-linter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cl-mallet-linter
Source: https://github.com/cxxxr/.claude/tree/main/skills/cl-mallet-linter
Command: npx skills add https://github.com/cxxxr/.claude --skill cl-mallet-linter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Malletは、Common Lispのリンターとしてスタイルを厳格に強制するのではなく、実際の間違いを捉えることに特化しています。この Skill は Mallet のルールと設定を適用し、コードレビューや品質チェックの負担を軽減します。

Core Features & Use Cases

  • 自動リンティング: Lisp コード全体に対して Mallet ルールを適用し、実際のエラーを検出します。
  • ルール有効化と自動修正: -a/--all--fix-dry-run--fix などのオプションを組み合わせて品質を向上させます。
  • CI統合: リポジトリ全体の品質を継続的にチェックするための CI ワークフローに組み込み可能です。

Quick Start

プロジェクトに対して Mallet を実行します。例: mallet src/。自動修正の事前検証には mallet --fix-dry-run src/、修正適用には mallet --fix src/ を使用します。

Frequently Asked Questions about cl-mallet-linter

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

FAQPage Schema
How do I lint Common Lisp code to catch actual errors?

Mallet is a linter for Common Lisp that identifies real mistakes rather than enforcing style. This Skill applies Mallet rules to your Lisp source code, detecting errors during code review. Run it on your project directory or specific files to get actionable results in text, line, or JSON format suitable for CI/CD workflows.

Can I automatically fix linting issues in Lisp code?

Yes. This Skill supports dry-run and auto-fix modes. Use `--fix-dry-run` to preview changes without applying them, or `--fix` to apply corrections directly. These options let you validate fixes before committing them to your codebase.

How do I integrate Mallet linting into my CI/CD pipeline?

This Skill outputs results in CI/CD-friendly formats—text, line, and JSON—with conventional exit codes reflecting success, warnings, or errors. Configure it to run on your entire repository or targeted paths, apply per-path rule overrides, and ignore patterns as needed for your workflow.

What types of mistakes does Mallet detect in Lisp?

Mallet catches real errors in Common Lisp code through its defined rule set, not style violations. The Skill enforces these rules and configurations across your codebase, surfacing issues that code review might miss and reducing quality-check overhead.

Can I customize linting rules and ignore specific paths?

Yes. This Skill supports per-path rule overrides, preset options, and ignore patterns. You can tailor Mallet's behavior to your project structure, suppressing checks on specific directories or files while enforcing rules elsewhere.