mcpkernel: Skill for Claude Code

.github/skills/test-and-merge/SKILL.md

test-and-merge is a skill for Claude Code, Codex from piyushptiwari1/mcpkernel. It costs 50 tokens per session (398 once invoked), scanned A, original, Apache-2.0.

A release-check workflow for testing a Python project, checking code style and documentation, and merging a development branch into the main branch when everything passes.

In plain words
What is it for?
Use it to inspect branches, run the full pytest test suite, run Ruff lint checks, review key documentation files and produce a merge status report.
Why use it?
It gathers the checks needed before a merge and prevents merging when tests, style checks or documentation checks fail.

Skill for Claude CodeCodex

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

This is piyushptiwari1/mcpkernel's own configuration. It tells Claude Code and Codex how to work on mcpkernel 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 mcpkernel configures →

Reuse

Borrowing it

Nothing to install: this file belongs to piyushptiwari1/mcpkernel. 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/piyushptiwari1/mcpkernel/main/.github/skills/test-and-merge/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/piyushptiwari1/mcpkernel

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 test-and-merge

README.md
[![agentmods](https://agentmods.dev/badge/skills/piyushptiwari1/mcpkernel/test-and-merge/github.svg)](https://agentmods.dev/skills/piyushptiwari1/mcpkernel/test-and-merge)
Your own site
<a href="https://agentmods.dev/skills/piyushptiwari1/mcpkernel/test-and-merge"><img src="https://agentmods.dev/badge/skills/piyushptiwari1/mcpkernel/test-and-merge/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 test-and-merge

Your own site · 80×15
<a href="https://agentmods.dev/skills/piyushptiwari1/mcpkernel/test-and-merge"><img src="https://agentmods.dev/badge/skills/piyushptiwari1/mcpkernel/test-and-merge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 398 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.
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.00050 $0.00398
Opus 5 $0.00025 $0.00199
Sonnet 5 $0.00010 $0.00080
Haiku 4.5 $0.00005 $0.00040

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

Security

Grade A, and why

test-and-merge 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/test-and-merge/SKILL.md · 65 lines

What it actually says

Test and Merge Workflow

When to Use

  • Validating that all tests pass before merging
  • Preparing the development branch for merge to main
  • Running comprehensive quality checks

Procedure

Step 1: Verify Branch State

git branch
git status
git log --oneline development..HEAD  # or HEAD..development

Step 2: Run Full Test Suite

python -m pytest tests/ -v --tb=short
  • All 106+ tests must pass
  • Zero failures, zero errors

Step 3: Run Lint Check

ruff check src/ tests/
  • No lint errors allowed

Step 4: Verify Documentation

  1. Check CHANGELOG.md has entries for recent changes
  2. Check README.md is current
  3. Check docs/USAGE.md matches current APIs

Step 5: Merge Decision

If ALL checks pass:

git checkout main
git merge --no-ff development -m "chore: merge development to main — all tests passing"
git checkout development

If ANY check fails:

  • Report failures with details
  • Do NOT merge
  • List what needs to be fixed

Step 6: Report

## Merge Report
- Tests: PASS/FAIL (count)
- Lint: PASS/FAIL
- Docs: UP TO DATE / NEEDS UPDATE
- Merge: COMPLETED / BLOCKED (reason)

References

  • Test suite: tests/
  • CI config: .github/workflows/ci.yml
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 · 65 lines · 50 tokens per session scan A 71eacc26cddb

Subscribe to this mod's changes

test-and-merge is a skill published in the GitHub repository piyushptiwari1/mcpkernel (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 50 tokens to every session and 398 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

playwright-skill

IMPORTANT - Path Resolution: This skill can be installed in different locations (plugin system, manual installation, global, or project-specific). Before executing any commands, determine the skill directory based on where you loaded this SKILL.md file, and use that path in all commands below.

Agent-Threat-Rule/agent-threat-rules · 60 tokens

terraform-skill

Terraform infrastructure as code best practices.

Agent-Threat-Rule/agent-threat-rules · 10 tokens

AI & LLM Security

LLM and AI application security testing — prompt injection, jailbreak resistance, OWASP LLM Top 10 (2025), RAG and agent/tool-use security, model supply chain, and AI red teaming for authorized assessments.

Masriyan/Claude-Code-CyberSecurity-Skill · 50 tokens

pypict-skill

Pairwise test generation.

Agent-Threat-Rule/agent-threat-rules · 10 tokens

altitude-check

Check whether a CoSAI Risk Map entry is pitched at the right altitude (granularity). For a control: objective-not-implementation, not-a-restated-risk, posture-not-mandate, solved-problem, no-duplication. For a risk: the merge-vs-distinct two-test, threat-not-control-gap, and real-not-hypothetical. For a component: the…

cosai-oasis/secure-ai-tooling · 146 tokens

fulfill-git-escrow

Fulfill a git escrow bounty by writing a solution or submitting an existing one. Use when the user wants to solve a test suite challenge, write code to pass tests, and claim a token reward. Requires the git-escrows CLI (npm i -g git-escrows).

internet-court/internet-court-skill · 65 tokens