agentleFS
madeordinarymadeordinary/serel-memory/.agents/skills/discover/SKILL.md

discover

Skill1 starsChanged 18 days agoMITView on GitHub

Shape a brand-new project from a rough idea and seed memory-bank files. Use when there is no code yet, the memory bank is blank, template-only, or partly filled, or the user asks to discover, define, clarify, or scope a new project.

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, 7 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 50 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this at the start of a brand-new project, when the user has an idea but hasn't yet articulated it as a brief.

    line 8
  2. Very specific:

    Effective bank: if memory-bank.local/ exists (upstream Serel Memory development only), it is the working bank — the bank check below and …

    line 12
  3. Very specific:

    Local install at a project scope: after resolving the scope, and only when it is not the root, check from the repository root whether Serel …

    line 16
  4. Distinctive:

    Start with this, more or less verbatim:

    line 34
  5. Distinctive:

    Don't pretend to know things the user hasn't told you.

    line 82
  6. Distinctive:

    Don't validate the idea itself.

    line 85
  7. Distinctive:

    Don't synthesize until you have real material.

    line 86
  8. Distinctive:

    After synthesis, the project is still in their hands.

    line 87
  9. Distinctive:

    When the files are approved and written, end with:

    line 91

“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

Use this at the start of a brand-new project, when the user has an idea but hasn't yet articulated it as a brief. You'll guide them through structured discovery, then propose memory bank contents based on the dialogue.

This is the inverse of init-memory. That workflow analyzes existing code. This one helps shape a project that doesn't exist yet.

Effective bank: if memory-bank.local/ exists (upstream Serel Memory development only), it is the working bank — the bank check below and any proposed writes target it, not the tracked starter templates. See "Resolving the effective bank" in docs/workflow-contract.md.

Scope: resolve which bank this targets per "Resolving scope" in docs/workflow-contract.md — an optional --scope <path> argument selects a project bank when the repo configures scopes; otherwise the root bank, as always.

Local install at a project scope: after resolving the scope, and only when it is not the root, check from the repository root whether Serel Memory is installed locally (the test in "Setup routing" in docs/workflow-contract.md):

top="$(git rev-parse --show-toplevel)"
if [ -n "$(git -C "$top" ls-files --others --ignored --exclude-standard -- bin/serel-memory docs/workflow-contract.md hooks/lib/resolve-scope.sh)" ] ||
  git -C "$top" check-ignore -q .serel-memory.json; then echo "LOCAL INSTALL"; fi

If it prints LOCAL INSTALL, stop before any other step. A local install holds the root bank only: it excludes the root memory-bank/ and .rules, and scopes listed later do not extend that, so a bank seeded at this scope would be visible to Git. Say so, write nothing, leave any existing files at this scope, the exclusions, .gitignore and instruction files as they are, and offer the supported choices: the root bank (--scope .) or a shared, committed install, where scoped banks work. Never un-ignore, untrack or force-add anything.

Setup context: if setup already ran in this session (docs/serel-setup.md, or start's setup mode), treat its answers as given — skip the open prompt when the idea is already described and mark those items clear in Phase 2 — and ask only about what is still missing. The proposal and approval steps below are unchanged.

Existing bank content: check each core file in the effective bank. If every one has real content beyond the template placeholders, this is the wrong workflow — point the user toward breakdown (planning) or start instead. If only some do (a partial bank, such as a projectbrief.md the user wrote), keep those files exactly as they are and treat them as the user's answers: skip the open prompt when they already describe the idea, mark what they cover as clear in Phase 2, and propose only the files that are missing, empty, or template-only.

Stage: in the selected scope, if there is meaningful product code — not counting Serel Memory's own files (its workflows, hooks/, bin/serel-memory, framework docs, bank templates, and the tests/ and .github/ a degit copy brings) or code in another scope — recommend init-memory instead (it can read a spec too); if there is a PRD or spec but no code, recommend from-prd. Otherwise, proceed.

Phase 1 — Open prompt

Start with this, more or less verbatim:

"Tell me what you want to build. Don't worry about structure — just what's in your head right now. A sentence is fine; a paragraph is fine; a rambling explanation is fine."

Listen to whatever the user gives. Don't interrupt. Don't restructure. Just take it in.

Phase 2 — Map and ask

From the user's initial answer, identify which of these are clear, partial, or missing:

  1. Problem — what pain or opportunity drives this
  2. User — who specifically has this need
  3. Today's solution — what they do now and why it falls short
  4. Success — what "this worked" looks like concretely
  5. Scope (minimum) — smallest version that would be useful
  6. Anti-scope — what this explicitly does NOT do
  7. Constraints — time, budget, tech, compliance, anything binding
  8. Stack hints — tech they want or have ruled out

Skip CLEAR items. For PARTIAL and MISSING items, ask one targeted question at a time. Wait for the answer before asking the next. Aim for 3–5 well-chosen questions total. Not eight.

Good questions are CONCRETE. Examples:

  • Bad: "Who's the user?"
  • Good: "Is this for you only, for a specific team of 5–50 people, or for thousands of strangers? Each one changes how this would look."
  • Bad: "What does success look like?"
  • Good: "Six months from now, if this is working, what would specifically be different in your day or in the world?"
  • Bad: "What's the scope?"
  • Good: "If you could ship only one feature on day one and skip everything else, which one is it?"

Phase 3 — Synthesize

Once you have enough, draft proposals for these files (in a partial bank, only the ones still missing, empty, or template-only):

  • memory-bank/projectbrief.md — what, why, success, anti-scope, constraints
  • memory-bank/productContext.md — user, job, today's solution, UX principles
  • memory-bank/systemPatterns.md — keep light. Architecture often emerges later. Only capture what the user has clear opinions on.
  • memory-bank/techContext.md — keep light. Stack often emerges as the project takes shape.
  • memory-bank/decisionLog.md — only explicit decisions made during discovery; otherwise keep template-light (empty).
  • memory-bank/activeContext.md — immediate next focus and open questions.
  • memory-bank/progress.md — planning status and what exists so far.

Show proposals one file at a time. After each, wait for the user to approve, revise, or push back before writing it and before moving to the next.

Rules

  • Don't pretend to know things the user hasn't told you.
  • If the user gives a weak answer ("idk, just kind of an AI thing") or one too vague to create useful memory-bank content, push back gently: "I don't have enough yet to write a brief that's actually useful. Can you tell me more about [specific thing]?"
  • Resist adding scope. Users usually come in wanting to do too much for v1. Help them carve back to a minimum useful version.
  • Don't validate the idea itself. Your job is to help them articulate, document and clarify it, not endorse it.
  • Don't synthesize until you have real material. Better to ask one more question than to fabricate.
  • After synthesis, the project is still in their hands. You've documented what they said; you haven't blessed it.

Handoff

When the files are approved and written, end with:

"Memory bank seeded. Run start to verify the bootstrap, or breakdown (or just ask me) to break the first chunk of work into steps."

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.