Skip to content

Contributing to Rosetta

Who is this for? First-time and returning contributors.

When should I read this? Before your first PR, and as a checklist for every PR after.


Before You Start

What Contributions Are Welcome

Not sure where your idea fits? Open an issue first.

Fast Path to Your First PR

  1. Pick a small, scoped issue (or open one with your proposal)
  2. Make focused edits. One concern per PR.
  3. Validate locally (build, lint, type validation, verify MCP, checks relevant to your change)
  4. Submit a PR with rationale and expected behavioral impact

That’s it. Small PRs get reviewed faster and merged sooner.

Contributing Workflow

fork/clone → branch → edit → validate → push → PR

See Overall Development Flow on how to run, test, build, review, and validate.

Prompt Changes

Rosetta is a prompt engineering system. Prompt changes have outsized impact and need extra care.

Use the prompting flow. The coding-agents-prompting-flow with coding-agents-prompt-authoring skill helps you author, design, refactor, harden, and modernize prompt families (agents, skills, workflows, workflow phases, rules). It understands Rosetta internals. Use it with Opus 4.6 model.

Examples:

  1. Refactoring old rosetta prompt to new:
    MUST FULLY EXECUTE `instructions/r2/grid/workflows/coding-agents-prompting-flow.md` to refactor old Rosetta prompt `<prompt full path>` as R2 prompt family in `grid` scope.
    
  2. Creating a new prompt:
    MUST FULLY EXECUTE `instructions/r2/grid/workflows/coding-agents-prompting-flow.md` to author a new R2 Rosetta <skill/agent/workflow/rule/prompt family> `<name>` in `grid` scope: <description of what it should be>
    

What to include in the PR:

  1. A prompt brief: goal, non-goals, constraints
  2. Before/after behavior examples
  3. Validation evidence (attach to PR description)

Automated review pipelines will run on your PR:

Both must pass before merge.

AI-Assisted Contributions

AI help is welcome. These norms apply:

Pull Request Checklist

Before requesting review:

Community

This project is licensed under Apache-2.0.

Please treat every interaction with respect. No gatekeeping, no condescension.

By contributing to this project, you agree to the Developer Certificate of Origin (DCO) 1.1, certifying that you have the right to submit your contribution under the project’s license; confirm this by adding a Signed-off-by trailer to every commit (e.g., git commit -s).