repo-understanding
Skill0 starsChanged 5 months agoMITView on GitHub
Use when an AI agent needs grounded repository context before implementation, review, or diff-impact analysis, and the needed understanding should be cached locally for reuse.
In this repository28 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- api-pentestSkill
- bitbucketSkill
- change-implementationSkill
- cloud-pentestSkill
- code-reviewSkill
- confluenceSkill
- delivery-metricsSkill
- deployment-verificationSkill
- fortifySkill
- gate-remediationSkill
- github-issueSkill
- githubSkill
- github-workflowSkill
- gitlabSkill
- incident-responseSkill
- jenkinsSkill
- jiraSkill
- knowledge-captureSkill
- monitor-checkSkill
- network-pentestSkill
- obsidianSkill
- pentestSkill
- release-orchestrationSkill
- security-fix-guideSkill
- sonarqubeSkill
- sprint-kickoffSkill
- using-orbitSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 7 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Use this skill as a thin repository-understanding surface for AI agents.
- Very specific: line 27
Ask for any missing required inputs in one plain-text message.
- Distinctive: line 46
Use that root as the local cache base.
- Very specific: line 52
Use each per-repo directory for manifest.json, structure-index.json, semantic-cache.json, diff-cache/, snapshots/, and logs/.
- Very specific: line 56
Run refresh before the first search, explain, or diff-impact call for a repository.
- Very specific: line 57
Use search to map Story text or bug text to likely files and symbols.
- Very specific: line 58
Use explain to assemble grounded local context for the top candidate files or symbols.
- Very specific: line 59
Use diff-impact after a patch plan or local changes exist.
- Distinctive: line 64
no ReactFlow or browser token behavior
- Distinctive: line 65
no dependency on an external upstream checkout
- Distinctive: line 66
no direct Jira, Confluence, Bitbucket, or Jenkins orchestration from this skill
- Distinctive: line 67
no semantic cache entries without provenance fields
- Distinctive: line 74
every returned node is traceable to repository paths or symbols
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repo Understanding
Use this skill as a thin repository-understanding surface for AI agents.
This skill is a source-first local analysis helper and a code-heavy carve-out within Orbit. It is not a scenario router and should keep its local-only CLI and cache lifecycle intact.
Inputs
| Variable | Required | Description | Example |
REPO_ROOT | Yes | Local repository root to analyze | /path/to/workspace/sample-org/sample-service |
ACTION | Yes | One of refresh, search, explain, diff-impact | search |
MODE | For refresh | One of full, incremental, semantic-only | incremental |
ANNOTATIONS_FILE | For refresh with MODE=semantic-only | Local path to the semantic annotations payload to merge | /tmp/semantic-annotations.json |
QUERY | For search | Story text, AC, bug description, or intent text | login timeout after token refresh |
TARGET | For explain | File path or path:symbol selector | src/auth/service.ts:refreshToken |
BASE_REF | Optional | Git base ref for diff impact | origin/master |
Ask for any missing required inputs in one plain-text message. Do not guess outside REPO_ROOT.
Before You Start
Read:
references/usage.mdreferences/commands.md
This skill is local-only in v1. It must not start a dashboard, depend on the upstream Understand-Anything checkout at runtime, or create PRs, Jira tickets, or Confluence pages.
Local Persistence
Persist local state under:
~/.config/repo-understanding/Use that root as the local cache base. Store repository-specific data under:
~/.config/repo-understanding/repos/<repo-fingerprint>/Use each per-repo directory for manifest.json, structure-index.json, semantic-cache.json, diff-cache/, snapshots/, and logs/.
Workflow
- Run
refreshbefore the firstsearch,explain, ordiff-impactcall for a repository. - Use
searchto map Story text or bug text to likely files and symbols. - Use
explainto assemble grounded local context for the top candidate files or symbols. - Use
diff-impactafter a patch plan or local changes exist.
Forbidden Behavior
- no dashboard startup
- no ReactFlow or browser token behavior
- no dependency on an external upstream checkout
- no direct Jira, Confluence, Bitbucket, or Jenkins orchestration from this skill
- no semantic cache entries without provenance fields
Completion
A repo-understanding call is complete only when:
- the requested action succeeds against local cache or explicitly reports the missing cache reason
- every returned node is traceable to repository paths or symbols
- semantic fields are clearly marked as cached annotations instead of source-of-truth structure
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

