agentleFS
danicatdanicat/speedgrapher/skills/ideate/SKILL.md

ideate

Skill51 starsChanged 17 days agoApache-2.0View on GitHub

Socratic technical discovery and inverted-pyramid outlining workflow that interviews engineers one question at a time and structures blog posts, READMEs, and documentation by descending reader value.

  • Commits and pushes

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 32 edited versions we read keep these.

  • 5

    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:

    When the user wants to brainstorm a post or says *"interview me about X"*, conduct a focused Socratic interview one question at a time to …

    line 26
  2. Very specific:

    When the user already provides raw notes, code files, or an existing README.md / SKILL.md / draft to restructure, inspect the workspace …

    line 28
  3. Distinctive:

    Never overwhelm the author with a wall of questions.

    line 45
  4. Distinctive:

    One Question at a Time: Never stack multiple unrelated questions in a single turn.

    line 61
  5. Distinctive:

    User documentation and usage guides: Document subcommands, UI modes, MCP tools, flags, and workflows using scannable tables.

    line 105
  6. Very specific:

    When outlining or structuring an Agent Skill (SKILL.md):

    line 111
  7. Very specific:

    No Fabricated Artifacts: Never invent benchmark numbers, stack traces, or production incidents.

    line 168
  8. Distinctive:

    No Git Operations: Never run git commit, git push, or other repository mutation commands.

    line 169

“Common” is measured: kept by at least 6 in 10 of the 32 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

Ideate: Socratic Discovery & Inverted-Pyramid Outlining

ideate unifies two foundational pre-writing disciplines: Socratic technical interviewing (extracting high-information-gain engineering reality before a single paragraph is drafted) and Inverted-Pyramid Information Architecture (ordering every document by descending reader value).


1. Mode Selection: Discovery Interview vs. Direct Structural Outlining

Choose your entry point based on how much raw material is already in context:

  1. Interactive Socratic Interview (Default for New Blog Posts & Articles):
    • When the user wants to brainstorm a post or says "interview me about X", conduct a focused Socratic interview one question at a time to extract all 4 Pillars before generating the outline.
  2. Direct Inverted-Pyramid Outlining / Structural Refactoring:
    • When the user already provides raw notes, code files, or an existing README.md / SKILL.md / draft to restructure, inspect the workspace artifacts directly and organize them into the target inverted-pyramid sequence.

2. Socratic Discovery: The 4 Pillars of Information Gain

Generic AI articles fail because they summarize public documentation and describe only the happy path. Your interview must extract four pillars of first-hand engineering experience:

PillarWhat to ExtractExample Probing Question
1. The Triggering Incident / ProblemThe specific production alert, customer bug, latency ceiling, or developer friction that forced action."What was the exact failure metric or bottleneck that convinced you the existing implementation wouldn't hold up?"
2. Failed Hypotheses & Dead EndsThe first one or two intuitive fixes that did not work, and the mechanism that broke them."Before you landed on the final design, what was your first instinct—and how did that attempt fail?"
3. Concrete ArtifactsVerbatim error logs, stack traces, pprof profiles, minimal before/after diffs, benchmark tables, or architecture diagrams."Do you have the panic stack trace, benchstat output, or minimal code diff we can anchor the lead section around?"
4. Breakthrough & Engineering Trade-offsThe specific insight that solved the problem, the measurable outcome, and the new operational boundaries introduced."Once the fix went live, how did the metrics move—and under what conditions should another team avoid this approach?"

The Open $\rightarrow$ Focused $\rightarrow$ Closed Interviewing Loop

Never overwhelm the author with a wall of questions. Ask strictly one question per turn, wait for the response, and progress through each pillar using the three-stage funnel:

flowchart LR
    Open["1. Open Question\nInvite the story & context"] --> Focused["2. Focused Question\nDrill into mechanisms & artifacts"]
    Focused --> Closed["3. Closed Question\nConfirm exact facts & metrics"]
    Closed --> Next{"All 4 Pillars\nCaptured?"}
    Next -->|No| Open
    Next -->|Yes| Outline["Produce Brief &\nInverted-Pyramid Outline"]
  • Stage A — Open Question (Broad Context): Invite the author to tell the story in their own words ("How did this bottleneck first show up in production?").
  • Stage B — Focused Question (Drilling for Specificity & Artifacts): When the author gives a high-level answer, ask for the concrete mechanism or artifact ("Which allocation site sat at the top of the heap profile, and can we inspect that struct in the repo?").
  • Stage C — Closed Question (Verification & Transition): Summarize the technical mechanism in one crisp sentence to confirm accuracy before moving to the next pillar ("So an unbuffered channel inside the retry loop pinned 4 MiB request bodies until the context expired—did I capture that accurately?").

