Skip to content

rajubhimani/developer-plugin

v0.1.0

One plugin with shared skills for Claude Code, Codex, Antigravity and GitHub Copilot.

developer-plugin

One source tree, four clients: Claude Code, Codex, GitHub Copilot and Antigravity. Skills live once in skills/; each client reads them through its own manifest. See docs/CLIENTS.md for the status of each.

ClientManifest usedSkillsContext / other
Claude Code.claude-plugin/plugin.jsonskills/AGENTS.md via CLAUDE.md
Codexplugin.json (root)skills/AGENTS.md
GitHub Copilotplugin.json (root)skills/rules not generated yet
Antigravityplugin.json (root)skills/rules/AGENTS.md; hooks.json at root

Layout

plugin.json                  Copilot + Codex manifest (Agent Plugins 1.0)
.claude-plugin/plugin.json   Claude Code manifest
skills/<name>/SKILL.md       shared skills (read by all four clients)

Keep the version the same in all three manifests. scripts/validate.py checks that and the skill frontmatter.

Rules

rules/coding-standards.md is the only place the coding rules are edited. make sync-rules generates the copies each tool reads:

  • skills/coding-standards/SKILL.md (Claude Code, Codex, Copilot)
  • rules/AGENTS.md (Antigravity)

make validate fails if a copy is out of date.

Skills are chosen by their description, so they load when relevant. Copilot's rules folder (com.github.copilot/rules/) is not generated yet; its file format is unverified.

Skills

Each skill loads only when its description matches the task, so the agent reads just what it needs. Every skill records when it was checked (verified:), and make validate fails when a date is more than 90 days old.

SkillUse it for
coding-standardsRules for every change (generated from rules/)
docs-and-indexDocs and index pages for code
project-navigatorFinding things across a projects folder
code-review-checklistReviewing a change
lang-pythonPython setup and gates (uv, ruff, pyright, pytest)
lang-rustRust setup and gates (clippy, rustfmt, cargo-deny)
lang-goGo setup and gates (golangci-lint v2, govulncheck)
lang-typescript-reactReact and TypeScript (Vite, ESLint, Vitest, Playwright)
lang-cC setup and gates (current standard, sanitizers, clang-tidy)
lang-cppC++ setup and gates (CMake presets, clang-tidy, sanitizers)
lang-javaJava setup and gates (current LTS JDK, Gradle catalog, static analysis)
repo-layoutMonorepo or polyrepo, changed-only builds, versioning
repo-api-and-uiContract-first APIs, compatibility, contract tests
architecture-monolith-vs-servicesModular monolith first, split on evidence
ci-cdPipelines, token permissions, pinned actions, OIDC, SBOM, releases
feature-workflowThe path from requirement to feature, tasks, tests and completion
task-trackingCreating, moving and reading tasks; the UTC log and by field
standing-decisionsRecording rejections and decisions so they are not proposed again
project-alignmentKeeping requirements, tests, docs and hygiene aligned (make align)
project-setupSetting up one project or a folder of projects
git-workflowBranches, commits, messages, pull requests, history safety, what never to commit
versioning-releaseSemantic versions, Keep a Changelog, release tags and deprecation
code-commentsExplaining why, keeping comments true, debt markers, docstrings
untrusted-inputTreating issues, web pages and tool output as evidence, not instructions
shell-hygieneForeground by default; no process left running
writing-stylePlain-language rules for docs, reports, PRs and agent instructions
testing-strategyTest count by risk, test first, honest tests, small reliable suites
security-reviewSecurity checklist for a diff or design
debug-failureSeverity, reproduce, isolate, revert or fix forward
agent-handoffDispatching the agents, the brief and report, verifying, routing findings
change-triageChoosing hotfix, docs/config, small change or feature
design-patternsChoosing patterns and principles; composition over inheritance; when not to
domain-modelingLayers, ports and adapters, domain rules; only where the domain is complex
error-handlingDetecting, classifying, reporting and testing errors without leaks
resilienceTimeouts, bounded retries, idempotency, circuit breakers, degradation
observabilityStructured logs, metrics, traces, redaction, symptom alerts
database-migrationsVersioned migrations, expand and contract, backfills, rollback
refactoringCharacterization tests, small steps, strangler, managing technical debt
api-designResources, problem-details errors, pagination, idempotency keys, versioning
performanceMeasure first, profile, fix the biggest cost, cache with a plan
dependency-managementChoosing, pinning, updating and auditing dependencies; supply chain
secrets-and-configConfig in the environment, secrets in a manager, rotation, leaks
accessibilitySemantic HTML, keyboard, focus, contrast, testing at level AA
concurrencyShared state, locks, async pitfalls, cancellation, testing races
architecture-decisionsDecision records and docs organized by purpose
delivery-practicesSmall batches, flags, progressive rollout, the four delivery measures
ai-assisted-developmentScoped tasks, plan first, review generated code as suspect
kubernetesConfig via ConfigMap and Secret, probes, shutdown, security, scaling, packaging
project-structureThe folder layout for a library, web app, command line tool or monorepo; check and fix an existing project

