fix-bypass
Skill0 starsChanged 55 days agoMITView on GitHub
Fixes bypass suppressions at root cause. Use when cleaning type ignore, noqa, allow, unwrap.
In this repository156 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aes-agentSkill
- aes-capabilitiesSkill
- aes-contractSkill
- aes-docsSkill
- aes-lint-arwakySkill
- aes-migrationSkill
- aes-rootSkill
- aes-surfaceSkill
- aes-taxonomySkill
- aes-testing-suiteSkill
- aes-utilitySkill
- omnirouteSkill
- xai-apiSkill
- android-emulator-linux-gpsSkill
- chromium-profile-provisioningSkill
- flatpak-chromium-automationSkill
- qwen-web-arwaky-devSkill
- qwen-webSkill
- agent-tool-collectionSkill
- coding-agent-delegationSkill
- computer-useSkill
- hermes-agentSkill
- hermes-home-cleanupSkill
- hermes-messaging-gatewaysSkill
- merge-reconcilerSkill
- codegraphSkill
- cleanup-consolidateSkill
- codacy-analysis-cliSkill
- codacy-cloud-cliSkill
- codacy-code-reviewSkill
- codebase-inspectionSkill
- coderabbit-reviewSkill
- configure-codacy-cloudSkill
- configure-codacySkill
- fix-markdown-inline-htmlSkill
- harness-source-auditSkill
- no-mistakesSkill
- ponytail-auditSkill
- ponytail-debtSkill
- ponytail-gainSkill
- ponytail-helpSkill
- ponytail-reviewSkill
- ponytailSkill
- report-linter-false-positiveSkill
- setup-coverageSkill
- architecture-diagramSkill
- ascii-artSkill
- ascii-videoSkill
- baoyu-infographicSkill
- comfyuiSkill
- excalidrawSkill
- humanizerSkill
- manim-videoSkill
- no-ai-slopSkill
- p5jsSkill
- popular-web-designsSkill
- pretextSkill
- sketchSkill
- songwriting-and-ai-musicSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 43
If yes → Fix root cause and remove.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
fix-bypass
Rule: Fix the root cause instead of suppressing errors. No bypass comment or unsafe call without justification.
The Fundamental Question
"Is there a bypass comment or unsafe call?"
If yes → Fix root cause and remove.
Workflow
- Find bypass comments and unsafe calls (patterns + commands per language below).
- Diagnose — Why is there a bypass comment? What error is it hiding?
- Fix root cause — use the per-language fix mapping below.
- Remove the bypass comment or unsafe call.
- Verify — run the per-language type checker and linter; both must pass clean.
Pick the language section matching the codebase: Python · Rust · TypeScript.
Python
Bypass forms: # type: ignore, # noqa.
Find:
grep -rn "type: ignore" modules/*/src/
grep -rn "noqa" modules/*/src/
```text
**Fix root cause:**
- `type: ignore` → Add proper type annotations.
- `noqa` → Fix the lint violation (formatting, naming, unused imports, etc.).
**Verify:**
```bash
python -m mypy modules/ --ignore-missing-imports
pycodestyle modules/ --max-line-length=88
```text
### Verification Checklist
- [ ] All `# type: ignore` removed (or justified with explanation).
- [ ] All `# noqa` removed (or justified with explanation).
- [ ] Type checker passes without errors.
- [ ] Linter passes without violations.
---
## Rust
### Rules
- NO `#[allow(...)]` allowed (except in config exceptions)
- NO `unwrap()` allowed
- NO `expect()` allowed
- NO `panic!()` allowed
- Fix the root cause instead
### When to Use
- File has bypass comments
- File uses unwrap/expect/panic
### Workflow (2)
**Step 1: Find Bypass Comments** — Read code and find bypass comments and unsafe calls.
**Step 2: Fix Root Cause** — Fix underlying type/error.
**Step 3: Remove Comment/Call** — Remove the bypass comment or unsafe call.
### Common Violations
| Violation | Fix |
| ----------------------- | ---------------------------------------------- |
| `#[allow(dead_code)]` | Remove unused code or add to config exceptions |
| `#[allow(clippy::...)]` | Fix the clippy warning |
| `unwrap()` | Use `?` or `match` for error handling |
| `expect("msg")` | Use `?` or `match` for error handling |
| `panic!("msg")` | Return `Result::Err` instead |
---
## TypeScript
Bypass forms: `@ts-ignore`, `@ts-expect-error`, `// eslint-disable`.
**Find:**
```bash
grep -rn "@ts-ignore" packages/*/src/
grep -rn "@ts-expect-error" packages/*/src/
grep -rn "eslint-disable" packages/*/src/
```text
**Fix root cause:**
- `@ts-ignore` → Add proper type annotations.
- `@ts-expect-error` → Fix the type error or update the signature.
- `eslint-disable` → Fix the lint violation (unused imports, naming, etc.).
**Verify:**
```bash
npx tsc --noEmit
npx eslint packages/ --max-warnings 0
```text
### Verification Checklist (2)
- [ ] All `@ts-ignore` removed (or justified with explanation).
- [ ] All `@ts-expect-error` removed (or justified with explanation).
- [ ] All `// eslint-disable` removed (or justified with explanation).
- [ ] Type checker passes without errors.
- [ ] Linter passes without violations.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

