Trellis Brainstorm logo

Trellis Brainstorm

OrganizationPopular
fy-agent
trellis-brainstorm

Guides collaborative requirements discovery before implementation. Creates task directory, seeds PRD, asks high-value questions one at a time, researches technical choices, and converges on MVP scope. Use when requirements are unclear, there are multiple valid approaches, or the user describes a new feature or complex task.

Overview

Publisherfy-agent
Repositoryfyagent
Skill nametrellis-brainstorm
Stars
1.7K
Forks
139
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by fy-agent on GitHub. Read the source before you install it.

Installation

Install the Trellis Brainstorm AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/fy-agent/fyagent/tree/main/.agents/skills/trellis-brainstorm
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fy-agent/fyagent.git /tmp/fyagent
mkdir -p .claude/skills
cp -r /tmp/fyagent/.agents/skills/trellis-brainstorm .claude/skills/trellis-brainstorm
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Trellis Brainstorm in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Trellis Brainstorm on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Trellis Brainstorm is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Trellis Brainstorm

Non-Negotiable Planning Contract

A request to build, implement, fix, refactor, or "go ahead" is not approval to leave planning. Task-creation consent is also not implementation approval.

For every non-trivial task, the user must respond at least once after the initial request before implementation begins. If no clarification is needed, that response must approve the final planning summary described below.

While any user-owned product, scope, UX, compatibility, risk, or acceptance decision remains unresolved, end the turn with exactly one highest-value question. Do not edit product code, dispatch implementation, or run task.py start.

Non-Negotiable Evidence Rule

If a question can be answered by exploring the codebase, explore the codebase instead.

This is mandatory. Before asking the user a question, first check whether the answer is already available in code, tests, configs, docs, existing specs, or task history.

Do not ask the user to confirm facts that the repository can answer. Ask only for product intent, preference, scope, risk tolerance, acceptance behavior, or decisions that remain ambiguous after inspection.

Repository evidence establishes current behavior and technical constraints. The user's intended behavior, feature scope boundaries, and UX preferences are never answerable by repository evidence alone, even when an existing pattern exists; existing patterns are options and recommendation evidence, not decisions.


Use this skill during Phase 1 planning to turn the user's request into clear requirements and planning artifacts.

Preconditions

Use this skill only after task-creation consent has been given and the user is ready to enter Trellis planning.

If no task exists yet, create one:

bash
TASK_DIR=$(python ./.trellis/scripts/task.py create "<short task title>" --description "<one-line summary>" --slug <slug>)

Use a concise title from the user's request. Both the title and --description must be non-empty — create rejects blanks, and a record with either one empty is refused at archive. Use a slug without a date prefix. task.py create adds the MM-DD- directory prefix automatically.

task.py create creates the default prd.md. Update that file with the current understanding before asking follow-up questions.

Planning Flow

  1. Capture the user's request and initial known facts in prd.md.
  2. Inspect available evidence before asking questions:
    • code, tests, fixtures, and configs
    • README files, docs, existing specs, and domain notes
    • related Trellis tasks, research files, and session history when present
  3. Separate what you found into:
    • confirmed facts
    • product intent still needed from the user
    • scope or risk decisions still needed from the user
    • likely out-of-scope items
  4. If a user-owned decision remains, ask the single highest-value question, include your recommendation and trade-off, then stop. Do not perform implementation work in the same turn.
  5. After each user answer, update prd.md, recompute the decision inventory, and repeat from step 2.
  6. When no user-owned decision remains, create or update design.md and implement.md for complex tasks.
  7. Run the requirement convergence gate, then the PRD convergence pass.
  8. Present the final planning summary and stop. Do not run task.py start or edit product code in the same turn.
  9. Only a subsequent user message that explicitly approves the latest planning summary authorizes task.py start and implementation. If the artifacts change materially after approval, repeat the final review.

Do not invent a project-specific product/spec hierarchy. If the repository already has product, domain, or spec docs, use them. If it does not, proceed with the evidence that exists.

Question Rules

Ask only one question per message.

Each question must include:

  • the decision needed
  • why the answer matters
  • your recommended answer
  • the trade-off if the user chooses differently

Do not ask process questions such as whether to search, inspect files, or continue brainstorming. Do the evidence work directly. Ask the user only when the remaining issue is a product decision, preference, scope boundary, or risk tolerance choice.

Recommendations are not default selections. Never choose a recommended product decision on the user's behalf merely because the user asked for implementation.

Do not manufacture clarification questions when the request and repository evidence already resolve every decision. In that case, proceed directly to the final planning summary, which still requires a subsequent explicit approval.

The final review is a required phase-transition gate, not a prohibited process question. Task-creation consent, the initial implementation request, and approval given before the latest final summary do not satisfy this gate.

Thinking Framework: First Principles Analysis

When requirements are vague, solutions feel over-engineered, or you're about to add complexity "because everyone does" — decompose to fundamental truths before reasoning upward.

Step 1: Restate the Problem

Strip away implementation details to one sentence.

Bad: "We need to add Redis caching to the user profile endpoint" Good: "User profile data takes too long to load"

Step 2: List Fundamental Truths

What is absolutely true (not opinion or convention)?

CategoryExamples
Physical constraintsNetwork latency ≥ 0, disk I/O has limits
Business rules"Users must see their own data"
Technical invariants"Data must be consistent"
User needs"The user wants X within Y seconds"

Step 3: Challenge Assumptions

For each component of the current plan:

  • Fact or convention? "We always use REST" — why?
  • What if we removed this? If nothing breaks, it's unnecessary.
  • Solving the actual problem or a symptom? Trace the causal chain.
  • Who benefits from this complexity? If "nobody", simplify.

Step 4: Build Up from Truths

  1. Start with the minimum viable mechanism satisfying all truths
  2. Add complexity only when a specific truth demands it
  3. Each addition must answer: "Which truth requires this?"

Step 5: Validate

  • Does the solution solve the original problem?
  • What assumptions need verification?
  • What's the simplest experiment to test this?

Requirement Convergence Gate

Before final review, verify all of the following:

  • the user outcome and product value are explicit
  • in-scope and out-of-scope behavior are explicit
  • acceptance criteria describe observable outcomes
  • user-owned product, scope, UX, compatibility, and risk decisions are resolved
  • blocking open questions are empty
  • technical unknowns are researched or explicitly deferred without changing MVP behavior

Lightweight tasks may omit design.md and implement.md; they may not skip evidence inspection, requirement convergence, final review, or fresh implementation approval.

The final planning summary must show Goal, In Scope, Out of Scope, Acceptance Criteria, Key Decisions, relevant Risks or Deferred Items, and artifact status.

Artifact Rules

prd.md records requirements and acceptance:

  • goal and user value
  • confirmed facts
  • requirements
  • acceptance criteria
  • out of scope
  • open questions that still block planning

design.md records technical design for complex tasks:

  • architecture and boundaries
  • data flow and contracts
  • compatibility and migration notes
  • important trade-offs
  • operational or rollback considerations

implement.md records execution planning for complex tasks:

  • ordered implementation checklist
  • validation commands
  • risky files or rollback points
  • follow-up checks before task.py start

Lightweight tasks may have only prd.md. Complex tasks must have prd.md, design.md, and implement.md before task.py start.

implement.md is not a replacement for implement.jsonl. On sub-agent-dispatch workflows, implement.jsonl and check.jsonl must each contain at least one real spec/research entry before task.py start; an empty manifest, or one holding only a legacy _example placeholder row, does not count. Inline workflows skip this JSONL gate because Phase 2 loads context through trellis-before-dev.

PRD Convergence Pass

Before declaring planning ready or running task.py start, rewrite prd.md once against the final structure described in the artifact rules above. This is not optional cleanup; it is the final planning gate.

The pass must be lossless:

  • Collapse repeated facts into one authoritative section.
  • Fold temporary brainstorm sections such as What I already know, Assumptions, and resolved Open Questions into Goal, Background, Requirements, Technical Notes, or Acceptance Criteria.
  • Remove resolved open questions instead of leaving empty or already-answered sections.
  • Merge parallel bug and requirement lists when they describe the same work; keep each defect's severity, evidence, and file:line anchors on the owning requirement.
  • Preserve every file:line anchor, decision, constraint, requirement ID, and acceptance-criteria mapping.
  • Do not proceed to final review while any blocking open question remains.

After the pass, read prd.md top to bottom and verify that no fact is repeated across sections unless the repetition adds new information.

Quality Bar

Before declaring planning ready:

  • prd.md contains testable acceptance criteria.
  • prd.md has passed the PRD convergence pass: no unresolved temporary brainstorm sections, no duplicate facts across sections, and no lost anchors, decisions, or acceptance mappings.
  • Repository-answerable questions have already been answered through inspection.
  • Blocking open questions are empty.
  • Complex tasks have design.md and implement.md.
  • Sub-agent-dispatch tasks have real curated entries in both implement.jsonl and check.jsonl; seed-only manifests are not ready.
  • The latest final planning summary has been presented to the user.
  • In a subsequent message, the user explicitly approved that summary for implementation.

Do not start implementation merely because the user originally asked for implementation.

Frequently asked questions

What does the Trellis Brainstorm AI skill do?

Guides collaborative requirements discovery before implementation. Creates task directory, seeds PRD, asks high-value questions one at a time, researches technical choices, and converges on MVP scope. Use when requirements are unclear, there are multiple valid approaches, or the user describes a new feature or complex task.

Why use Trellis Brainstorm on TypingMind?

Because you install it once and use it with any model. Trellis Brainstorm is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Trellis Brainstorm in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/fy-agent/fyagent/tree/main/.agents/skills/trellis-brainstorm. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Trellis Brainstorm?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Trellis Brainstorm?

As many as you like. As long as a model supports skills, you can use Trellis Brainstorm with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Trellis Brainstorm AI skill free?

It is published on GitHub by fy-agent. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