Orient
Generates a repo-specific orientation.md resource for the learning-opportunities skill.
Install
npx skills add DrCatHicks/learning-opportunities --skill orient -g -a claude-code -y- Repository
- DrCatHicks/learning-opportunities2.5k
- Category
- Engineering
- Updated
- 3mo ago
- License
- CC-BY-4.0
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
Generates a repo-specific orientation.md resource for the learning-opportunities skill. Invoke directly when the user asks for repo orientation; do not trigger automatically.
Create Orientation
Purpose
Generate a repo-specific orientation.md file inside the learning-opportunities skill's resources/ directory. This file is used by that skill when invoked with the orient argument to run a structured learning exercise for someone new to the codebase.
Step 1: Find where to write orientation.md
Always write to the project level, regardless of where the learning-opportunities skill is installed.
When running in Codex, write to:
.codex/skills/learning-opportunities/resources/orientation.md
When running in Claude Code, write to:
.claude/skills/learning-opportunities/resources/orientation.md
Both paths are relative to the current working directory.
If the target directory does not exist, create it. If it already exists, leave it and any files inside it untouched, only write orientation.md.
This keeps orientation files co-located with the repo they describe, they can be committed to version control, shared with teammates, and never collide across projects.
Argument check
You were invoked with arguments: $ARGUMENTS
If the argument is showboat, skip to the Showboat Path section below.
Otherwise, continue with Steps 2, 5 (the default path).
Step 2: Detect the repo's primary language(s)
Check for these manifest/config files at the project root and note all that exist. A repo may use multiple languages.
