Skip to content

[OPIK-6232] Improve skill performance#12

Draft
petrotiurin wants to merge 3 commits into
mainfrom
feat-improve-skill-performance
Draft

[OPIK-6232] Improve skill performance#12
petrotiurin wants to merge 3 commits into
mainfrom
feat-improve-skill-performance

Conversation

@petrotiurin
Copy link
Copy Markdown
Contributor

@petrotiurin petrotiurin commented May 12, 2026

Generated description

Below is a concise technical summary of the changes proposed in this PR:
Restructure the Opik instrumentation guide to run discovery tasks (language/framework detection, call-graph scouting) in parallel while clarifying entrypoint decorator rules and integration application. Highlight environment setup, dependency guidance, and verification steps so the Opik workflow is consistently applied.

TopicDetails
Discovery Flow Refine the Opik instrumentation workflow to gather language/framework/call-graph insights in parallel, emphasize entrypoint decorator rules, and outline how to add integrations and @opik.track without double-tracing.
Modified files (1)
  • skills/instrument/SKILL.md
Latest Contributors(2)
UserCommitDate
petrotiurinmore cleanupMay 12, 2026
alexander.kuzmik99@gma...Update skills for Opik...April 16, 2026
Env Setup Streamline the guidance for setting up environment config, dependency prompts, and verification so that credential, URL, and package steps follow the updated Opik flow.
Modified files (1)
  • skills/instrument/SKILL.md
Latest Contributors(2)
UserCommitDate
petrotiurinmore cleanupMay 12, 2026
alexander.kuzmik99@gma...Update skills for Opik...April 16, 2026
Review this PR on Baz | Customize your next review

@petrotiurin petrotiurin marked this pull request as ready for review May 12, 2026 14:25
Comment on lines +23 to +27
Run **all** of these discovery tasks in parallel — issue every read in a single batch, do not wait for one before starting the next:

Scan the codebase to determine:

1. **Language**: Python (look for `*.py`, `pyproject.toml`, `requirements.txt`) or TypeScript (look for `*.ts`, `*.tsx`, `package.json`)
2. **LLM frameworks in use** — search imports for these patterns:
1. **Language**: Read `pyproject.toml`, `requirements.txt` (Python) or `package.json` (TypeScript) to confirm language. If none are present, list source files and identify the language from their extensions (`*.py` → Python, `*.ts` / `*.tsx` → TypeScript).
2. **Existing Opik usage**: Read source files and look for `import opik` / `@opik.track`. **If already present, audit for completeness rather than re-instrumenting** — check that `entrypoint=True` exists, flush is present for scripts, and env config is set, then stop.
3. **LLM frameworks**: Read source files and look for these import patterns:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The discovery checklist duplicates skills/opik/instrument-tracing.md and also short-circuits on import opik / @opik.track, skipping remediation steps for entrypoint=True, opik.flush_tracker(), and env config — should we replace this with a reference to the canonical skill instead?

Finding types: Code Dedup and Conventions Logical Bugs | Severity: 🟢 Low


Want Baz to fix this for you? Activate Fixer

Comment thread skills/instrument/SKILL.md
@petrotiurin petrotiurin marked this pull request as draft May 14, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant