indexion-refactor 是做什麼的?
撰寫程式碼後,檢測並清理三個層級的重複:複製貼上區塊、跨套件共享程式碼、不必要的包裝器,以及概念層級的單一職責原則(SoT)違反。使用 indexion 檢測、修正並驗證。
撰寫程式碼後,檢測並清理三個層級的重複:複製貼上區塊、跨套件共享程式碼、不必要的包裝器,以及概念層級的單一職責原則(SoT)違反。使用 indexion 檢測、修正並驗證。
這個 AI 助手技能旨在幫助開發者在撰寫程式碼後,系統性地檢測並清除重複的程式碼。它能在三個不同的層級進行分析:首先是複製貼上的程式碼區塊,其次是跨套件的共享程式碼,最後是不必要的包裝器以及概念層級上違反單一職責原則(Separation of Things, SoT)的程式碼。該技能依賴於一個名為「indexion」的工具進行檢測,並會針對檢測到的問題提供修復方案,最後進行驗證以確保修改的正確性。此技能支援 Claude Code、Cursor 和 Codex 等平台,透過自動化重構流程,能有效提升程式碼品質、降低維護成本,並促進更乾淨的架構設計。
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.