The CI template is in skills/ci-cd/references/github-actions.yml.

Each language skill has references/idioms.md (how that language handles errors, concurrency, configuration, logging, testing, security and its container image). lang-python also ships a uv multi-stage Dockerfile, a Compose stack, .env.example and .dockerignore templates, and a guide to running Python under Docker, Compose and Kubernetes. kubernetes ships an annotated manifest set, the .env to cluster config flow, and a Kustomize layout.

Agents

Claude Code loads twelve subagents from agents/. Each is a role, not a product name, and follows the skills it lists. They are stateless: work moves between them as files, and the main session dispatches them, checks every report and asks the person at each gate. The agent-handoff skill holds the order, the brief, the report shape and how findings are routed.

StepAgentToolsUse it for
Exploreresearcherwrite notesShould we build it? One dated note with a recommendation
Requirementsrequirements-analystwrite docsREQ lines with Given/When/Then examples; never designs
Designarchitectwrite docsDesign note, contracts, risk per requirement, slices
Test intenttest-designerwrite docsWhat the tests must prove, by risk; no test code
Planplannerwrite tasksSmall ordered tasks with risk and rollback lines
Red teststest-writertests onlyFailing tests first, confirmed to fail for the right reason
Buildbuilderedit codeOne task: green, refactor, docs, checks; never edits a red test
Docsdocs-writeredit docsDocs and indexes for a docs-only task
Reviewcode-reviewerread-onlyIndependent review of a diff before merge
Reviewsecurity-reviewerread-onlySecurity check of a diff or design
Reviewdeploy-reviewerread-onlyRollback, migrations, env vars, pipeline, release order
Failuredebuggerread-onlyReproduce, isolate, state the cause; never patches

The definer, the builder, the test author and the reviewer stay separate, so no one grades their own work. Agents use model: inherit; pin a model in an agent's front matter if a role needs a stronger one. make validate checks each agent's front matter.

Tests

make check runs validation and the test suite in tests/. The tests keep the plugin aligned: manifests agree, every skill is dated and free of hard-coded versions, every language has the standard make targets, init-project never overwrites, and the umbrella setup never changes a repo. Add a test when you add a feature, the same way you add a check to the rules.

Keeping a project aligned

make init-project gives a project docs/requirements.md, a test folder tests/alignment/, and a make align target that make check runs. The test enforces:

  • every requirement (REQ-001) has at least one test that names it;
  • every requirement named in a test exists in docs/requirements.md;
  • relative links in docs/ point at files that exist;
  • the usual project hygiene (README, standard targets, lock file, no committed secrets, pinned CI actions, a docs index).

Project kinds

make init-project asks what the project is, once, and records the answer in .developer-plugin/project.json. The kind decides the layout:

LanguageKinds
Pythonlibrary, webapp (layered service), cli, monorepo (uv workspace of apps and packages)
TypeScriptwebapp, library, ui, monorepo (pnpm workspace: apps/web, packages/ui, utils, config)
Goservice, library, cli, monorepo (go.work)
Rustlibrary, binary, workspace
Java (Gradle)library, cli, service (Spring Boot)
C and C++ (CMake)library, executable
make init-project REPO=../my-lib LANG=python KIND=library NAME=my-lib
make init-project REPO=../shop LANG=node KIND=monorepo NAME=shop MEMBERS=web:webapp,ui:ui,utils:library
make structure-check REPO=../my-lib      # read-only: FAIL, WARN, TODO

