skill-checker 0.1.15 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -2281,9 +2281,11 @@ var AMPLIFICATION_PATTERNS = [
2281
2281
  var UNRESTRICTED_TOOL_PATTERNS = [
2282
2282
  /\bBash\s*\(\s*\*\s*\)/,
2283
2283
  /allowed[_-]?tools\s*:\s*\[?\s*["']?\*["']?\s*\]?/i,
2284
- /\ball\s+tools\b/i,
2285
- /\bunrestricted\s+access\b/i,
2286
- /\bfull\s+access\b/i
2284
+ /\bunrestricted\s+(?:access|tool)/i,
2285
+ /\ball\s+tools?\s+access\b/i,
2286
+ /\bfull\s+tool\s+access\b/i,
2287
+ /\b(?:need|require|grant|give|allow|request|enable)\s+all\s+tools\b/i,
2288
+ /\ball\s+tools\s+(?:enabled|granted|allowed|required|needed)\b/i
2287
2289
  ];
2288
2290
  var DISABLE_SAFETY_PATTERNS = [
2289
2291
  /\bdisable\s+(safety|security|checks?|hooks?|guard)/i,
@@ -2291,13 +2293,12 @@ var DISABLE_SAFETY_PATTERNS = [
2291
2293
  /\bskip\s+(safety|security|checks?|hooks?|guard|verification)/i,
2292
2294
  /\bturn\s+off\s+(safety|security|checks?|hooks?)/i,
2293
2295
  /--no-verify\b/,
2294
- /--force\b/,
2295
2296
  /--skip-hooks?\b/
2296
2297
  ];
2297
2298
  var IGNORE_RULES_PATTERNS = [
2298
- /\bignore\s+(the\s+)?CLAUDE\.md\b/i,
2299
- /\bignore\s+(the\s+)?project\s+rules?\b/i,
2300
- /\bignore\s+(the\s+)?\.claude\b/i,
2299
+ /\bignore\s+(the\s+)?CLAUDE\.md\b(?!\s+(?:example|template|snippet|sample))/i,
2300
+ /\bignore\s+(the\s+)?project\s+rules?\b(?!\s+(?:example|template|snippet|sample))/i,
2301
+ /\bignore\s+(the\s+)?\.claude\b(?!\s+(?:example|template|snippet|sample))/i,
2301
2302
  /\boverride\s+(the\s+)?project\s+(settings?|config|rules?)\b/i,
2302
2303
  /\bdo\s+not\s+(follow|obey|respect)\s+(the\s+)?(project|CLAUDE)/i,
2303
2304
  /\bdisregard\s+(the\s+)?(project|CLAUDE)\s+(rules?|config|settings?)/i