You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## What & why
We're now tracking planned examples (internal and external) in GitHub
Issues. To make in-flight work visible and avoid duplication,
contributors should **comment on an issue to claim it** and **open a
draft PR that links the issue**. This PR surfaces that workflow
everywhere it's documented and adds a lightweight issue form to keep
proposals consistent.
Closes #<!-- process/meta change; no tracking issue -->
Changes:
- **New** `.github/ISSUE_TEMPLATE/example_proposal.yml` — lightweight
form (required Bucket + What & why, optional Opik-products multi-select)
with a claim/draft-PR note at the top.
- **New** `.github/ISSUE_TEMPLATE/config.yml` — keeps blank issues
enabled, links Opik docs.
- `CONTRIBUTING.md` — new step 1 (find/claim an issue) and a
draft-PR-linking-the-issue step; renumbered.
- `AGENTS.md` — claim-the-issue and open-a-linked-draft-PR bullets for
coding agents.
- `.github/pull_request_template.md` — explicit `Closes #` line +
"linked to its tracking issue" checklist item.
- `README.md` — points contributors to Issues to browse/claim/propose.
> Note: the issue form only renders once this is on `main`.
## Checklist
- [x] Docs/index updated where the workflow is surfaced
- [x] No credentials or `.env` files committed
Copy file name to clipboardExpand all lines: AGENTS.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,8 @@ Every example is a `uv` project: its `pyproject.toml` is the single source of tr
68
68
-**Principles:** DRY, KISS, SOLID, YAGNI. Prefer reusing an existing helper over adding a new one.
69
69
-**Type hints** on function signatures. Match the surrounding file's style, naming, and comment density.
70
70
-**Git / PR safety:**
71
+
-**Claim the tracking issue before starting.** Work is tracked in [GitHub Issues](https://github.com/comet-ml/opik-examples/issues) — comment on the relevant issue to claim it before writing code. If none exists, ask the user whether to open one (via the *Example proposal* form).
72
+
-**Open a draft PR that links the issue early.** Right after cutting the branch, open a **draft** PR with `Closes #<issue>` in the body so in-flight work is visible; mark it ready for review only when complete.
71
73
- Never `git commit` or `git push` on `main`/`master`. Cut a feature branch (`<user>/<topic>`, e.g. `fschlz/feature/...`), push there, open a PR, and let a human merge.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,16 @@ Thank you for contributing. This repo is a reference library for Opik users —
12
12
13
13
This is the loop we follow for non-trivial contributions. The slash-commands in brackets come from Claude Code plugins (see below) and are optional but recommended. **Start every contribution with `/brainstorming`** to agree on scope, and **finish by reviewing your own PR with `/review`** before asking a human.
14
14
15
-
1.**Plan first.** Switch Claude Code to plan mode on the best available model with reasoning effort maxed before writing any code.
16
-
2.**Brainstorm the scope** (`/brainstorming`) — agree on *what* to build before *how*.
17
-
3.**Write the plan** (`/writing-plans`) — turn the agreed scope into an implementation plan.
18
-
4.**Cut a feature branch** — `git switch -c <user>/<topic>` (never commit on `main`).
19
-
5.**Implement and commit frequently** — small [Conventional Commits](https://www.conventionalcommits.org/) (`feat:`, `fix:`, `chore:`, `refactor:`, `docs:`).
20
-
6.**Test and fix** — run the example in dry-run (and with credentials if you have them) until it works; `uv run ruff check .` is clean.
21
-
7.**Update the READMEs** — the example's own README plus any index tables (see the [PR checklist](#pr-checklist)).
22
-
8.**Open a PR with a description** — what changed and why. A human merges it.
23
-
9.**Review your own PR** (`/review`) before requesting human review.
15
+
1.**Find or open an issue, and claim it.** Planned examples are tracked in [GitHub Issues](https://github.com/comet-ml/opik-examples/issues). Pick one you want to build (or file one with the *Example proposal* form), then **comment on it to claim it** so we don't double up.
16
+
2.**Plan first.** Switch Claude Code to plan mode on the best available model with reasoning effort maxed before writing any code.
17
+
3.**Brainstorm the scope** (`/brainstorming`) — agree on *what* to build before *how*.
18
+
4.**Write the plan** (`/writing-plans`) — turn the agreed scope into an implementation plan.
19
+
5.**Cut a feature branch** — `git switch -c <user>/<topic>` (never commit on `main`).
20
+
6.**Open a draft PR early that links the issue.** As soon as you branch, open a **draft** PR with `Closes #<issue>` in the description — this is how we track what's in-flight.
21
+
7.**Implement and commit frequently** — small [Conventional Commits](https://www.conventionalcommits.org/) (`feat:`, `fix:`, `chore:`, `refactor:`, `docs:`).
22
+
8.**Test and fix** — run the example in dry-run (and with credentials if you have them) until it works; `uv run ruff check .` is clean.
23
+
9.**Update the READMEs** — the example's own README plus any index tables (see the [PR checklist](#pr-checklist)).
24
+
10.**Mark the PR ready for review** with a description of what changed and why, then **review your own PR** (`/review`) before requesting human review. A human merges it.
24
25
25
26
**Recommended Claude Code plugins:**`superpowers` (provides `/brainstorming`, `/writing-plans`, and `/review`) and `caveman` (terse output mode). Install `superpowers` from inside Claude Code:
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,4 +69,6 @@ Browse them in [community/](community/), or add your own via
69
69
70
70
## Contributing
71
71
72
+
Planned examples are tracked in [Issues](https://github.com/comet-ml/opik-examples/issues) — browse open ones to see what's wanted, or propose your own with the **Example proposal** template. Comment to claim an issue before you start.
73
+
72
74
See [CONTRIBUTING.md](CONTRIBUTING.md) for the contribution guide and example template.
0 commit comments