clankerguru/opsx/srcx-context

Claude Code and agent skill by clankerguru/opsx

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Regenerate the .srcx/ codebase context report (hub classes, interfaces, entry points, anti-patterns, cross-build links) from current Kotlin source. Activates when the user wants to refresh, regenerate, or rebuild the srcx map after code changes.

Install

npx vskill@latest install clankerguru/opsx/srcx-context

SKILL.md

The same SKILL.md was published earlier as clankerguru/opsx/srcx-context.

/srcx-context

Related: /srcx-clean (paired removal) · /opsx-explore /opsx-onboard /opsx-propose (consumers)

Purpose

Scan Kotlin source via PSI and produce a set of Markdown reports under .srcx/ that summarize the codebase's structure, hub classes, public interfaces, entry points, anti-patterns, and cross-build dependency flow. Agents (especially @scout) read these to answer context questions without grepping the whole tree.

Preconditions

  • Running from the project root (root or an included build).
  • The zone.clanker.srcx settings plugin is applied.
  • Source sets are compilable (PSI parsing does not require

successful compile, but malformed Kotlin will produce partial maps).

Steps

  1. Regenerate:

``bash ./gradlew -q srcx-context ``

  1. The task writes under .srcx/ in the project root and inside

each included build:

`` .srcx/ context.md top-level map linking the below hub-classes.md most-depended-on classes (high blast radius) interfaces.md public API contracts entry-points.md app / test / mock entry points anti-patterns.md detected violations cross-build.md how included builds depend on each other ``

  1. Each included build gets its own .srcx/ tree — the root-level

cross-build.md links them.

  1. Run this whenever code has moved materially since the last

generation. Agents rely on .srcx/ being fresh.

Post-state

.srcx/context.md root map
.srcx/{hub-classes,interfaces,entry-points,anti-patterns,cross-build}.md
<each included build>/.srcx/context.md + section files

Failure modes

  • Kotlin source fails to parse — task reports the file, emits

a partial map covering the rest. Fix the parse error and rerun.

  • No Kotlin sources at all — task produces an empty

context.md with a note.

  • Included build not yet cloned — its section in

cross-build.md is empty; run /wrkx-clone-<name>, then re-run /srcx-context.

Cadence

  • After merging a change that moved files or added new public

APIs.

  • Before running /opsx-propose for a structural change.
  • Before /opsx-ff to fast-forward a stale change.

Related skills

  • /srcx-clean — delete .srcx/ before a fresh rebuild
  • /opsx-explore — consumes the generated reports
  • /opsx-onboard — uses the reports to tour new contributors
  • /package-structure — interpret the layout reported
  • /konsist — static rules that complement anti-patterns

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/clankerguru/opsx/srcx-context/badge)](https://verified-skill.com/skills/clankerguru/opsx/srcx-context)

Something wrong with this skill or its page? Tell us.