code-implementation

code-implementation is a skill for Claude Code, Codex from apache/shardingsphere. It costs 90 tokens per session (838 once invoked), scanned A, original, Apache-2.0.

A set of rules for implementing, fixing, refactoring, or removing repository code and verifying the resulting changes.

In plain words
What is it for?
Use it for production code, tests, scripts, build logic, generated files, and behavior-changing configuration.
Why use it?
It reduces regressions by requiring the right project rules, testing decisions, and verification steps before handoff.

Skill for Claude CodeCodex

About the project

Apache ShardingSphere is a database enhancement layer that makes heterogeneous databases easier to access and govern as a unified system, without replacing the underlying databases. It supports distributed database capabilities such as sharding, read-write splitting, SQL federation, encryption, masking, auditing, and traffic control for enterprise data architectures.

apache/shardingsphere · 20,793 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/apache/shardingsphere/code-implementation
Any agent
npx skills add apache/shardingsphere --skill code-implementation
Clone the repo
git clone --depth 1 https://github.com/apache/shardingsphere

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-implementation

README.md
[![agentmods](https://agentmods.dev/badge/skills/apache/shardingsphere/code-implementation.svg)](https://agentmods.dev/skills/apache/shardingsphere/code-implementation)
Your own site
<a href="https://agentmods.dev/skills/apache/shardingsphere/code-implementation"><img src="https://agentmods.dev/badge/skills/apache/shardingsphere/code-implementation.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 838 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00090 $0.00838
Opus 5 $0.00045 $0.00419
Sonnet 5 $0.00018 $0.00168
Haiku 4.5 $0.00009 $0.00084

Measured yesterday against content hash 6563786b671a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-implementation 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 yesterday.

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.

.codex/skills/code-implementation/SKILL.md · 36 lines

How it starts

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

Code Implementation

AGENTS.md remains authoritative for scope, permission, safety, architecture, and task lifecycle. Reading this Skill does not grant write, Git, remote, file-type, or scope authority.

Required References

Read every selected reference through EOF before relying on it. Do not substitute catalog metadata, a summary, another Skill, or ordinary coding judgment for a required repository source.

  • For every code-affecting write, read .codex/skills/code-implementation/references/rules/implementation.md, .codex/skills/code-implementation/references/rules/artifact-removal-and-contract-impact.md, and .codex/skills/code-implementation/references/rules/non-regression.md. Apply each contract, impact, or removal rule only when its own trigger matches.
  • Before deciding whether tests or test support are required, and before creating or changing them, read .codex/skills/code-implementation/references/rules/testing.md.
  • Before choosing or running verification and before handoff, read .codex/skills/code-implementation/references/verification.md.
  • For every implementation, fix, or refactor, read .codex/skills/coding-standards/SKILL.md through EOF and use its Implementation Guidance Mode. Do not run its standalone inventory or physical-line audit unless the user explicitly requests that audit.

Specialized repository Skills compose with this Skill when they write code. Their narrower rules add to these rules and do not replace them.

Workflow

  1. Apply the pre-write evidence, acceptance, frozen-boundary, baseline, architecture, and source-line gates in AGENTS.md. Before the first write, derive the exact file -> allowed change intent -> unmet acceptance criterion write allowlist required by the frozen-boundary gate. When the current request clearly authorizes the inferred allowlist, record and freeze it without asking the user to repeat the request; otherwise obtain confirmation of the exact allowlist, then record and freeze it before writing. Expand the frozen allowlist only after the user explicitly authorizes the exact additional path and change intent.
  2. Map every planned production and test change to one unsatisfied acceptance criterion and identify the supported existing paths that the change can affect.
  3. Classify functional and performance regression risk before the first relevant write. Capture any required behavioral or performance baseline using the protocol in .codex/skills/code-implementation/references/rules/non-regression.md.
  4. Implement the smallest clear change under .codex/skills/code-implementation/references/rules/implementation.md, and apply .codex/skills/code-implementation/references/rules/testing.md to every affected test decision.
  5. After each write, inspect every path and hunk the action may have changed. Stop at the existing scope or authority gate when a required change lies outside the frozen boundary.
  6. After the last implementation write, reapply the Coding Standards Implementation Guidance Mode to affected files and complete its final manual checklist recheck before final verification. Any later write returns the affected files and rules to this step.
  7. Run the narrowest meaningful checks under .codex/skills/code-implementation/references/verification.md, then verify functional and performance non-regression with evidence proportionate to the classified risk.
  8. Complete the repository completion loop, fix every safe in-scope required finding, rerun invalidated checks, and hand off only after a complete review finds no new required issue.

Read the full file on GitHub · 36 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 36 lines · 90 tokens per session scan A 6563786b671a

Subscribe to this mod's changes

code-implementation is a skill published in the GitHub repository apache/shardingsphere (20,793 stars, last pushed today), licensed Apache-2.0. It adds 90 tokens to every session and 838 once invoked, about $0.0005 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-09-03.

Related

Other skills, from other repositories

drt-analyze

Analyze DRT cluster health for a given time range. Reconstructs the operations timeline, checks CockroachDB metrics (availability, latency, storage, changefeeds, jobs, goroutines, admission control, LSM, KV prober) and logs for anomalies, correlates findings with disruptive operations to distinguish expected…

cockroachdb/cockroach · 149 tokens

redux-to-swr

Migrate React components from Redux + Saga to SWR hooks. Use when converting data fetching from Redux store (reducers, sagas, selectors, connect HOC) to SWR-based hooks in CockroachDB DB Console or cluster-ui.

cockroachdb/cockroach · 53 tokens

reduce-unoptimized-query-oracle

Reduce an unoptimized-query-oracle test failure log to the simplest possible reproduction case. Use when you have unoptimized-query-oracle.log files from a failed roachtest and need to find the minimal SQL to reproduce the bug.

cockroachdb/cockroach · 54 tokens

mma-investigator

Expert system for investigating MMA (Multi-Metric Allocator) behavior on CockroachDB clusters. Helps oncall engineers diagnose load imbalances, understand rebalancing decisions, and identify why MMA did or didn't act.

cockroachdb/cockroach · 47 tokens

review-crdb

Review code changes or PRs for quality, correctness, and reviewability. Use when asked to "review", "check", "provide feedback", or "post a review". Dispatches specialized agents in parallel for thorough analysis.

cockroachdb/cockroach · 49 tokens

system-table-change

Use when adding, removing, or modifying columns/indexes on system tables. Provides a checklist covering schema definitions, migrations, version gates, golden files, and test hashes.

cockroachdb/cockroach · 38 tokens