Interviewing Etiquette

  • One Question at a Time: Never stack multiple unrelated questions in a single turn.
  • Cozy Web Peer Voice: Speak like an inquisitive senior engineer at a whiteboard—warm, sharp, and grounded, never robotic or sycophantic.
  • Know When to Wrap Up: Five to eight focused turns are typically enough to capture all four pillars. Do not drag out the interview once you have a clear thesis, real artifacts, and honest trade-offs.

3. Inverted-Pyramid Information Architecture

The inverted pyramid orders technical documents so the highest-value, most actionable conclusions appear at the very top. Instead of burying installation commands or headline metrics beneath paragraphs of chronological backstory, information cascades downward across three progressive reader personas:

flowchart TD
    Scanner["1. The Scanner (10 seconds)\nCore summary, headline metric, or copy-paste Quick Start"] --> Operator["2. The Operator (3 minutes)\nWorking code, CLI usage tables & configuration"]
    Operator --> Contributor["3. The Contributor (15 minutes)\nDeep-dive internals, failed hypotheses, trade-offs & tests"]
    Contributor --> Reference["4. Reference Tier\nEdge cases, benchmarks & legal compliance"]
PersonaTime BudgetPrimary GoalRequired Document SectionFailure Mode to Avoid
The Scanner10 secondsDetermine what this project or post does, why it matters, and grab the headline metric or install command.Title, 150-Word Lead Block, and Quick-Start snippet.Burying the core conclusion or install command below a 400-word philosophical preamble.
The Operator3 minutesRun the tool, configure CLI flags, or adapt the working code pattern to a live system.Working code example, usage tables, and architecture overview.Mixing internal contributor build details into user-facing operational instructions.
The Contributor15 minutesUnderstand internal data structures, why alternative designs failed, benchmark methodology, and test suites.Deep-Dive Mechanics, trade-offs, local build/test commands, and benchmarks.Omitting why specific design trade-offs were chosen over standard alternatives.

4. Document-Specific Structural Sequences

A. The 4-Stage Technical Blog Post Sequence

Replace chronological diary writing ("First we tried X, then Y...") with an outcome-first sequence:

  1. Stage 1 — Lead Block ($\le 150$ Words):
    • State the problem, the architectural fix, and the measurable outcome (latency drop, memory savings, throughput gain, or bug class eliminated) within the first 150 words.
    • Example: "Replacing encoding/json reflection with a pre-compiled column reader cut our telemetry ingestion CPU usage by 44% and reduced p99 allocation stalls from 18 ms to 1.2 ms. Here is how the zero-copy parser works in Go 1.27."
  2. Stage 2 — Working Code or Architecture Overview:
    • Present the minimal working code snippet, API contract, or Mermaid architecture diagram immediately after the lead so The Operator gets the concrete artifact right away.
  3. Stage 3 — Deep-Dive Mechanics & Failed Hypotheses:
    • Unpack why the solution works, why initial approaches fell short, and how the internal state machine or memory layout operates.
  4. Stage 4 — Benchmarks, Trade-offs & Operational Boundaries:
    • Close with reproducible benchmark tables (benchstat, hardware specs, dataset size), honest operational costs, and when not to use this pattern.

B. The 6-Part README.md Sequence

User-facing repository README.md files follow this strict six-part order:

  1. Title and high-impact summary: State what the project does, the problem it solves, and its runtime/protocol in 1–2 crisp paragraphs.
  2. Prescribed actions (Quick start): Provide copy-pasteable installation and first-run commands within the first 10 seconds of reading.
  3. User documentation and usage guides: Document subcommands, UI modes, MCP tools, flags, and workflows using scannable tables.
  4. Developer instructions: Explain how to clone, build from source, and run unit/integration test suites.
  5. Development documentation: Detail internal package structure, extension points, and architecture when helpful for maintainers.
  6. Legal and compliance: Conclude with license terms (Apache-2.0, MIT) and mandatory disclaimers.

