mcpField
I
ignore

ignore

github.com/terrylicaTesting & quality291 installsUpdated 1d ago
Repository

About ignore

ignore is a skill for managing global exclusions used by the `lint-relative-paths` linter. It supports adding, listing, and removing substring patterns for workspaces whose Markdown links intentionally use relative paths.

Key features

  1. 01Add workspace ignore patterns
  2. 02List configured patterns
  3. 03Remove patterns
  4. 04Match workspace paths by substring
  5. 05Verify changes to the ignore file

Use cases

  1. 01Excluding a repository from relative-path checks
  2. 02Reviewing existing global exclusions
  3. 03Removing an obsolete workspace pattern

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/terrylica/cc-skills --skill ignore

After installing, type/ignorein Claude Code to confirm it loaded.

Bundled filesreferences/evolution-log.md

Details

From the project README

Navigation: Plugin CLAUDE.md | Root CLAUDE.md

Global Ignore Patterns

Manage global ignore patterns for the lint-relative-paths linter.

Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.

Purpose

Some repositories intentionally use relative paths in markdown (e.g., ../docs/file.md) instead of repo-root paths (e.g., /docs/file.md). This command manages a global ignore file that skips path validation for matching workspaces.

Actions

ActionDescriptionExample
addAdd a pattern to the global ignore file/statusline-tools:ignore add my-repo
listShow current patterns/statusline-tools:ignore list
removeRemove a pattern from the ignore file/statusline-tools:ignore remove my-repo

Pattern Matching

Patterns use substring matching. A pattern matches if the workspace path contains the pattern.

Example: Pattern my-project matches:

  • /Users/user/projects/research-repo
  • /Users/user/eon/research-repo.worktree-feature-x
  • /home/user/code/research-repo-v2

Ignore File Location

~/.claude/lint-relative-paths-ignore

Lines starting with # are comments.

Execution

Skip Logic
  • If action + pattern provided -> execute directly
  • If only list provided -> show patterns immediately
  • If no arguments -> use AskUserQuestion flow
Workflow
  1. Check Current State: Run list to show existing patterns
  2. Action Selection: Use AskUserQuestion to select action:
    • "Add a new pattern" -> prompt for pattern
    • "Remove an existing pattern" -> show current patterns to select
    • "Just view current patterns" -> display and exit
  3. Pattern Input: For add/remove, AskUserQuestion with examples
  4. Execute: Run the management script
  5. Verify: Confirm changes applied
AskUserQuestion Flow (No Arguments)

When invoked without arguments, guide the user interactively:

Question: "What would you like to do with lint-relative-paths ignore patterns?"
Options:
  - "Add pattern" -> "Add a new repository pattern to skip path linting"
  - "List patterns" -> "Show all current ignore patterns"
  - "Remove pattern" -> "Remove an existing pattern from the ignore list"

For "Add pattern":

Question: "Enter the repository pattern to ignore"
Note: Patterns use substring matching. Example: 'research-repo' matches any path containing 'research-repo'.
Direct Execution (With Arguments)

Parse $ARGUMENTS and run the management script:

/usr/bin/env bash << 'IGNORE_SCRIPT_EOF'
PLUGIN_DIR="$(cc-plugin-root statusline-tools)"
bash "$PLUGIN_DIR/scripts/manage-ignore.sh" $ARGUMENTS
IGNORE_SCRIPT_EOF

Manual Editing

The ignore file can also be edited manually:

# View current patterns
cat ~/.claude/lint-relative-paths-ignore

# Add a pattern manually
echo "my-repo-pattern" >> ~/.claude/lint-relative-paths-ignore

Troubleshooting

IssueCauseSolution
Pattern not matchingSubstring match is strictUse broader pattern (e.g., forge vs research-repo)
Ignore file not found~/.claude doesn't existCreate with mkdir -p ~/.claude
Permission deniedFile not writableCheck file permissions with ls -la
Script not foundPlugin not installedReinstall plugin from marketplace

Post-Execution Reflection

After this skill completes, check before closing:

  1. Did the command succeed? — If not, fix the instruction or error table that caused the failure.
  2. Did parameters or output change? — If the underlying tool's interface drifted, update Usage examples and Parameters table to match.
  3. Was a workaround needed? — If you had to improvise (different flags, extra steps), update this SKILL.md so the next invocation doesn't need the same workaround.

Only update if the issue is real and reproducible — not speculative.

Comments

Markdown supported