European-Parliament-MCP-Server: Skill for Claude Code

.github/skills/code-quality-excellence/SKILL.md

code-quality-excellence is a skill for Claude Code, Codex from Hack23/European-Parliament-MCP-Server. It costs 29 tokens per session (700 once invoked), scanned A, original, Apache-2.0.

A code-quality checklist and configuration approach for TypeScript MCP servers, including strict type checking, linting, unused-code detection, and quality thresholds.

In plain words
What is it for?
Use it before commits, in code reviews, or in continuous integration to check TypeScript projects with ESLint, strict mode, Knip, and test-coverage gates.
Why use it?
It catches unsafe types, inconsistent code, unused code, missing returns, and other problems before they reach users or production.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is Hack23/European-Parliament-MCP-Server's own configuration. It tells Claude Code and Codex how to work on European-Parliament-MCP-Server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything European-Parliament-MCP-Server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Hack23/European-Parliament-MCP-Server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Hack23/European-Parliament-MCP-Server/main/.github/skills/code-quality-excellence/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Hack23/European-Parliament-MCP-Server

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for code-quality-excellence

README.md
[![agentmods](https://agentmods.dev/badge/skills/hack23/european-parliament-mcp-server/code-quality-excellence/github.svg)](https://agentmods.dev/skills/hack23/european-parliament-mcp-server/code-quality-excellence)
Your own site
<a href="https://agentmods.dev/skills/hack23/european-parliament-mcp-server/code-quality-excellence"><img src="https://agentmods.dev/badge/skills/hack23/european-parliament-mcp-server/code-quality-excellence/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for code-quality-excellence

Your own site · 80×15
<a href="https://agentmods.dev/skills/hack23/european-parliament-mcp-server/code-quality-excellence"><img src="https://agentmods.dev/badge/skills/hack23/european-parliament-mcp-server/code-quality-excellence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 700 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 70
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.00700
Opus 5 $0.00015 $0.00350
Sonnet 5 $0.00006 $0.00140
Haiku 4.5 $0.00003 $0.00070

Measured 10d ago against content hash 82810738cbe4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

code-quality-excellence scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/code-quality-excellence/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Code Quality Excellence Skill

Purpose

Maintain high code quality through automated static analysis, TypeScript strict mode, and quality gates for MCP server projects.

When to Use

  • ✅ Before committing TypeScript code
  • ✅ In CI/CD pipeline quality checks
  • ✅ During code reviews
  • ✅ Regular quality audits

TypeScript Strict Mode

{
  "compilerOptions": {
    "strict": true,
    "noImplicitAny": true,
    "strictNullChecks": true,
    "noUncheckedIndexedAccess": true,
    "noImplicitReturns": true,
    "noFallthroughCasesInSwitch": true,
    "exactOptionalPropertyTypes": true
  }
}

ESLint Configuration

// eslint.config.js
import tseslint from 'typescript-eslint';

export default tseslint.config(
  tseslint.configs.strictTypeChecked,
  {
    rules: {
      '@typescript-eslint/no-explicit-any': 'error',
      '@typescript-eslint/prefer-nullish-coalescing': 'error',
      '@typescript-eslint/strict-boolean-expressions': 'error',
      '@typescript-eslint/explicit-function-return-type': 'error',
    }
  }
);

Quality Gates

Metric Threshold
Test coverage ≥80% lines, ≥70% branches
Security coverage ≥95% for security-critical code
TypeScript errors 0
ESLint errors 0
Unused exports (Knip) 0
License violations 0

Quality Commands

npm run lint          # ESLint check
npx tsc --noEmit      # Type checking
npm run knip          # Unused detection
npm test              # Unit tests
npm run test:coverage # Coverage report
npm run test:licenses # License compliance

ISMS Policy References

Core policies:

Read the full file on GitHub · 90 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 90 lines · 29 tokens per session scan A 82810738cbe4

Subscribe to this mod's changes

code-quality-excellence is a skill published in the GitHub repository Hack23/European-Parliament-MCP-Server (28 stars, last pushed yesterday), licensed Apache-2.0. It adds 29 tokens to every session and 700 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

no-bare-casts

Writing as in TypeScript or TSX production code, modifying a file that contains a bare as cast, silencing a type error with a cast, encountering as unknown as, or reviewing a cast site.

prisma/orm · 52 tokens

plankton-code-quality

Write-time code quality enforcement using Plankton — auto-formatting, linting, and Claude-powered fixes on every file edit via hooks.

loulanyue/awesome-claude-notes · 34 tokens

typescript-style-guide

Apply, review, and explain the opinionated conventions in the TypeScript Style Guide. Use automatically only when TypeScript conventions are part of the requested task, including type modelling, discriminated unions, function APIs, variables and state, naming, source organization, React props, component APIs, state…

mkosir/typescript-style-guide · 79 tokens

add-export

Add a new subpath export to the @cyanheads/mcp-ts-core package. Use when creating a new public API surface that consumers import from a dedicated subpath (e.g., @cyanheads/mcp-ts-core/newutil).

cyanheads/mcp-ts-core · 50 tokens

architecture-audit

Systematic architecture audit and refactoring methodology for Rust + TypeScript codebases. Use when performing refactoring, cleanup, unification, code review, dead code removal, module reorganization, or tech debt elimination. Ensures no naming confusion, semantic overloading, hidden defaults, duplicate logic, or…

org2AI/ORG2 · 70 tokens

code-review-typescript

Provides TypeScript-specific code review patterns covering strict mode, ESM, type safety, branded types, discriminated unions, async patterns, runtime safety, and common anti-patterns. Activates on detection of tsconfig.json, .ts, or .tsx files during code review — loaded automatically by dh:code-reviewer.

Jamie-BitFlight/claude_skills · 70 tokens