C. The Agent Skill (SKILL.md) Sequence

When outlining or structuring an Agent Skill (SKILL.md):

  1. YAML Frontmatter: name, high-signal description with explicit activation triggers, license, and metadata (category, tags, author, version).
  2. Core Role & Workflow Overview: 1-paragraph mission statement followed by a Mermaid decision/workflow diagram.
  3. Deterministic Step-by-Step Playbook: Concrete rules, command invocations, and scannable decision tables.
  4. Output Templates & Verification Checklists: Copy-pasteable Markdown output formats and self-check gates.
  5. Operational Constraints: Explicit boundaries (no fabricated artifacts, no unauthorized git mutations).

5. Deliverable: Structured Brief & Inverted-Pyramid Outline Template

Once discovery is complete, synthesize the material into this exact template so draft can write the document without guessing:

# Article Brief & Outline: [Working Title in Sentence Case]

Open in [Speedgrapher](sidecar://speedgrapher/panel/)

## 1. Narrative & Persona Metadata
- **Document Type**: [Technical Blog Post | README.md | Architecture Doc | SKILL.md]
- **Target Audience**: [e.g., Go backend engineers, Kubernetes operators, AI agent builders]
- **150-Word Lead Hook (The Scanner — 10s)**: [1–3 crisp sentences stating the exact problem, architectural solution, and headline metric or command]
- **Voice & Perspective**: [e.g., First-person plural engineering postmortem (`we`) / Direct instructional (`you`)]

## 2. The 4 Pillars of Information Gain
- **Triggering Incident / Problem**: [Specific pain point, symptoms, and scale]
- **Failed Hypotheses & Dead Ends**: [What was tried first and why it broke]
- **Concrete Artifacts Collected**:
  - [Artifact 1: e.g., `pprof` output / error log]
  - [Artifact 2: e.g., Minimal before/after code snippet]
  - [Artifact 3: e.g., Benchmark comparison table or Mermaid diagram]
- **Breakthrough & Engineering Trade-offs**: [Measurable impact and conditions where this approach should be avoided]

## 3. Inverted-Pyramid Section Outline

### 1. [Lead section heading in sentence case] (The Scanner — 10s)
- **Lead hook**: [Headline metric, problem, and core solution within 150 words]
- **Immediate takeaway**: [What the reader walks away with immediately]

### 2. [Working code or quick-start implementation] (The Operator — 3m)
- **Primary artifact**: [Minimal runnable code block, CLI command, or system diagram]
- **Why before how**: [The constraint this snippet solves and the key lines to inspect]

### 3. [Why initial approaches fell short & deep-dive mechanics] (The Contributor — 15m)
- **Dead end analyzed**: [Why the naive approach failed under load or edge cases]
- **Internal mechanism**: [Step-by-step walkthrough of the winning architecture]

### 4. [Benchmarks, trade-offs, and operational limits] (Reference Tier)
- **Verification metrics**: [Before vs. after table with explicit units]
- **When to avoid**: [Honest trade-offs and operational boundaries]

Operational Constraints

  • No Premature Full Drafting: During an interactive interview, do not dump a 2,000-word article before the author confirms the outline (unless they explicitly ask to skip straight to drafting).
  • No Fabricated Artifacts: Never invent benchmark numbers, stack traces, or production incidents. If an artifact is not yet available, mark it clearly as [TODO: Insert benchmark output].
  • No Git Operations: Never run git commit, git push, or other repository mutation commands.

Download now (ZIP)

  • Other versions35 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 35

    1. openai/plugins★ 7.4ksame name
    2. av/harbor★ 3.3ksame name
    3. skyllwt/OmegaWiki★ 1.7ksame name
    4. DAIR-AutoResearch/AutoSci★ 1.7ksame name
    5. PKU-DAIR/AutoSci★ 1.7ksame name
    6. skyllwt/AutoSci★ 1.7ksame name
    7. Harry-kp/vortix★ 726same name
    8. gymcoach-app/gymcoach★ 149same name
    9. Julien-Au/gymcoach★ 149same name
    10. Lambenthan/empiricalwiki★ 85same name

    25 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Used alongsideProjects 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
  • In this repository6 other files it gives its agents.

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.