• MATCH
  • MISS
  • ERROR
  • HUMAN

How to verify cicd file filters with your AI

Connect the Glob Pattern Tester to your AI client once. You can then check if your patterns actually catch the files you intend to target.

Ask AI about this page

Short answer

How do I check if my CI/CD glob patterns work?

Give your AI a glob pattern and a list of file paths. It uses the test_glob tool to see which paths match, showing you exactly what your pipeline will touch. You'll see the specific matches and misses below.

Validation outcomes

What you'll find

The AI sorts your pattern results into clear categories.

MATCH

Successful hits

The AI identifies every path that satisfies your pattern. You get a list of files that will be included in your build.

MISS

Excluded files

The AI flags paths that your pattern ignores. This helps you spot files that should have been caught but weren't.

ERROR

Syntax failures

If your pattern is broken, the AI catches the error. You'll know immediately if your syntax is invalid.

HUMAN

Final decision

The AI provides the raw matching data. You decide if the pattern logic actually meets your deployment needs.

The workflow

What your AI does when the pattern arrives.

The AI handles the pattern matching logic so you don't have to manually trace every path.

  1. Parse pattern

    Your AI reads the glob pattern you provided to understand the filter rules.

    test_glob
  2. Run tests

    The AI runs the pattern against your list of file paths using the test_glob tool.

    test_glob
  3. Compare results

    The AI checks the output to see which files hit or missed the target.

    test_glob
  4. Summarize

    The AI presents a clear list of matches and misses for your review.

    test_glob

Try it

Copy these to start.

Paste these into your chat to begin testing.

Starting points

Replace the bracketed text with your specific pattern and file list.

minimatch Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_qLLsWj4WeWzoDmQVDxXbNpJEtfjpeUWDKsrWoAhW/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — minimatch capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "glob-pattern-tester-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_qLLsWj4WeWzoDmQVDxXbNpJEtfjpeUWDKsrWoAhW/mcp"
    }
  }
}
Copy into chat04
  • Test this glob pattern: [pattern] against these paths: [list of paths]

  • Does the pattern [pattern] correctly include my config files in [directory path]?

  • Check if [pattern] will accidentally include my secret files in [directory path]

  • I need to match all .js files in the src folder. Does [pattern] work for this?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Glob Pattern Tester once, then ask.

Connect the MCP to your client in one click. Your credentials stay encrypted, and you can start testing immediately.

Connect Glob Pattern Tester to your AI

FAQ

How this task behaves

  • 01

    Can the AI modify my CI/CD files?

    No. The AI only tests patterns against the paths you provide. It cannot write or change any files.

  • 02

    Does this work with any glob syntax?

    It uses the standard globbing logic provided by the test_glob tool. It won't support proprietary or non-standard syntax used by niche tools.

  • 03

    Can the AI fix my pattern for me?

    The AI can suggest a better pattern based on your goals, but you have to manually update your configuration files.

  • 04

    Do I need to provide a full file tree?

    No. You can just provide a specific list of paths you are worried about.

  • 05

    Can the AI run this test inside my build pipeline?

    No. This is for testing patterns within your AI client before you commit them to your pipeline.

  • More questions about Glob Pattern Tester? The Connector page answers them. See everything the Glob Pattern Tester Connector can do

Connect minimatch to Claude, Cursor, ChatGPT & more