agentleFS
devnomad-bytedevnomad-byte/techneering/skills/spark/SKILL.md

spark

Skill13 starsChanged 5 months agoMITView on GitHub

You MUST use this before any creative work — creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 9

    Distinctive

    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
  1. Distinctive:

    Check files, docs, recent commits.

    line 21
  2. Very specific:

    Check for config files: .editorconfig, .prettierrc, .eslintrc, biome.json

    line 39
  3. Distinctive:

    If no config found, infer from code: indent (tab/space, 2/4), quotes (single/double), semicolons, trailing commas

    line 40
  4. Distinctive:

    If the request describes multiple independent subsystems, flag immediately and help decompose into sub-projects.

    line 77
  5. Distinctive:

    Prefer multiple choice when possible

    line 100
  6. Distinctive:

    Don't follow a script — let questions emerge naturally

    line 102
  7. Distinctive:

    Ask after each section whether it looks right

    line 113
  8. Distinctive:

    Do break systems into smaller units with clear purpose and interfaces

    line 154
  9. Distinctive:

    Do propose 2-3 approaches before settling on one

    line 155
  10. Distinctive:

    Do go back and clarify when something doesn't make sense

    line 156

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

Sparking Ideas Into Designs

Help turn ideas into fully formed designs through natural collaborative dialogue. Explore intent, refine requirements, compare approaches — then hand off to draft for formal documentation.

Core Principle

NO IMPLEMENTATION WITHOUT A DESIGN.
Present a design and get user approval before writing any code.

Steps

Step 1: Explore Project Context

Check files, docs, recent commits. Understand the current state before asking questions.

For existing projects (code already exists):

1a. Project Structure Analysis

  • Scan directory structure, identify layering pattern (MVC / layered / feature-based / modular / monorepo)
  • Identify file/directory naming convention (kebab-case / PascalCase / camelCase / snake_case)

1b. Code Pattern Analysis

Sample 3-5 source files and identify:

  • Naming conventions: files, classes, functions, constants, variables (camelCase / snake_case / PascalCase / UPPER_SNAKE)
  • Error handling: exceptions / Result type / error codes / try-catch
  • Dependency injection: constructor / annotations / manual / module system
  • API style: REST / GraphQL / gRPC (if applicable)
  • Data access: ORM / query-builder / raw-sql / repository pattern
  • Import style: alias (@/) / relative / absolute / package-based

1c. Formatting Style Analysis

  • Check for config files: .editorconfig, .prettierrc, .eslintrc, biome.json
  • If no config found, infer from code: indent (tab/space, 2/4), quotes (single/double), semicolons, trailing commas

1d. Summarize Conventions

Produce a coding_conventions summary as part of spark output. This will be written to techneering/config.yaml by tn:draft.

1e. Tech Stack Detection & Quality Standards Recommendation

Detect project tech stack from build files and recommend matching quality standards:

Detected FileTech StackRecommended Source
pom.xml / build.gradleJavaali-taishan-java
requirements.txt / pyproject.tomlPythonali-taishan-python + pep8
go.modGogofmt
package.json + vueVuevue-official
package.json + reactReactreact-airbnb
package.json + typescriptTypeScriptgoogle-js
package.json (other)JavaScriptprompt user to choose

Present the recommendation to the user and ask for confirmation. Include the full options table from tn:draft if the user wants to see alternatives.

For new projects (empty or freshly initialized):

1a. Extract Requirements Keywords

From the user's description, identify technical requirements (e.g., "real-time", "SEO", "mobile-first", "high-performance", "admin dashboard").

1b. Framework Research

Based on requirements, search for available frameworks. Present 2-3 options with:

  • Maturity / ecosystem
  • Learning curve
  • Best-fit scenarios
  • Your recommendation with reasoning

1c. Recommend Standard Style

Based on the chosen framework, recommend a matching code style and project structure.

Step 2: Assess Scope

If the request describes multiple independent subsystems, flag immediately and help decompose into sub-projects. Each sub-project gets its own spark → draft → forge cycle.

Step 3: Web Research (on demand)

The model's training data has a cutoff. Before committing to a design, check whether the real world still agrees with you.

Search when:

  • The request involves a framework, library, API, or tool that moves fast (e.g. "use the latest React patterns", "set up a build pipeline")
  • It's a new project and you're recommending a stack — confirm the options are still current and mature
  • The user names a specific version, package, or feature flag — verify it exists and behaves as assumed

How: Use the built-in WebSearch to find current docs, benchmarks, or community recommendations; use WebFetch on a trusted URL (official docs, the library's README) when you need the detail. Keep it lightweight — 1-3 searches is usually enough to confirm a direction, not a full literature review.

Skip the search when:

  • It's pure business logic, internal architecture, or a domain the user knows better than the web does
  • The user has already specified the exact approach, version, or library
  • You've searched this exact question recently in the same conversation

Bring the findings back to the user — cite what you found (a doc, a benchmark, a known issue) and explain how it shaped the proposed design. If the search contradicts the user's assumption, surface it politely rather than silently overriding.

Step 4: Ask Clarifying Questions

  • One question at a time
  • Prefer multiple choice when possible
  • Focus on: purpose, constraints, success criteria
  • Don't follow a script — let questions emerge naturally

Step 5: Propose 2-3 Approaches

  • Present options with trade-offs
  • Lead with your recommendation and explain why
  • Cover architecture, data flow, error handling, testing

Step 6: Present Design

  • Scale each section to its complexity
  • Ask after each section whether it looks right
  • Cover: architecture, components, data flow, error handling, testing
  • Be ready to go back and clarify if something doesn't make sense

Step 7: Get User Approval

Design approved → transition to draft. Design rejected → revise and re-present.

Red Flags

ThoughtReality
"Just start implementing"Implementation without design is vibe coding, not spec coding
"Too simple to need spark"Even simple problems need confirmation that you understood them
"Ask all questions at once"One question at a time lets you dig deeper
"Only one design option exists"You must propose 2-3 approaches for comparison

Quick Reference

DimensionKey point
RoleThinking phase, writes no files
OutputConclusions stay in the conversation
Terminal stateInvoke tn:draft to document the conclusions
One question at a timeNever ask multiple questions at once
Web researchOn demand — confirm fast-moving tech before committing, 1-3 searches max
YAGNIRemove unnecessary features from all designs

Next Step

When done:

  • Design approved → invoke tn:draft to turn conclusions into a formal proposal
  • Design needs revision → keep revising until approved
  • User requests stop → end the current flow

Guardrails

  • Never implement — Do not write code, scaffold projects, or take any implementation action
  • Never write files — Spark produces thinking conclusions that stay in conversation
  • Never skip design approval — Even "simple" projects need a design review
  • Never invoke other skills — The ONLY skill to invoke after spark is tn:draft
  • Do break systems into smaller units with clear purpose and interfaces
  • Do propose 2-3 approaches before settling on one
  • Do go back and clarify when something doesn't make sense

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.