similar-code
Installation
SKILL.md
- Always use actual code as query input, not natural language descriptions
- Prerequisite:
symbols.dbmust exist at project root (built viaarmyknife searchx index)
Workflow
- User provides code as argument (e.g.,
/similar-code <pasted code>) - Run the search command:
armyknife searchx query '<code>' --limit 10 --database symbols.db
- Present results as a table (symbol, kind, file, line, similarity)
- Read top matches to show code context