Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计异常

orientorient 搜索

Agent Skill

orient 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,248

周安装

51

GitHub Stars

848

下载量

404
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:orient(orient 搜索)
来源仓库:https://github.com/drcathicks/learning-opportunities
仓库路径:skills/orient
安装命令:
npx skills add https://github.com/drcathicks/learning-opportunities --skill orient
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/drcathicks/learning-opportunities --skill orient

简介

生成代码库专属 orientation.md 引导文件。

  • 为新成员提供结构化学习路径和最佳实践指南。
  • 自动定位项目根目录下的 resources 文件夹写入。
  • 需确保 .claude/skills/learning-opportunities 目录可写。
  • orient 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

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 as /learning-opportunities orientation 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:

.claude/skills/learning-opportunities/resources/orientation.md

(relative to the current working directory)

If the directory .claude/skills/learning-opportunities/resources/ 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.

LanguageSignal files
Pythonpyproject.toml, setup.py, setup.cfg, Pipfile, requirements.txt
JavaScriptpackage.json (no tsconfig.json)
TypeScriptpackage.json + tsconfig.json
RDESCRIPTION, NAMESPACE, any *.Rproj
RubyGemfile, any *.gemspec
Gogo.mod
RustCargo.toml
C/C++CMakeLists.txt, configure.ac, root-level Makefile
Java/Kotlinpom.xml, build.gradle, build.gradle.kts
C#any *.csproj or *.sln

Record all detected languages. For each detected language, read its primary manifest file in full — it contains declared purpose, dependencies, entry points, and scripts/commands that are essential for orientation.


Step 3: Explore the repo

Use the following sequence, drawn from research on expert program comprehension strategies. Experts read strategically and selectively, not exhaustively. The goal is a mental model of structure, not line-by-line understanding.

3a. README and top-level docs

Read README.md, README.rst, or README at the project root. Also check for a docs/ directory — read its index or table of contents if present. This gives the stated purpose and intended audience.

*Source: Spinellis, "Code Reading: The Open Source Perspective" (2003) — start with the build system and README before reading any application code.*

3b. Directory tree

Run find. -maxdepth 3 -not -path '*/.git/*' -not -path '*/node_modules/*' -not -path '*/__pycache__/*' -not -path '*/.venv/*' to get the top-level structure. Read the directory tree as an architectural table of contents — naming conventions (src/, lib/, tests/, cmd/, pkg/) reveal intent before any code is read.

*Source: Spinellis (2003) — "directory tree as table of contents."*

3c. Entry points

