Skip to content
Agent Memory
Command

/lint

Run these health checks and report results:

BOOST
From plugin
oh-my-kiro
10715 skills2 agents15 commands2 hooks
Install
$ npx -y skills add kaimingwan/oh-my-kiro --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/lint

Context preview

What this command does when you run it.

Run these health checks and report results:

Command definition

lint.md

Run these health checks and report results:

1. CLAUDE.md Line Count

LINES=$(wc -l < CLAUDE.md | tr -d ' ')
[ "$LINES" -lt 500 ] && echo "✅ CLAUDE.md: $LINES lines (< 500)" || echo "❌ CLAUDE.md: $LINES lines (≥ 500 — trim it)"

2. .claude/rules/ File Sizes

for f in .claude/rules/*.md; do
  LINES=$(wc -l < "$f" | tr -d ' ')
  NAME=$(basename "$f")
  [ "$LINES" -lt 200 ] && echo "✅ $NAME: $LINES lines" || echo "❌ $NAME: $LINES lines (≥ 200)"
done

3. Layer Headers

for f in .claude/rules/*.md; do
  NAME=$(basename "$f")
  grep -q 'Layer: Agent Rule' "$f" && echo "✅ $NAME has header" || echo "❌ $NAME missing Layer header"
done

4. CLAUDE.md / AGENTS.md Sync

diff CLAUDE.md AGENTS.md && echo "✅ CLAUDE.md and AGENTS.md in sync" || echo "❌ CLAUDE.md and AGENTS.md out of sync — run: cp CLAUDE.md AGENTS.md"

5. Duplication Check

DUPS=0
for f in .claude/rules/*.md; do
  while IFS= read -r line; do
    [ -z "$line" ] && continue
    echo "$line" | grep -q '^#' && continue
    if grep -qF "$line" knowledge/rules.md 2>/dev/null; then
      echo "⚠️ Duplicate: $line"
      DUPS=$((DUPS + 1))
    fi
  done < "$f"
done
[ "$DUPS" -eq 0 ] && echo "✅ No verbatim duplication" || echo "❌ $DUPS duplicated lines between .claude/rules/ and knowledge/rules.md"

Report all results. If any ❌, list recommended fixes.

Ships withoh-my-kiro

Your AI agent forgets everything. Mine doesn't. oh-my-kiro is a framework that gives your AI coding agent persistent memory, deterministic workflows, and self-evolving intelligence. Like oh-my-zsh for Zsh — but for AI agents. Day 1: generic agent.

Get the whole plugin

Other commands on oh-my-kiro.