indexion-refactor 是做什么的?
编写代码后,在三个层面检测并清理重复——复制粘贴块、跨包共享代码、不必要的包装器以及概念级别上的SoT违规。使用indexion进行检测、修复并验证。
编写代码后,在三个层面检测并清理重复——复制粘贴块、跨包共享代码、不必要的包装器以及概念级别上的SoT违规。使用indexion进行检测、修复并验证。
此技能用于在编写代码后系统地检测和消除重复代码。它涵盖三个层面:复制粘贴块(低级重复)、跨包共享代码(中级重复)以及不必要的包装器和概念级别的单一职责原则(SoT)违规(高级重复)。它利用indexion工具进行检测,然后提供修复建议并验证结果。该技能适用于Claude Code等AI助手平台,帮助开发者保持代码库的整洁、可维护和一致性。通过自动化重复检测和重构流程,它减少了手动审查的工作量,并提高了代码质量。它基于项目的SKILL.md文档,指导AI助手执行检测、修复和验证步骤。
npx skills add https://github.com/trkbt10/indexion-skills/tree/main/skills/indexion-refactorInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
编写代码后,在三个层面检测并清理重复——复制粘贴块、跨包共享代码、不必要的包装器以及概念级别上的SoT违规。使用indexion进行检测、修复并验证。
This repo contains 8 individual skills — each has its own dedicated page.
Generate and use a pre-edit structure brief so coding agents learn likely owners, consumer surfaces, and unsafe edit locations before implementing.
Documentation analysis — assess coverage, detect code-to-doc drift with plan reconcile, visualize dependencies with doc graph. Answers "what needs docs?" and "are docs still accurate?"
Detect and review name/content drift in code using `indexion identity audit`, then plan verified renames, moves, folder changes, or splits.
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.
README construction — initialize template structure, generate per-package READMEs from doc comments, plan writing tasks, assemble root README from docs/ and package READMEs via doc.json config, and verify edits with `plan drift`.
Generate SDD requirements from RFCs/specs and quantitatively verify implementation conformance. spec draft → spec align → spec verify → automated validation loop with codex/claude. Operate spec-to-impl drift gates as CI checks.
Split text into contextual chunks for RAG/embedding pipelines. Document segmentation and section extraction using window, tfidf, punctuation, or hybrid strategies chosen by intent.
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.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.