ce
Skill12 starsChanged 8 days agoMITView on GitHub
ALWAYS before answering a structural question about server/, hook/ or packages/ code with grep — who calls a function or method, which controller serves an HTTP route, what a module depends on, impact of changing a function. Uses the CodeExplorer (`ce`) code graph, where it was measured to beat grep; skip it only for client React components, text/string search and docs.
In this repository28 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adlc-scriptingSkill
- architect-assistantSkill
- big-prod-e2e-testSkill
- changelogSkill
- check-fix-buildSkill
- db-state-updateSkill
- git-branchingSkill
- github-issuesSkill
- hook-debuggingSkill
- migrations-data-integritySkill
- morning-checkSkill
- nodejs-scriptSkill
- pocSkill
- post-impl-check-client-component-sizeSkill
- post-impl-check-cost-calc-no-autoSkill
- post-impl-check-indexesSkill
- post-impl-check-kb-actualSkill
- post-impl-check-migrationsSkill
- post-impl-check-performance-no-autoSkill
- post-impl-check-security-no-autoSkill
- security-checkSkill
- server-e2e-testsSkill
- session-kb-suggestSkill
- sql-reviewSkill
- ui-componentsSkill
- update-install-instructionsSkill
- use-playwrightSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Always wrap it in timeout: ce 1.48.6 once hung forever at "PostIndexAnalyzer: Normalizing architectural edges" (with .claude/ fixtures …
- Distinctive: line 59
Treat results as a lead, not proof: when completeness matters (renames, removing a function), confirm with grep — ce can miss call sites.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
ce — CodeExplorer code graph
ce (a dotnet global tool, ce help) indexes the repo into a graph (functions, types, endpoints,
calls, projects) under .codeexplorer/. If ce is not on PATH, skip this skill silently and use
grep.
Rule: for a structural question in server/, hook/ or packages/ (callers, route → controller,
dependencies, blast radius of a change) the first query is ce, not grep and not reading files
one by one. Grep afterwards only to confirm completeness (renames, deletions) or for the cases
listed under "Do NOT use ce". This applies to subagents and Explore agents too — put the rule into
their prompt when you delegate code research.
Setup / refresh
- Workspace is already initialised in the repo root (
.codeexplorer/settings.jsonholds the excludes; the DBgraph.dbis ignored by.codeexplorer/.gitignore). On a fresh clone without it:ce init loghub, then copy the excludes below. /adlc-lh:implementand/adlc-lh:implement-deeprefresh the index once at their start (.claude/repo_config/project-env.json → preImplCommand).- Otherwise the index does not auto-update. Before the first
cequery in a session (and after you changed the files you are about to query — through Edit or through Bash) refresh it manually — a full rescan takes ~20 s:timeout 180 ce scan --clear > /dev/null 2>&1Always wrap it intimeout: ce 1.48.6 once hung forever at "PostIndexAnalyzer: Normalizing architectural edges" (with.claude/fixtures indexed). - Excludes (
.codeexplorer/settings.json → exclude):.claude/**,.artisyn/**,artisyn-hooks-installer/**,dist/**,tmp/**,docs/**— otherwise skill fixtures (C#/Java sample projects) and the dogfooded hook copy pollute results with duplicates.
Use ce for (measured: better than grep)
| Question | Command |
| Which controller/file serves route X | ce search "auth identify" -k Endpoint — resolves the global /api/v1 prefix, returns POST:/api/v1/auth/identify → server/src/auth/auth.controller.ts |
Who calls server method X (NestJS DI this.service.x()) | ce callers validateUser — returns the calling method (AuthController.signup), not just a line |
| Who calls a plain function across server/hook/packages | ce callers normalizeToolName (--tests to include tests) |
| Ad-hoc structural questions | ce query "<cypher>" --no-truncate (schema: ce help) |
| Project map | ce status |
Do NOT use ce for (measured: worse than grep)
- Client React components — many
export function X({...})components are not indexed at all and JSX usage<X/>/lazy(() => import(...))is not a call:ce callers RepoToolsTabreturns nothing while it is used in two places. Use grep. - Literal strings, config keys, SQL text, comments, docs — grep.
ce contracts— hung > 60 s on this repo; don't use.
Caveats when reading results
callersmatches by name across projects: functions with the same name in different places (e.g. the hook's plain-JS copy vspackages/tool-monitor) are merged. Check the project column / path before trusting it.- The
Locationline incallersis the start of the calling function, not the call site. - Treat results as a lead, not proof: when completeness matters (renames, removing a function), confirm with grep — ce can miss call sites.
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.

