netra-best-practices
Netra Best Practices
Use this skill as the default end-to-end guide for integrating, operating, and improving AI systems with Netra. Also you can create custom metrics using this skill.
Installation
Detect the project's package manager before installing netra-sdk. Check the project root in priority order:
| Priority | Signal file | Command |
|---|---|---|
| 1 | uv.lock |
uv add netra-sdk |
| 2 | poetry.lock |
poetry add netra-sdk |
| 3 | pyproject.toml (no lock file above) |
pip install netra-sdk |
| 4 | requirements.txt (no Python indicators above) |
pip install netra-sdk |
| 5 | yarn.lock |
yarn add netra-sdk |
| 6 | package-lock.json |
npm install netra-sdk |
| 7 | None found | Ask the user before proceeding |
Do NOT run multiple install commands or install globally.
More from keyvaluesoftwaresystems/netra-skills
netra-mcp-usage
Netra MCP trace-debugging workflow focused on query_traces, get_trace_by_id, and get_session_details, including exact input parameters, filter schema, operators, sorting, and pagination patterns.
19netra-simulation-setup
Set up Netra multi-turn simulations with scenario definitions, personas, fact checkers, evaluator configuration, and test-run analysis. Use to validate agent behavior before production.
4netra-evaluation-setup
Set up high-quality Netra evaluations with datasets, evaluator design, variable mapping, and repeatable test runs. Use for regression detection and quality benchmarking.
4netra-decorator-instrumentation
Create custom Netra tracing instrumentation using decorators. Use when choosing between auto-instrumentation, decorators, and manual tracing in Python or TypeScript, with clear semantic span design.
3netra-setup
Install and initialize the Netra SDK with environment-safe defaults, instrument selection, and shutdown handling.
2netra-context-tracking
Implement request/session/user/tenant context tracking and conversation logging with Netra.
2