🕸️
QualityJavaScript

Indexing Code

by telagod

Indexing Code is a Quality skill for Claude Code, published by telagod in code-abyss.

239 stars32 forkson telagod/code-abyssAdded 2026/09/03Repository updated 2026/07/19
agent-skillsai-agentai-assistantai-personalityblue-teamcharacter-cardclaude-codeclicodexcodex-cliconfigurationdeveloper-toolsdevopsgemini-clipersonaprompt-engineeringred-teamsecurityskills
Install in seconds
Install Indexing Code
Copy Indexing Code into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/telagod/code-abyss/tree/main/skills/indexing-code ~/.claude/skills/indexing-code

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/telagod/code-abyss.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/indexing-code/SKILL.md in telagod/code-abyss
Installs to
~/.claude/skills/indexing-code
Collection
One of 25 skills cataloged from this repository
Category
Quality1478 skills

What Indexing Code does

Indexing Code uses the abyss CLI to build code relationship graphs and time-based history for a project. Use it before edits to trace callers, assess impact, find hotspots, and gather file context.

Indexing Code is cataloged under Quality on DirSkills. Indexing Code comes from a repository tagged agent-skills, ai-agent, ai-assistant, ai-personality and blue-team.

Documentation

README

代码关系图 · abyss

不是搜索工具,是代码的调用图 + 时间智能。通过 shell 调用 abyss CLI。

前置

进入项目时,检查并初始化索引:

command -v abyss >/dev/null && [ ! -f .code-abyss/index.db ] && abyss index

核心行为

改文件前:跑 abyss context

即将修改任何代码文件时,先获取该文件的完整上下文(不需要知道函数名):

abyss context <要修改的文件路径> --json

返回:该文件所有函数的外部调用方、依赖的类型和函数、热点评分、耦合文件。

根据返回结果:

  • 有 production callers:检查改动是否会破坏调用方,改完逐个同步
  • hotspot score > 5000:高风险文件,跑 abyss impact <func> --json 深入分析
  • impact risk > 7/10:跟用户确认方案后再改
  • 有 uncovered paths:提醒用户补测试
  • 有 coupled files:检查耦合文件是否需要同步修改

其他场景

场景 命令
初识项目架构 abyss map --json
追查 bug 来源 abyss history <file> --symbol <func> --json
搜索代码(比 grep 好) abyss search "关键词" --json

输出说明

--json 输出结构化 JSON,agent 直接解析。不加 --json 输出人类可读文本。

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Indexing Code

  • What else does telagod publish alongside Indexing Code?

    Indexing Code is one of 25 skills that DirSkills catalogs from telagod/code-abyss, the repository it ships in. Its siblings there include Adversarial Review Orchestration, Analyzing Changes and Analyzing Spreadsheets. Each one is a separate skill with its own page in this directory, installs the same way Indexing Code does, and is maintained by telagod in that same repository. The rest of the collection is listed on the telagod/code-abyss page.

  • How does Indexing Code compare to other Quality skills?

    Indexing Code ranks #1349 by stars among the 1478 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Indexing Code against them. Open each page to compare what they document and how they install.

More from telagod/code-abyss

Indexing Code is one of 25 skills cataloged on DirSkills from telagod/code-abyss.

See all 25 skills
🛡️
7h ago

Adversarial Review Orchestration

Adversarial Review Orchestration fans out findings, then verifies each one through multiple skeptical perspectives before accepting conclusions. Use it for security audits, code reviews, research synthesis, or migrations when one agent’s self-report cannot be trusted.
AI Engineering
23932
🔎
7h ago

Analyzing Changes

Analyzing Changes analyzes code diffs to estimate impact scope, flag documentation drift, and check whether tests or design docs need updates. Use it before commits, after refactors, or when reviewing cross-module changes.
Quality
23932
📊
7h ago

Analyzing Spreadsheets

Analyzing Spreadsheets processes Excel and CSV files to build workbooks, add formulas, preserve formatting, and analyze tabular data. Use it when working with spreadsheets or validating financial models with recalculation and zero formula errors.
Data
23932
🛡️
7h ago

Application Security Defense

Application Security Defense covers web, API, GraphQL, auth, and LLM application hardening. Use it when reviewing code, fixing CVE-class bugs, designing safer auth flows, or threat-modeling app-layer defenses.
AI Engineering
23932
🎨
7h ago

Applying UI Design System

Applying UI Design System helps choose and implement a UI aesthetic such as Glassmorphism, Liquid Glass, Neubrutalism, or Claymorphism. Use it when building components, setting design tokens, or checking contrast, focus, motion, and dark mode behavior.
Frontend
23932
🏗️
7h ago

Architecture Design

Architecture Design covers API design, security architecture, cloud-native patterns, caching, message queues, and data security. Use it when choosing system structure, integration style, or infrastructure patterns.
DevOps
23932