Skip to content

zantarix/claude-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zantarix/claude-code

Claude Code plugins for Zantarix projects.

Usage

Installing the plugins

Register this marketplace and enable the plugins you need in your project's .claude/settings.json:

{
  "extraKnownMarketplaces": {
    "zantarix": {
      "source": { "source": "github", "repo": "zantarix/claude-code" },
      "autoUpdate": true
    }
  },
  "enabledPlugins": {
    "zantarix@zantarix": true,
    "github@zantarix": true,
    "gitlab@zantarix": true
  }
}

Enable only the plugins relevant to the project — e.g. a Rust service adds "rust@zantarix": true; a ReScript app adds "rescript@zantarix": true. Pick one of github/gitlab to match where the project is hosted. Plugin keys are <plugin>@zantarix (the @zantarix suffix is the marketplace name).

Including the rules

The Claude Code plugin harness does not yet distribute rule files (tracked upstream: anthropics/claude-code#14200). Until it does, consumer projects pull the rules in manually:

  1. Add this repo as a git submodule at .claude/shared.
  2. Symlink the rules/<plugin>/ directories you need into your project's .claude/rules/ — one symlink per enabled plugin (e.g. .claude/rules/gitlab../shared/rules/gitlab).

Rules pulled in this way are organisation rules and should be treated as immutable; project-specific overrides go in plain .md files directly under .claude/rules/.

Model recommendations

  • Session model: use opusplan — Opus does the planning, Sonnet executes. For work that runs deep in a 1M-token window, the opus[1m] / sonnet[1m] overrides keep the same tiers while accommodating the larger context. The plugin content is authored against a Sonnet-at-high-context-fill floor, so it stays reliable on the executing tier.
  • Subagents: each agent declares its own model: (and, where supported, effort:) — you don't need to tune these per-session; the tier is baked into the agent for the judgment it requires.

Plugins

zantarix

General-purpose skills, agents, and rules for all Zantarix projects.

Type Name Description
Skill accept-adr Review ADR implementation for completeness and mark it as accepted
Skill commit Verify and commit staged/unstaged changes with a well-crafted Conventional Commit message
Skill implement-ticket Work a ticket reference to completion — fetch the issue, clarify intent, then plan or implement; plan includes the ticket number so PR/MR creation can emit Closes #N
Skill memory-reconciliation Triage accumulated project memories into discard / keep / promote-to-project-rule / promote-to-org-rule
Skill plan-adr Enter planning mode to scope a decision with the user, then delegate to adr-architect to write the ADR
Skill review Run all *-reviewer agents over the current changes — partitioning large diffs into cohesive chunks reviewed in parallel — then fix critical/major findings in a single pass; stores all output under .reviews/
Skill upstream Commit changes, push the branch, and open a pull/merge request in one flow
Agent adr-architect Create and maintain Architecture Decision Records in docs/adr/
Agent documentation-reviewer Review code changes and identify project documentation that needs updating
Rule adr Instructs Claude to delegate ADR changes to the adr-architect agent
Rule adr-workflow ADR process conventions: when to write, scanning Proposed ADRs, pausing before acceptance, verifying existing implementation
Rule agent-role Defines Claude's role as an adversarial pair-programming partner
Rule changesets Changeset policy: always add a changeset for any releasable change
Rule git-workflow Prefer cherry-pick over merge commit when integrating a finished branch into main
Rule init Conventions for managing CLAUDE.md and .claude/rules/ files
Rule investigation Never claim "known issue" without evidence — bisect first to rule out self-introduced regressions
Rule memory-feedback Write feedback memories as generalized rules, not session-specific notes; reframe narrow entries rather than discarding them
Rule nix Nix flakes and direnv guidance for development environments, including dev shell lifecycle
Rule non-functional Non-functional requirements
Rule plans Implementation plan conventions (verification, review, commit behaviour, and surfacing real alternatives)
Rule preserve-multiphase-contracts Preserve observable multi-phase contracts rather than collapsing them into single atomic calls
Rule testing Test conventions
Rule tmp Prefer .tmp/ inside the repo over /tmp for scratch artefacts
Rule workflow Coding discipline

github

Skills, agents, and rules for GitHub projects.

Type Name Description
Skill create-pull-request Create a GitHub PR for the current branch; adds Closes #N when the work implements a ticket; posts the review.md file verbatim as a comment if the session folder is known
Skill pr-review-comments Fetch open PR review thread comments with resolution status for the current branch
Rule github-actions Requires pinning GitHub Actions to commit SHAs
Rule pr Always invoke the github:create-pull-request skill rather than calling gh pr create directly

gitlab

Skills, agents, and rules for GitLab projects. Uses the GitLab MCP server — a local MCP that exposes browse/manage tool pairs (mcp__gitlab__browse_* / mcp__gitlab__manage_*) for work items, merge requests, pipelines, and more.

Type Name Description
Skill create-merge-request Create a GitLab MR for the current branch; adds Closes #N when the work implements a ticket; posts the review as a batched draft-note review via post-mr-review if the session folder is known
Skill post-mr-review Reconcile a prior code review against the current branch state and publish it to the GitLab MR as a single batched review: inline diff comments for in-diff findings, summary comment for the rest
Skill mr-review-comments Fetch open MR review comments and discussion threads (diff and general) with resolution status for the current branch
Skill create-child-task Create pre-work as child Task work items parented to a ticket
Skill custom-work-item-types Create or convert work items to custom types (Bug/Incident/Ticket/Tracker) via glab api graphql; carries this org's type GIDs
Skill link-work-items Link two work items (related / blocks / blocked-by) via the relationship API
Skill set-work-item-status Set a work item's native status field (TriageTo doIn progressDone)
Rule child-task-work-items Track ticket pre-work as child Tasks via the gitlab:create-child-task skill rather than bullet points in the description
Rule custom-work-item-types Custom types (Bug/Incident/Ticket/Tracker) need the gitlab:custom-work-item-types skill
Rule gitlab-ci Requires pinning GitLab CI includes/components and Docker images to immutable SHAs
Rule mr Always invoke the gitlab:create-merge-request skill rather than reaching for MCP or glab directly
Rule prefer-gitlab-mcp GitLab tool order: prefer mcp__gitlab__* tools, fall back to glab CLI, never raw curl
Rule ref-notation Honour GitLab reference sigils: #N = issue, !N = MR, &N = epic
Rule status Keep work item status current (TriageTo doIn progressDone)
Rule terminology "Ticket" is any work item (Issue/Task/custom); default to work-item APIs over legacy /issues endpoints
Rule work-item-links Link related work items via the gitlab:link-work-items skill rather than naming them in prose

rescript

Skills, agents, and rules for ReScript frontend projects.

Type Name Description
Skill verify-code Format (pnpm format), build (pnpm build), and test (pnpm test)
Agent code-reviewer Thorough frontend code review covering ReScript, React, TailwindCSS, rescript-relay, and FFI bindings
Rule rescript ReScript language and project conventions
Rule ffi-bindings FFI binding organisation, interface file requirements, and colocating reusable domain helpers
Rule named-type-aliases Prefer named type t aliases over inlined primitives for domain-semantic collections
Rule react-optional-props Required annotation asymmetry for optional props with no default: T=? in .resi, option<T>=? in .res

rust

Skills, agents, and rules for Rust projects.

Type Name Description
Skill analyse-mutations Analyse cargo mutants output and orchestrate parallel subagent fixes for under-tested code paths
Skill verify-code Lint (cargo clippy), test with coverage (cargo make coverage), and format (cargo fmt)
Agent code-reviewer Thorough code review covering correctness, safety, style, coverage, and architecture
Rule clippy Valid reasons to suppress Clippy lints and how to read clippy output
Rule mutants No mutation-test exclusions — prefer adding tests or simplifying code over suppressing results
Rule coverage Coverage tooling (cargo llvm-cov), cfg registration, and coverage(off) attribute usage
Rule coverage-cache Unexplainable coverage fluctuations: run cargo clean and re-run before investigating
Rule dependencies Dependency management: ask before adding, run cargo deny check, and cargo clean on proc-macro cache errors
Rule docs Use docs.rs/<crate>/latest/ URLs rather than version-pinned links
Rule error-handling Prefer anyhow::Result<Outcome> over enums with a Failure variant
Rule modules Module organisation conventions
Rule non-functional Non-functional requirements (performance, reliability, etc.)
Rule style Code style conventions
Rule test-modules Tests must live in dedicated tests submodule files — inline #[cfg(test)] mod tests { ... } blocks in production source files are forbidden
Rule workflow Prefer cargo make tasks over README runbooks for repeatable maintenance steps

About

Claude Code shared skills for Zantarix projects

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors