Skip to content

offworldlabs/claude-shared

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

claude-shared

Offworld Labs' org-wide Claude Code resource: a plugin marketplace (offworld) plus shared reference docs used across every repo in the organisation.

  • plugins/core — the core plugin; its setup-repo skill bundles the shared rules, .claude/settings.json, CLAUDE.md, and CI workflow templates used to scaffold new repos.
  • docs/ — on-demand org-wide reference docs (see Documentation).

Install

Install once per machine, at user scope:

/plugin marketplace add offworldlabs/claude-shared
/plugin install core@offworld

Adopting in a consuming repo

Adoption is driven by Claude Code, not manual copying. With core installed (see Install above), open any new repo, start Claude Code, and ask:

set this repo up per claude-shared

Claude invokes the core:setup-repo skill, which writes .claude/settings.json (registering the marketplace and enabling core), a CLAUDE.md, the shared rules, the Claude review workflows, and your stack's tooling — then installs deps and helps you flesh out CLAUDE.md. See docs/runbooks/github-actions-claude-review.md for the one manual follow-up (the CLAUDE_CODE_OAUTH_TOKEN secret).

Documentation

Org-wide reference docs live under docs/. A consuming repo's CLAUDE.md should point at these rather than duplicating them, so there's one source of truth.

  • docs/architecture.md — the org-wide system architecture: the RETINA passive-radar network's tiers, signal chain, components, and deployment/fleet lifecycle. Start here to understand how the repos fit together.
  • docs/cross-cutting-changes.md — "I need to change X, where do I look?": a blast-radius guide for edits that span multiple repos (shared contracts, config, hardware, deployment).

And each subdirectory:

  • docs/contracts/ — the source of truth for cross-service interfaces: API schemas, event/message formats, and shared data structures. When two services communicate, the contract lives here and consuming repos reference it instead of copying it, so it can't drift.
  • docs/decisions/ — Architecture Decision Records (ADRs). One append-only record per significant, org-wide technical decision: its context, the options considered, the decision made, and the consequences.
  • docs/runbooks/ — operational procedures: deployments, incident response, rollbacks, and recovery playbooks. Concrete enough to follow under pressure — exact commands, expected output, and escalation paths.

Contributing

Skills graduate from personal experimentation into the shared core plugin through review:

  1. Develop personally first. Iterate on the skill in your own ~/.claude/ until it works.
  2. Never merge a skill you haven't run. A skill that hasn't been exercised end-to-end does not go in.
  3. Test locally before opening the PR. Add this checkout as a local marketplace and reload:
    /plugin marketplace add ./path/to/claude-shared
    /plugin install core@offworld
    /reload-plugins
    
  4. Open a PR moving the skill into plugins/core/skills/<name>/SKILL.md.
  5. Bump the plugin version in plugins/core/.claude-plugin/plugin.json on every merged change. The version is the update signal for the entire org — without a bump, no one receives the change.

About

Shared resources for developing OWL repos with Claude Code

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages