editor-context
Installation
SKILL.md
Editor Context via one-ide-cli
Run the following to detect the current editor context:
one-ide-cli context /path/to/current/workspace
When to activate
Always run on the first coding turn of a new session — before answering, fetch context so the response is grounded in what the user actually has open.
Also activate when the question is code-adjacent and the active file is unknown. Trigger phrases include:
- explicit: "this file", "current file", "selected code", "what I have open"
- implicit: "this", "that", "it", "this field", "this function", "this class", "what does this mean", "explain this", "why is this"
Skip only when:
- The AI already has the file content or path in context (e.g. user pasted code directly)
- The question clearly refers only to pasted content with no ambiguity