Identify and read the main entry points based on detected language:

  • Python: __main__.py, cli.py, main.py, or the [tool.poetry.scripts] / [project.scripts] section of pyproject.toml
  • JavaScript/TypeScript: main field in package.json, index.js, src/index.ts
  • Go: files in cmd/*/main.go or root main.go
  • Rust: src/main.rs or src/lib.rs
  • R: R/ directory, the DESCRIPTION file's Imports
  • Ruby: files in bin/, lib/<gem-name>.rb
  • C/C++: main.c, main.cpp, or the primary target in CMakeLists.txt

*Source: Hermans, "The Programmer's Brain" (2021, Manning) — follow the entry point and call graph one level at a time.*

3d. Test files

Read 2–3 test files, prioritizing integration or end-to-end tests over unit tests. Tests are executable specifications — reading test names and assertions is one of the fastest ways to understand what a module is meant to do.

*Source: Storey et al., "How Software Developers Use Tools, Cognitive Strategies, and Representations to Navigate Code" (IEEE TSE, 2006) — use the test suite as a specification.*

3e. Core modules

Identify the 5–8 most important source files based on what you have learned. Read their top-level structure (class/function names, imports, docstrings) without necessarily reading every implementation in full.

3f. Recent git history (if git is available)

Run git log --oneline -20 to see recent activity. Run git log --format="%f" | sort | uniq -c | sort -rn | head -10 to identify the most-edited files. High-churn files are usually the core of the system.

*Source: Spolsky practitioner writing — "find the biggest, most-edited file; read git history to understand why code is the way it is."*


Step 4: Synthesize and write orientation.md

Write the file to the path identified in Step 1. Use this exact structure:

# Repo Orientation: [repo name]

> Generated by /orient:orient. Re-run to update.

## One-line purpose
[Single sentence: what this repo does and why it exists. Written for someone with no prior context.]

## Primary language(s)
[List languages detected, with the dominant one first.]

## Pipeline / workflow stages
[Ordered list of the main stages data or requests flow through. One line each. If the repo has no pipeline, describe the main modules and their relationships instead.]

## Key files
[6–10 entries in this format:]
- `path/to/file.py` — [what it does] | [why a new developer should read it]

## Core concepts
[3–5 domain or architectural concepts essential to working in this codebase. For each:]
**[Concept name]**: [Plain-English definition. Where in the code it lives.]

## Common gotchas
[2–3 things that commonly trip up new developers. Be specific — reference actual file paths or function names.]

## Suggested exercise sequence
[EXACTLY 2 exercises. These are orientation exercises — their job is to build a high-level mental model of the repo, not to drill implementation details.

Orientation exercises follow this pattern: direct the learner to read one specific, short artifact first, then ask them to synthesize or explain what they just read. Never ask them to predict something they couldn't know without reading — the goal is comprehension and synthesis, not prior knowledge.

Good orientation exercises:
- "Open README.md and read the Features section. Then close it and explain to a non-developer what this tool produces and why someone would use it."
- "Open `models.py`. Find the dataclass that represents everything the pipeline produces for one audio file. What fields does it have, and what does that tell you about the pipeline's stages?"
- "Open `config/default.yaml` and skim it. What are the two or three settings you'd most likely need to change for a new project, and why?"

Bad orientation exercises (save these for later sessions):
- "Without opening any files, predict the pipeline stages" — learner has no basis for this
- Predicting specific function outputs, column names, or algorithmic behavior
- Tracing through individual method implementations
- Debugging specific logic (e.g. merge suffix behavior, metadata propagation)

For each exercise, specify: the exact file to open, what to read, and what synthesis question to answer after reading.]

## Sources consulted
[List the files and paths you actually read while generating this file.]

Keep each section concise. This is a teaching scaffold, not documentation. Prioritize clarity over completeness.


Step 5: Confirm to the user

Note for skill maintainers: Academic and practitioner sources for the exploration methodology in Steps 3a–3f are documented in resources/orient-bibliography.md. Load that file only if you need to update or cite sources — it is not needed during normal skill execution.

Tell the user:

  • Where the file was written
  • How many key files and concepts were identified
  • How to use it: /learning-opportunities orient
  • That they can re-run /orient:orient at any time to regenerate it as the codebase evolves

Showboat Path

This path replaces Steps 2–5 when the argument is showboat. It produces orientation.md at the same location identified in Step 1, but uses the showboat CLI tool (via uvx) to build a detailed, linear code walkthrough.

Showboat Step 1: Check for uv

Run command -v uv to verify that uv is installed.

If uv is not found, tell the user:

uv is required for showboat mode but was not found on your PATH. Install it from: https://docs.astral.sh/uv/getting-started/installation/

Then stop — do not proceed further.

Showboat Step 2: Read the repo and plan the document

Read the repo to understand its structure, purpose, and key code paths. Then plan a linear walkthrough document with:

  • A title and table of contents
  • Commentary sections that explain the codebase narratively, in reading order
  • A Code Listings appendix containing the actual code snippets referenced by commentary
  • A suggested exercise sequence (same criteria as Step 4's exercise requirements — exactly 2 orientation exercises)

Plan all section headings, code snippets, and sequential listing numbers upfront before writing anything. Each listing gets a sequential number (Listing 1, Listing 2, etc.) and a short description.

Showboat Step 3: Learn the showboat tool

Run uvx showboat --help to learn the available commands and their syntax.

Showboat Step 4: Build orientation.md using showboat commands

Use the showboat CLI to build the file. The output path is the same orientation.md from Step 1. Execute commands in this order:

4a. Initialize the document

uvx showboat init <path-to-orientation.md> "<Title>"

Then add a table of contents via uvx showboat note.

4b. Write all commentary sections

Add each commentary section using uvx showboat note. Follow these rules for note content:

  • No fenced code blocks inside notes — use inline backtick code (` like_this `) instead
  • Reference code listings with inline links: *([Listing N: description](#listing-N))*
  • Write narratively — explain *why* the code is structured this way, not just *what* it does

4c. Write the Code Listings appendix

For each listing planned in Showboat Step 2:

  1. Add an anchor note: uvx showboat note with a heading like ### Listing N: description and an HTML anchor <a id="listing-N"></a>
  2. Add the code via uvx showboat exec to capture the actual file content (e.g., using cat or sed to extract the relevant lines)

4d. Append suggested exercise sequence

Add a final section via uvx showboat note with exactly 2 orientation exercises. These follow the same criteria as the default path's Step 4:

  • Direct the learner to read one specific, short artifact first
  • Then ask them to synthesize or explain what they just read
  • Never ask them to predict something they couldn't know without reading
  • Specify: the exact file to open, what to read, and what synthesis question to answer

4e. Verify the document

Run:

uvx showboat verify <path-to-orientation.md>

Fix any issues reported before proceeding.

Showboat Step 5: Confirm to the user

Tell the user:

  • Where the file was written
  • That it was generated using showboat mode (a linear code walkthrough)
  • How to use it: /learning-opportunities orient
  • That they can re-run /orient showboat at any time to regenerate it

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.09%
按下载量换算146

Claude

30.97%
按下载量换算125

Cursor

19.05%
按下载量换算77

Gemini CLI

8.73%
按下载量换算35

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

未通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills