Skip to content
indexion-identity logo

Identity Audit Workflow

indexion-identity

Detect and review name/content drift in code using `indexion identity audit`, then plan verified renames, moves, folder changes, or splits.

trkbt10/indexion-skills4.9Kinstalls2stars

SKILL.md

Full skill instructions

Identity Audit Workflow

Use this skill when checking whether function, file, or folder names still match their contents.

The CLI scans files, folders, and graph-level declaration symbols. It does not treat every local variable, parameter, or field as an independent naming target; those can still influence the containing file summary. File names are evaluated with parent scope, and declaration-heavy files should normally be read as evidence-thin until follow-up inspection proves an actual rename or split.

Pipeline

  1. Run the mechanical scan:

    indexion identity audit .
    

    For a machine-readable queue:

    indexion identity audit --format=json --output=.indexion/​cache/​identity/​report.json .
    
  2. Treat each row as a review candidate, not proof. Compare:

    • name: the scoped name inferred by the identity package
    • expected_summary: what the path/​name/​scope predicts
    • actual_summary: graph-derived declarations, docs, module notes, and path terms
    • assessment: whether this is actual drift, overbroad content, or insufficient content
    • recommendation: first operation to verify
  3. Verify before editing:

    indexion doc graph --format=text <path>
    indexion grep --semantic=name:<symbol> .
    rg "<name-or-term>" <path>
    
  4. Choose the smallest confirmed operation:

    • Treat insufficient-content as an evidence problem, not a naming-drift proof. Inspect whether the file is intentionally declarative/​thin, unsupported by the graph extractor, empty, or missing doc/​declaration material before renaming.
    • Rename a symbol when its implementation is cohesive but the name is stale.
    • Rename a file when its declarations are cohesive but the file name is stale.
    • Rename a folder when contained files share a clearer parent concept.
    • Move a file when it fits an existing folder better than its current one.
    • Split a file when candidates show multiple dominant responsibilities.
  5. After changes:

    moon info && moon fmt
    moon test
    indexion identity audit .
    

The audit is designed to surface review work. Do not maximize the score mechanically; verify the actual code ownership and references first.

More skills from trkbt10

indexion-segment logo
trkbt10/indexion-skills

indexion-segment

Split text into contextual chunks for RAG/embedding pipelines. Document segmentation and section extraction using window, tfidf, punctuation, or hybrid strategies chosen by intent.

2 4.9K
View
indexion-wiki logo
trkbt10/indexion-skills

indexion-wiki

Project wiki lifecycle — create pages, track source changes with ingest, update stale pages, lint structural integrity, detect code-to-doc drift with reconcile, and manage search indexes. A runbook for navigating and maintaining the wiki as an agent.

2 4.9K
View
indexion-kgf logo
trkbt10/indexion-skills

indexion-kgf

Debug and inspect KGF specs — view tokenization results, parse trees, and extracted edges from source files. Use when adding/fixing language support or when indexion's analysis output looks wrong.

2 4.9K
View
indexion-agent-orient logo
trkbt10/indexion-skills

indexion-agent-orient

Generate and use a pre-edit structure brief so coding agents learn likely owners, consumer surfaces, and unsafe edit locations before implementing.

2 4.9K
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View