Skip to content

AI-firstify audit: add .claude/skills/ and expand CLAUDE.md #9

@tofutim

Description

@tofutim

Context

An AI-firstify audit was performed across the srclight ecosystem (srclight engine + srclight-app). Model-radar shares the same infrastructure patterns and would benefit from the same improvements.

Recommendations

1. Create .claude/skills/ for repeatable workflows

Model-radar has complex operational workflows that should be captured as prescriptive Claude Code skills:

  • release/ — Version bump, PyPI publish, MCP registry update workflow
  • provider-setup/ — Adding a new provider (API key config, model list refresh, verification)
  • benchmarking/ — Running quality benchmarks across models, interpreting results

2. Review CLAUDE.md for AI-first principles

Check that CLAUDE.md:

  • Is under 200 lines and well-structured
  • Covers build/test/release procedures prescriptively
  • Uses progressive disclosure (references/ for detailed docs)
  • Includes a "do/don't" section for agent behavior

3. Safety audit

  • Verify no API keys are committed (they should only come from environment/config)
  • Confirm .gitignore excludes ~/.model-radar/config.json, .env, credentials
  • Ensure MCP tools that modify state (configure_key, restart_server) have appropriate annotations

4. Expand MCP tool instructions

The server instructions are already good but could benefit from:

  • A "Setup Workflow" section showing the agent-driven happy path
  • Clearer separation of read-only vs write tools in the tool guide

Reference

See srclight/srclight-app commit history for the pattern — skills, MCP tool expansion, and widget extraction were done there as part of this audit.

Acceptance Criteria

  • .claude/skills/ directory exists with at least one skill
  • CLAUDE.md reviewed and updated if needed
  • No credentials in committed code
  • MCP server instructions include setup workflow

Metadata

Metadata

Assignees

No one assigned

    Labels

    conductorTriggers conductor agent orchestrationenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions