Skip to content
Agentmart
Submit a tool

add-lint-rule

Add a new lint rule to the validator

Skill by manuelmauro

IndexedMIT OR Apache-2.0★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/manuelmauro-add-lint-rule

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Add a new lint rule to the validator

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/add-lint-rule

What's inside

Skill name
add-lint-rule
Description
Add a new lint rule to the validator
License
MIT OR Apache-2.0
Instructions
65 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Add Lint Rule

Guide for adding a new lint rule to skilo.

## Steps

1. Choose a diagnostic code (E0XX for errors, W0XX for warnings)
2. Add the code to `DiagnosticCode` enum
3. Create the rule implementation
4. Register the rule in the Validator
5. Add configuration option if needed
6. Add tests
7. Update documentation

## File Locations

| File                     | Purpose                                   |
|--------------------------|-------------------------------------------|
| `src/skill/validator.rs` | `DiagnosticCode` enum, `Validator` struct |
| `src/skill/rules/mod.rs` | Rule trait, module exports                |
| `src/skill/rules/*.rs`   | Individual rule implementations           |
| `src/config.rs`          | Configuration options                     |

## Rule Trait

```rust
pub trait Rule: Send + Sync {
    fn name(&self) -> &'static str;
    fn check(&self, manifest: &Manifest) -> Vec<Diagnostic>;
}
```

## Example Rule

```rust
pub struct MyRule;

impl Rule for MyRule {
    fn name(&self) -> &'static str {
        "my-rule"
    }

    fn check(&self, manifest: &Manifest) -> Vec<Diagnostic> {
        // Validation logic here
        Vec::new()
    }
}
```

## Configuration

For threshold-based rules, use `Threshold` type:

```rust
// In config.rs
#[serde(deserialize_with = "deserialize_threshold")]
pub my_rule: Threshold,

// In validator.rs
if let Some(max) = config.rules.my_rule.resolve(DEFAULT) {
    rules.push(Box::new(MyRule::new(max)));
}
```

From manuelmauro/skilo, MIT OR Apache-2.0.

Signals

Stars
1
Forks
0
Open issues
1
Last commit (this folder)
Apr 1, 2026 (7 months ago)
Last release
Jun 8, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT OR Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from manuelmauro

Cite this page

add-lint-rule skill. Agent Mart. https://agentmart.dev/skills/manuelmauro-add-lint-rule (last updated 2026-10-24)