In a terminal, leave KIND out to be asked. In a folder that already holds a project the kind is recorded and only safe files are added; code is never moved or replaced, and make structure-check says what to change by hand.

For Python, make init-project also copies a uv multi-stage Dockerfile, a Compose stack, .env.example, .dockerignore and src/app/settings.py, and make check runs make check-env. That check fails when the Settings fields, .env.example and the cluster manifests (k8s, deploy, helm, kustomize) name different variables, so a setting forgotten in one place is caught before it fails at start-up.

Versions

The plugin uses semantic versions (MAJOR.MINOR.PATCH). All manifests share one version, and CHANGELOG.md has an [Unreleased] section for work in progress.

  • make release LEVEL=minor (or patch, major) runs the checks, bumps the version in every manifest, and dates the Unreleased section. Then commit and tag the result as vX.Y.Z.
  • Pushing a vX.Y.Z tag runs the release workflow: it checks the tag matches the manifests and changelog, then publishes a GitHub release with the archive and its notes.
  • make releases lists the tags.
  • Install a particular version for testing, for example make install-claude REF=vX.Y.Z. Without REF, the working tree is installed.

CI (.github/workflows/ci.yml) runs make validate and make test on macOS and Ubuntu for two Python versions. Actions are pinned to commit hashes.

Adding a skill

Create skills/<kebab-case-name>/SKILL.md with name (same as the folder) and description in the frontmatter. Invalid names are silently skipped by Copilot, so run the validator.

Installing and testing

Each installer copies the plugin into the client's own folder. Changes in this repo reach a client after you re-run its installer.

  • make install-claude (or install-codex, install-antigravity, install-copilot)
  • make install-all runs every installer that is available.
  • Install a tagged version to test it: make install-claude REF=vX.Y.Z.
  • Preview first: make install-claude DRY=1 lists what would be added, updated or removed and writes nothing.
  • Each re-install ends with "N added, M updated, K unchanged, J removed", from a manifest (version and a hash per file) stored in the copy.
  • make check-install is read-only. It reports a copy that is stale (this repo changed since the install), edited by hand, missing files, or from another checkout. It exits 0 when everything is current or not installed, 1 on drift, 2 when a manifest is unreadable (reinstall to record one).
  • An install stops before a downgrade or a major version step and asks for a typed yes. With no terminal it writes nothing; add CONFIRM=1 (--confirm-update) to allow it.
  • make uninstall-claude and make uninstall-antigravity remove what the installers made.
  • Copilot installs from the git remote, so it gets the pushed default branch.

Windows, macOS and Linux

Every step runs with Python on all three systems. make is a convenience for macOS and Linux only.

TaskCommand (any system)
Checkspython scripts/check.py
Install for Claude Codepython scripts/install.py claude
Install for Codexpython scripts/install.py codex
Install for Antigravitypython scripts/install.py antigravity
Install for Copilotpython scripts/install.py copilot
A tagged versionadd --ref vX.Y.Z to any install
Preview an installadd --dry-run
Allow a downgrade or major stepadd --confirm-update
Report drift (read-only)python scripts/install.py check-install
Uninstallpython scripts/install.py uninstall claude (or codex, antigravity)

Install git and Python first. The client CLIs (claude, codex, copilot) must be on your PATH; a missing client is skipped. The Antigravity folder on Windows is not verified yet; check it if the plugin does not appear.

Using the project docs on your own folder

The docs setup works on any folder that holds your repos (an umbrella), or on a single repo. Nothing is tied to one machine or one layout.

make -C /path/to/developer-plugin workspace PROJECTS=$HOME/code
make -C /path/to/developer-plugin navigator PROJECTS=$HOME/code   # rescan only

This writes docs/ and a VS Code .code-workspace file into that folder, plus AGENTS.md and CLAUDE.md if they are missing. Existing files you edited are kept. Running it inside a Claude Code session on a repo does the same check automatically.