agentleFS
ambient-codeambient-code/platform/skills/discover/SKILL.md

discover

Skill131 starsChanged 6 months agoMITView on GitHub

Discover domain-specific skills and context before starting any coding or spec work. This is the mandatory first step for every task — no matter how trivial. Triggers on: any code change, spec change, implementation task, bug fix, refactor, feature work, or documentation update that touches component code or specs.

57 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use daily-arxiv, exp-eval and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • skyllwtSkill

    exp-pilot-eval

    Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.

    Also in 4 projects that use this

  • skyllwtSkill

    exp-pilot-run

    Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.

    Also in 4 projects that use this

  • phanghonghaoSkill

    poster

    HTML/CSS A4 海报生成。从沙龙/活动 Markdown 文件生成科技风 A4 海报 PDF/PNG。Use when user mentions: poster, 海报, 海报生成, make poster, generate poster, 活动海报, 沙龙海报.

    Also in 4 projects that use this

  • +6 more from Lambenthan
  • +1 more from skyllwt

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 50 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before writing or changing anything, discover what skills and context are available for the domains you're about to work in.

    line 13
  2. Distinctive:

    Every time. This skill is the entry point for all coding and spec work.

    line 17
  3. Distinctive:

    If provided, use the input to narrow which domains to check.

    line 25
  4. Very specific:

    If unsure, check which specs/ subdirectories exist:

    line 45
  5. Very specific:

    Read the SKILL.md of any discovered skill that looks relevant to the task at hand.

    line 61
  6. Distinctive:

    Read the relevant spec before implementing — code reconciles against specs, not the other way around.

    line 71
  7. Distinctive:

    If the work involves deployment, manifests, Docker builds, or cluster operations, check for deployment skills:

    line 75
  8. Very specific:

    Read the relevant SKILL.md — these contain environment config, prerequisites, and troubleshooting for deploying each component.

    line 81
  9. Distinctive:

    Do not output irrelevant context.

    line 101

“Common” is measured: kept by at least 6 in 10 of the 50 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Discover Domain Skills

Before writing or changing anything, discover what skills and context are available for the domains you're about to work in.

When to Use

Every time. This skill is the entry point for all coding and spec work. Do not skip it, even for one-line fixes.

User Input

$ARGUMENTS

If provided, use the input to narrow which domains to check. Otherwise, infer from the task context.

Steps

1. Identify Relevant Domains

Map the work to one or more capability domains:

DomainWhen working on
sessionsSession lifecycle, data model, API resources, messages, events
control-planeOperator, reconciliation, scheduling, runner provisioning
agentsAgent model, runner, runtime registry, prompts
integrationsMCP server, Gerrit, external services, feature flags
frontendUI components, pages, React Query hooks
authOAuth, credentials, RBAC, tokens
projectsProject management, settings, workspaces
cliTUI, acpctl commands
specsspecs

If unsure, check which specs/ subdirectories exist:

ls -d specs/*/

2. Visit Each Domain

For every relevant domain, cd into its spec directory and list available skills:

cd specs/{domain}
ls .claude/skills/ 2>/dev/null
ls skills/ 2>/dev/null

Read the SKILL.md of any discovered skill that looks relevant to the task at hand.

3. Load Domain Specs

While in the domain directory, check for specs that describe the desired state of what you're about to change:

ls *.spec.md 2>/dev/null

Read the relevant spec before implementing — code reconciles against specs, not the other way around.

4. Check Deployment Skills

If the work involves deployment, manifests, Docker builds, or cluster operations, check for deployment skills:

ls skills/deployments/ 2>/dev/null

Read the relevant SKILL.md — these contain environment config, prerequisites, and troubleshooting for deploying each component.

5. Check Standards

Load the standards for the component you're modifying:

ls specs/standards/*/

Pick the relevant domain (backend, frontend, control-plane, security, platform).

6. Report and Proceed

Summarize what you found:

  • Which domains are involved
  • Which domain skills were discovered (if any)
  • Which specs describe the area being changed
  • Which standards apply

Do not output irrelevant context. Be extremely brief, like:

I will use skills x and y for this task.

Then proceed with the task, using the discovered skills and context.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.