tutor-setup
Originally fromroundtable02/tutor-skills
Installation
SKILL.md
Tutor Setup — Knowledge to Obsidian StudyVault
CWD Boundary Rule (ALL MODES)
NEVER access files outside the current working directory (CWD). All source scanning, reading, and vault output MUST stay within CWD and its subdirectories. If the user provides an external path, ask them to copy the files into CWD first.
Mode Detection
On invocation, detect mode automatically:
- Check for project markers in CWD:
package.json,pom.xml,build.gradle,Cargo.toml,go.mod,Makefile,*.sln,pyproject.toml,setup.py,Gemfile
- If any marker found → Codebase Mode
- If no marker found → Document Mode
- Tie-break: If
.git/is the sole indicator and no source code files (*.ts,*.py,*.java,*.go,*.rs, etc.) exist, default to Document Mode. - Announce detected mode and ask user to confirm or override.
Related skills