stellar-agent 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +162 -0
- package/package.json +37 -0
- package/src/core-skills/module-help.csv +5 -0
- package/src/core-skills/module.yaml +33 -0
- package/src/core-skills/stellar-brainstorming/SKILL.md +6 -0
- package/src/core-skills/stellar-brainstorming/steps/step-01-session-setup.md +67 -0
- package/src/core-skills/stellar-brainstorming/steps/step-02a-user-selected.md +20 -0
- package/src/core-skills/stellar-brainstorming/steps/step-02b-ai-recommended.md +29 -0
- package/src/core-skills/stellar-brainstorming/steps/step-03-technique-execution.md +69 -0
- package/src/core-skills/stellar-brainstorming/steps/step-04-idea-organization.md +64 -0
- package/src/core-skills/stellar-brainstorming/workflow.md +50 -0
- package/src/core-skills/stellar-help/SKILL.md +71 -0
- package/src/core-skills/stellar-party-mode/SKILL.md +109 -0
- package/src/scripts/resolve_config.py +170 -0
- package/src/scripts/resolve_customization.py +209 -0
- package/src/stellar-skills/1-analysis/stellar-agent-analyst/SKILL.md +71 -0
- package/src/stellar-skills/1-analysis/stellar-agent-analyst/customize.toml +41 -0
- package/src/stellar-skills/1-analysis/stellar-analytics/SKILL.md +239 -0
- package/src/stellar-skills/1-analysis/stellar-domain-research/SKILL.md +82 -0
- package/src/stellar-skills/1-analysis/stellar-market-research/SKILL.md +90 -0
- package/src/stellar-skills/2-planning/stellar-agent-pm/SKILL.md +57 -0
- package/src/stellar-skills/2-planning/stellar-agent-pm/customize.toml +36 -0
- package/src/stellar-skills/2-planning/stellar-epics-stories/SKILL.md +106 -0
- package/src/stellar-skills/2-planning/stellar-prd/SKILL.md +115 -0
- package/src/stellar-skills/2-planning/stellar-project-brief/SKILL.md +83 -0
- package/src/stellar-skills/3-architecture/stellar-agent-architect/SKILL.md +53 -0
- package/src/stellar-skills/3-architecture/stellar-agent-architect/customize.toml +31 -0
- package/src/stellar-skills/3-architecture/stellar-architecture-doc/SKILL.md +162 -0
- package/src/stellar-skills/4-implementation/stellar-agent-developer/SKILL.md +54 -0
- package/src/stellar-skills/4-implementation/stellar-agent-developer/customize.toml +56 -0
- package/src/stellar-skills/4-implementation/stellar-agent-devops/SKILL.md +54 -0
- package/src/stellar-skills/4-implementation/stellar-agent-devops/customize.toml +36 -0
- package/src/stellar-skills/4-implementation/stellar-agent-frontend/SKILL.md +54 -0
- package/src/stellar-skills/4-implementation/stellar-agent-frontend/customize.toml +52 -0
- package/src/stellar-skills/4-implementation/stellar-agent-qa/SKILL.md +54 -0
- package/src/stellar-skills/4-implementation/stellar-agent-qa/customize.toml +31 -0
- package/src/stellar-skills/4-implementation/stellar-create-asset/SKILL.md +145 -0
- package/src/stellar-skills/4-implementation/stellar-create-transaction/SKILL.md +134 -0
- package/src/stellar-skills/4-implementation/stellar-deploy-contract/SKILL.md +124 -0
- package/src/stellar-skills/4-implementation/stellar-freighter-integration/SKILL.md +193 -0
- package/src/stellar-skills/4-implementation/stellar-horizon-integration/SKILL.md +198 -0
- package/src/stellar-skills/4-implementation/stellar-init-contract/SKILL.md +102 -0
- package/src/stellar-skills/4-implementation/stellar-liquidity-pool/SKILL.md +156 -0
- package/src/stellar-skills/4-implementation/stellar-nextjs-setup/SKILL.md +198 -0
- package/src/stellar-skills/4-implementation/stellar-nextjs-soroban/SKILL.md +228 -0
- package/src/stellar-skills/4-implementation/stellar-nextjs-wallet/SKILL.md +276 -0
- package/src/stellar-skills/4-implementation/stellar-sep10-auth/SKILL.md +252 -0
- package/src/stellar-skills/4-implementation/stellar-setup-environment/SKILL.md +163 -0
- package/src/stellar-skills/4-implementation/stellar-setup-trustline/SKILL.md +107 -0
- package/src/stellar-skills/4-implementation/stellar-test-contract/SKILL.md +146 -0
- package/src/stellar-skills/4-implementation/stellar-write-contract/SKILL.md +140 -0
- package/src/stellar-skills/module-help.csv +24 -0
- package/src/stellar-skills/module.yaml +103 -0
- package/tools/installer/cli-utils.js +39 -0
- package/tools/installer/commands/init.js +335 -0
- package/tools/installer/fs-native.js +116 -0
- package/tools/installer/prompts.js +852 -0
- package/tools/installer/stellar-cli.js +80 -0
- package/tools/installer/yaml-format.js +245 -0
package/README.md
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# Stellar Agent
|
|
2
|
+
|
|
3
|
+
An AI agent team for Stellar blockchain developers. Run one command to add a team of specialized AI agents to any project.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx stellar-agent init
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
This scaffolds a `_stellar/` directory in your project. From that point, invoke agents directly from your AI assistant (Claude Code, Cursor, Windsurf, etc.).
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Agent Team
|
|
16
|
+
|
|
17
|
+
### 📊 Aria — Blockchain Analyst
|
|
18
|
+
> `@stellar-agent-analyst`
|
|
19
|
+
|
|
20
|
+
Tokenomics research, on-chain data analysis, dbt analytics, and DeFi competitive landscape. Start here when you need to understand the market or model your token economy.
|
|
21
|
+
|
|
22
|
+
| Command | What it does |
|
|
23
|
+
|---|---|
|
|
24
|
+
| `MR` | Market research — DeFi landscape and Stellar ecosystem |
|
|
25
|
+
| `TA` | Tokenomics analysis — supply, distribution, velocity |
|
|
26
|
+
| `AN` | Analytics setup — dbt models for Stellar network data |
|
|
27
|
+
| `DR` | Domain research — protocol constraints and regulatory context |
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
### 📋 Kai — dApp Product Manager
|
|
32
|
+
> `@stellar-agent-pm`
|
|
33
|
+
|
|
34
|
+
PRDs, epics, user stories, and project briefs. Turns your idea into a structured plan with Stellar-specific acceptance criteria.
|
|
35
|
+
|
|
36
|
+
| Command | What it does |
|
|
37
|
+
|---|---|
|
|
38
|
+
| `PB` | Project brief — one-page concept and goals |
|
|
39
|
+
| `PR` | Product Requirements Document |
|
|
40
|
+
| `ES` | Epics and stories — development breakdown with acceptance criteria |
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
### 🏗️ Nova — Stellar System Architect
|
|
45
|
+
> `@stellar-agent-architect`
|
|
46
|
+
|
|
47
|
+
On-chain vs off-chain decisions, Soroban contract design, system diagrams. Use before writing any code.
|
|
48
|
+
|
|
49
|
+
| Command | What it does |
|
|
50
|
+
|---|---|
|
|
51
|
+
| `AD` | Architecture document — full system design with Mermaid diagrams |
|
|
52
|
+
| `CD` | Contract design — storage schema, auth model, cross-contract calls |
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
### 💻 Sol — Stellar Developer
|
|
57
|
+
> `@stellar-agent-developer`
|
|
58
|
+
|
|
59
|
+
Soroban smart contracts in Rust, Stellar SDK transactions in TypeScript, and deployment pipelines.
|
|
60
|
+
|
|
61
|
+
| Command | What it does |
|
|
62
|
+
|---|---|
|
|
63
|
+
| `IC` | Init contract — `stellar contract init` with workspace setup |
|
|
64
|
+
| `WC` | Write contract — storage types, host functions, error handling |
|
|
65
|
+
| `DC` | Deploy contract — build → optimize → upload → instantiate |
|
|
66
|
+
| `TX` | Create transaction — payments, path payments, account operations |
|
|
67
|
+
| `CA` | Create asset — custom asset issuance and `stellar.toml` |
|
|
68
|
+
| `TL` | Setup trustline — `changeTrust` and `setTrustLineFlags` |
|
|
69
|
+
| `LP` | Liquidity pool — AMM deposit, withdraw, and DEX swaps |
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
### 🎨 Lyra — Stellar Frontend Developer
|
|
74
|
+
> `@stellar-agent-frontend`
|
|
75
|
+
|
|
76
|
+
Next.js App Router dApps connected to Stellar — Freighter wallet, Soroban contract calls from React, SEP-10 auth.
|
|
77
|
+
|
|
78
|
+
| Command | What it does |
|
|
79
|
+
|---|---|
|
|
80
|
+
| `NS` | Next.js setup — scaffold project with Stellar SDK and env config |
|
|
81
|
+
| `WL` | Wallet integration — Freighter connect/disconnect and signing |
|
|
82
|
+
| `SC` | Soroban in Next.js — Server Components + client-side contract calls |
|
|
83
|
+
| `FI` | Freighter integration — full API reference and lifecycle |
|
|
84
|
+
| `SA` | SEP-10 auth — Web Authentication with JWT for API routes |
|
|
85
|
+
| `HI` | Horizon integration — fetch account and transaction data |
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
### 🧪 Vera — Contract QA Engineer
|
|
90
|
+
> `@stellar-agent-qa`
|
|
91
|
+
|
|
92
|
+
Smart contract testing, testnet validation, and regression suites. Never ships until simulation is clean.
|
|
93
|
+
|
|
94
|
+
| Command | What it does |
|
|
95
|
+
|---|---|
|
|
96
|
+
| `TC` | Test contract — Rust test harness with `mock_all_auths` and `try_*` |
|
|
97
|
+
| `TV` | Testnet validation — end-to-end regression on testnet |
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
### ⚙️ Orion — Stellar DevOps Engineer
|
|
102
|
+
> `@stellar-agent-devops`
|
|
103
|
+
|
|
104
|
+
Local Stellar environment setup, Horizon instance management, and testnet → mainnet deployment.
|
|
105
|
+
|
|
106
|
+
| Command | What it does |
|
|
107
|
+
|---|---|
|
|
108
|
+
| `SE` | Setup environment — Stellar CLI, Rust, Docker quickstart |
|
|
109
|
+
| `HI` | Horizon integration — server setup, streaming, fee strategy |
|
|
110
|
+
| `DP` | Deploy — full deployment pipeline with runbook |
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Core Commands
|
|
115
|
+
|
|
116
|
+
These work from any project with `_stellar/` initialized:
|
|
117
|
+
|
|
118
|
+
| Command | What it does |
|
|
119
|
+
|---|---|
|
|
120
|
+
| `stellar-help` | Browse the full skill catalog with next-step recommendations |
|
|
121
|
+
| `stellar-brainstorming` | Facilitated brainstorming for project ideas, architecture, and tokenomics |
|
|
122
|
+
| `stellar-party-mode` | Multi-agent roundtable — all agents in one discussion |
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Typical Workflow
|
|
127
|
+
|
|
128
|
+
```
|
|
129
|
+
1. stellar-brainstorming → explore the idea
|
|
130
|
+
2. @stellar-agent-analyst → MR market research
|
|
131
|
+
3. @stellar-agent-pm → PB project brief → PR PRD → ES epics
|
|
132
|
+
4. @stellar-agent-architect → AD architecture document
|
|
133
|
+
5. @stellar-agent-devops → SE setup environment
|
|
134
|
+
6. @stellar-agent-developer → IC init contract → WC write → DC deploy
|
|
135
|
+
7. @stellar-agent-qa → TC test contract → TV testnet validation
|
|
136
|
+
8. @stellar-agent-frontend → NS Next.js setup → WL wallet → SC Soroban
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## Local Development
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
# Install dependencies
|
|
145
|
+
npm install
|
|
146
|
+
|
|
147
|
+
# Validate all skills
|
|
148
|
+
npm run validate:skills
|
|
149
|
+
|
|
150
|
+
# Test CLI
|
|
151
|
+
node tools/installer/stellar-cli.js --help
|
|
152
|
+
|
|
153
|
+
# Link globally for testing in other projects
|
|
154
|
+
npm link
|
|
155
|
+
# then in another project:
|
|
156
|
+
stellar-agent init
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
## Requirements
|
|
160
|
+
|
|
161
|
+
- Node.js >= 20.12.0
|
|
162
|
+
- An AI assistant that supports agent/persona invocation (Claude Code, Cursor, etc.)
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "stellar-agent",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "AI agent team for Stellar blockchain developers",
|
|
5
|
+
"keywords": ["stellar", "soroban", "blockchain", "ai", "agents"],
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "tools/installer/stellar-cli.js",
|
|
8
|
+
"bin": {
|
|
9
|
+
"stellar-agent": "tools/installer/stellar-cli.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"tools/installer/",
|
|
13
|
+
"src/",
|
|
14
|
+
"package.json",
|
|
15
|
+
"README.md"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"validate:skills": "node tools/validate-skills.js --strict",
|
|
19
|
+
"test": "node test/test-installation.js"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@clack/core": "1.3.1",
|
|
23
|
+
"@clack/prompts": "1.4.0",
|
|
24
|
+
"chalk": "4.1.2",
|
|
25
|
+
"commander": "14.0.0",
|
|
26
|
+
"js-yaml": "4.1.0",
|
|
27
|
+
"picocolors": "1.1.1",
|
|
28
|
+
"semver": "7.6.3",
|
|
29
|
+
"yaml": "2.7.0"
|
|
30
|
+
},
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=20.12.0"
|
|
33
|
+
},
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
module,skill,display-name,menu-code,description,action,args,phase,preceded-by,followed-by,required,output-location,outputs
|
|
2
|
+
Core,_meta,,,,,,,,,false,https://github.com/tolgazorlu/stellar-agent#readme,
|
|
3
|
+
Core,stellar-brainstorming,Brainstorming,BSP,Facilitate interactive brainstorming for Stellar project ideas architecture and tokenomics design.,,,anytime,,,false,{output_folder}/brainstorming,brainstorming session
|
|
4
|
+
Core,stellar-party-mode,Party Mode,PM,Orchestrate multi-agent roundtable discussions with the full Stellar Agent team.,,,anytime,,,false,,
|
|
5
|
+
Core,stellar-help,Stellar Help,SH,Navigate the Stellar Agent skill catalog and get next-step recommendations.,,,anytime,,,false,,
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
code: core
|
|
2
|
+
name: "Stellar Agent Core Module"
|
|
3
|
+
description: "Core configuration and shared resources for the Stellar Agent team"
|
|
4
|
+
|
|
5
|
+
header: "Stellar Agent Core Configuration"
|
|
6
|
+
subheader: "Configure the core settings for your Stellar Agent installation."
|
|
7
|
+
|
|
8
|
+
user_name:
|
|
9
|
+
prompt: "What should agents call you?"
|
|
10
|
+
scope: user
|
|
11
|
+
default: "Developer"
|
|
12
|
+
result: "{value}"
|
|
13
|
+
|
|
14
|
+
project_name:
|
|
15
|
+
prompt: "What is your Stellar project called?"
|
|
16
|
+
default: "{directory_name}"
|
|
17
|
+
result: "{value}"
|
|
18
|
+
|
|
19
|
+
communication_language:
|
|
20
|
+
prompt: "What language should agents use when chatting with you?"
|
|
21
|
+
scope: user
|
|
22
|
+
default: "English"
|
|
23
|
+
result: "{value}"
|
|
24
|
+
|
|
25
|
+
document_output_language:
|
|
26
|
+
prompt: "Preferred document output language?"
|
|
27
|
+
default: "English"
|
|
28
|
+
result: "{value}"
|
|
29
|
+
|
|
30
|
+
output_folder:
|
|
31
|
+
prompt: "Where should output files be saved?"
|
|
32
|
+
default: "_stellar-output"
|
|
33
|
+
result: "{project-root}/{value}"
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: stellar-brainstorming
|
|
3
|
+
description: 'Facilitate interactive brainstorming sessions for Stellar blockchain project ideas, tokenomics, dApp concepts, smart contract design, and architecture exploration. Use when the user says help me brainstorm or wants to ideate Stellar project ideas.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Follow the instructions in ./workflow.md.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Step 01 — Session Setup & Topic Discovery
|
|
2
|
+
|
|
3
|
+
## Your Role in This Step
|
|
4
|
+
|
|
5
|
+
Warm welcome, discover the brainstorming topic, and check for a continuing session.
|
|
6
|
+
|
|
7
|
+
## Actions
|
|
8
|
+
|
|
9
|
+
### 1. Greet and Set Context
|
|
10
|
+
|
|
11
|
+
Greet `{user_name}` warmly and introduce the brainstorming session. Mention you're here to help explore Stellar blockchain ideas with creative techniques.
|
|
12
|
+
|
|
13
|
+
Briefly surface the project context: `{project_name}`, network target (`{network_preference}`), and primary tech (`{primary_language}`).
|
|
14
|
+
|
|
15
|
+
### 2. Check for Continuation
|
|
16
|
+
|
|
17
|
+
Ask: "Are we starting a new session or continuing an existing one?"
|
|
18
|
+
|
|
19
|
+
If continuing: ask for the session file path or let them paste context. Load the file at `{brainstorming_session_output_file}` if it exists. Jump to `./step-01b-continue.md`.
|
|
20
|
+
|
|
21
|
+
### 3. Discover the Topic
|
|
22
|
+
|
|
23
|
+
If starting fresh, ask the user to describe what they want to brainstorm. Common Stellar brainstorming topics:
|
|
24
|
+
|
|
25
|
+
- **New dApp concept** — what user problem to solve on Stellar
|
|
26
|
+
- **Smart contract design** — Soroban contract architecture and features
|
|
27
|
+
- **Tokenomics** — token distribution, incentive design, economic model
|
|
28
|
+
- **Business model** — monetization, go-to-market, user acquisition
|
|
29
|
+
- **Technical approach** — Soroban vs Classic Stellar, on-chain vs off-chain
|
|
30
|
+
- **DeFi mechanics** — AMM design, liquidity strategies, yield mechanisms
|
|
31
|
+
- **Cross-border payment** — remittance flows, corridor strategy, compliance
|
|
32
|
+
|
|
33
|
+
Ask: "What's the core challenge or question you want to explore today?"
|
|
34
|
+
|
|
35
|
+
### 4. Clarify Scope
|
|
36
|
+
|
|
37
|
+
Ask 1-2 clarifying questions to narrow scope:
|
|
38
|
+
- "Who is the primary user of this?"
|
|
39
|
+
- "What's the network/regulatory context?" (e.g., specific corridors for remittance)
|
|
40
|
+
- "Is this Soroban-based, Classic Stellar, or hybrid?"
|
|
41
|
+
|
|
42
|
+
### 5. Set Up Session Document
|
|
43
|
+
|
|
44
|
+
Create the brainstorming session file at `{brainstorming_session_output_file}`:
|
|
45
|
+
|
|
46
|
+
```markdown
|
|
47
|
+
# Brainstorming Session: {topic}
|
|
48
|
+
**Date:** {date}
|
|
49
|
+
**Project:** {project_name}
|
|
50
|
+
**Network:** {network_preference}
|
|
51
|
+
**Primary Language:** {primary_language}
|
|
52
|
+
**Facilitator:** Stellar Agent Brainstorming
|
|
53
|
+
|
|
54
|
+
## Topic
|
|
55
|
+
{user's topic statement}
|
|
56
|
+
|
|
57
|
+
## Scope Clarifications
|
|
58
|
+
{clarifications from step 4}
|
|
59
|
+
|
|
60
|
+
## Ideas
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### 6. Proceed
|
|
64
|
+
|
|
65
|
+
Tell the user: "Great — let's explore this. I'll suggest a brainstorming technique, or you can pick one. Ready?"
|
|
66
|
+
|
|
67
|
+
Proceed to `./step-02a-user-selected.md` (let user pick technique) or `./step-02b-ai-recommended.md` (AI recommends one based on topic).
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Step 02a — User Selects Brainstorming Technique
|
|
2
|
+
|
|
3
|
+
## Present Technique Menu
|
|
4
|
+
|
|
5
|
+
Show the user a numbered list of techniques suited for Stellar/blockchain brainstorming:
|
|
6
|
+
|
|
7
|
+
1. **SCAMPER** — Substitute, Combine, Adapt, Modify, Put to other uses, Eliminate, Reverse. Great for evolving existing Stellar dApp concepts.
|
|
8
|
+
2. **How Might We** — Frame problems as "How might we..." questions. Best for user-centered DeFi and payment design.
|
|
9
|
+
3. **Crazy 8s** — 8 ideas in 8 minutes, no filtering. Forces rapid ideation past the obvious.
|
|
10
|
+
4. **First Principles** — Break assumptions about Stellar/DeFi to their atomic truths, then rebuild. For architecture decisions.
|
|
11
|
+
5. **Analogical Thinking** — "What if Stellar were like [non-crypto domain]?" Bridges blockchain to everyday concepts.
|
|
12
|
+
6. **Pre-mortem** — Imagine the project failed — what went wrong? Surfaces risks and hidden requirements.
|
|
13
|
+
7. **Jobs-to-be-Done** — What job is the user hiring this dApp to do? Grounds tokenomics in real user behavior.
|
|
14
|
+
8. **Reverse Brainstorming** — How would we guarantee this fails? Then invert the answers.
|
|
15
|
+
|
|
16
|
+
Ask: "Which technique sounds most interesting? Pick a number or describe what you'd like."
|
|
17
|
+
|
|
18
|
+
## On Selection
|
|
19
|
+
|
|
20
|
+
Note the selected technique and proceed to `./step-03-technique-execution.md` with the technique loaded.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Step 02b — AI Recommends Brainstorming Technique
|
|
2
|
+
|
|
3
|
+
## Technique Selection Logic
|
|
4
|
+
|
|
5
|
+
Based on the topic type, recommend:
|
|
6
|
+
|
|
7
|
+
- **New dApp concept** → How Might We (user-centered framing)
|
|
8
|
+
- **Smart contract design** → First Principles (breaks blockchain assumptions)
|
|
9
|
+
- **Tokenomics** → Jobs-to-be-Done (grounds tokens in real behavior)
|
|
10
|
+
- **DeFi/AMM mechanics** → Analogical Thinking (bridge to familiar systems)
|
|
11
|
+
- **Risk/compliance** → Pre-mortem (surfaces hidden failure modes)
|
|
12
|
+
- **General ideation** → Crazy 8s (forces quantity over quality)
|
|
13
|
+
- **Improving existing concept** → SCAMPER (systematic mutation)
|
|
14
|
+
|
|
15
|
+
## Present Recommendation
|
|
16
|
+
|
|
17
|
+
Tell the user: "Based on your topic, I recommend **[Technique Name]** because [1-sentence reason specific to their topic and Stellar context]."
|
|
18
|
+
|
|
19
|
+
Briefly explain what the technique involves (2-3 sentences) and how it applies to their specific Stellar challenge.
|
|
20
|
+
|
|
21
|
+
Ask: "Want to try this, or would you prefer a different approach?"
|
|
22
|
+
|
|
23
|
+
## On Confirmation
|
|
24
|
+
|
|
25
|
+
Proceed to `./step-03-technique-execution.md` with the recommended technique.
|
|
26
|
+
|
|
27
|
+
## On Rejection
|
|
28
|
+
|
|
29
|
+
Show the full technique menu from `./step-02a-user-selected.md` and let the user pick.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Step 03 — Technique Execution
|
|
2
|
+
|
|
3
|
+
## Core Execution Rules
|
|
4
|
+
|
|
5
|
+
1. **Generate ideas continuously** — don't stop to evaluate or filter during generation
|
|
6
|
+
2. **Apply anti-bias rotation** — shift domain every 10 ideas (technical → UX → economics → compliance → social impact)
|
|
7
|
+
3. **Make ideas Stellar-specific** — reference Soroban, Horizon, XLM, trustlines, liquidity pools, SEPs where relevant
|
|
8
|
+
4. **Push past the obvious** — if an idea feels safe or predictable, push one step further
|
|
9
|
+
5. **Number every idea** — makes it easy to reference in step 04
|
|
10
|
+
|
|
11
|
+
## Technique Execution Guides
|
|
12
|
+
|
|
13
|
+
### SCAMPER
|
|
14
|
+
Apply each lens to the core concept:
|
|
15
|
+
- **S**ubstitute: What Stellar primitive could replace [component]?
|
|
16
|
+
- **C**ombine: What if this merged with [Soroban feature / Classic Stellar operation]?
|
|
17
|
+
- **A**dapt: How does [non-crypto analogy] adapt to Stellar's trust model?
|
|
18
|
+
- **M**odify/Magnify: What if the token supply were 10x or 1/10th?
|
|
19
|
+
- **P**ut to other uses: What other user segments could use this contract?
|
|
20
|
+
- **E**liminate: What if we removed the on-chain component entirely?
|
|
21
|
+
- **R**everse: What if users paid the protocol instead of the protocol paying users?
|
|
22
|
+
|
|
23
|
+
### How Might We
|
|
24
|
+
Generate HMW questions from the topic, then answer each:
|
|
25
|
+
"How might we [verb] [user] [outcome] without [constraint]?"
|
|
26
|
+
Example: "How might we let unbanked users receive cross-border payments without needing a bank account?"
|
|
27
|
+
|
|
28
|
+
### Crazy 8s
|
|
29
|
+
Set a timer (or simulate one). Generate 8 distinct ideas, one every ~60 seconds. No filtering. Label them 1-8 and keep moving.
|
|
30
|
+
|
|
31
|
+
### First Principles
|
|
32
|
+
1. State the assumed design
|
|
33
|
+
2. Ask "Why?" until you hit a bedrock assumption
|
|
34
|
+
3. Challenge that assumption
|
|
35
|
+
4. Rebuild from there with Stellar primitives
|
|
36
|
+
|
|
37
|
+
### Analogical Thinking
|
|
38
|
+
Pick 3 non-crypto systems (e.g., logistics, insurance, social networks). For each: "What if Stellar's trust model worked like [system]?" Generate 5 ideas per analogy.
|
|
39
|
+
|
|
40
|
+
### Pre-mortem
|
|
41
|
+
"It's one year from now and this dApp has completely failed. What went wrong?"
|
|
42
|
+
Generate 15-20 failure scenarios. Then invert each into a design requirement.
|
|
43
|
+
|
|
44
|
+
### Jobs-to-be-Done
|
|
45
|
+
"What job is the user hiring this dApp to do?"
|
|
46
|
+
Generate 10+ jobs at different granularities (functional, emotional, social). For each, design a Stellar feature that satisfies it.
|
|
47
|
+
|
|
48
|
+
### Reverse Brainstorming
|
|
49
|
+
"How would we guarantee this dApp fails?" Generate 15+ sabotage ideas. Then invert each.
|
|
50
|
+
|
|
51
|
+
## Output Format
|
|
52
|
+
|
|
53
|
+
Append ideas to `{brainstorming_session_output_file}` as a numbered list:
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
## Ideas — Round 1 ({technique name})
|
|
57
|
+
|
|
58
|
+
1. [idea]
|
|
59
|
+
2. [idea]
|
|
60
|
+
...
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Continuation
|
|
64
|
+
|
|
65
|
+
After each batch of 10 ideas, ask:
|
|
66
|
+
- "Want to keep going with this technique, try a different one, or start organizing?"
|
|
67
|
+
- If continuing: proceed with next batch, apply anti-bias rotation
|
|
68
|
+
- If new technique: return to `./step-02a-user-selected.md`
|
|
69
|
+
- If organizing: proceed to `./step-04-idea-organization.md`
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Step 04 — Idea Organization
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Transform the raw idea list into an organized, actionable output document that the user can take into planning or architecture phases.
|
|
6
|
+
|
|
7
|
+
## Organization Framework
|
|
8
|
+
|
|
9
|
+
### 1. Theme Clustering
|
|
10
|
+
|
|
11
|
+
Group ideas into 3-6 themes. Common Stellar themes:
|
|
12
|
+
- **Core Contract Logic** — Soroban implementation ideas
|
|
13
|
+
- **User Experience** — wallet integration, onboarding, UI flows
|
|
14
|
+
- **Tokenomics & Incentives** — token design, distribution, staking
|
|
15
|
+
- **Network & Integration** — Horizon API usage, cross-chain, SEPs
|
|
16
|
+
- **Compliance & Security** — authorization, regulated assets, clawback
|
|
17
|
+
- **Business Model** — monetization, partnerships, go-to-market
|
|
18
|
+
|
|
19
|
+
### 2. Scoring Matrix
|
|
20
|
+
|
|
21
|
+
For each top idea (user selects 5-10 to score), rate on:
|
|
22
|
+
- **Feasibility on Stellar** (1-5): Can Soroban/Classic Stellar actually do this?
|
|
23
|
+
- **User Value** (1-5): Does this solve a real problem for real users?
|
|
24
|
+
- **Novelty** (1-5): Is this differentiated from existing DeFi/payment solutions?
|
|
25
|
+
- **Effort** (1-5, lower = easier): How much development effort does this require?
|
|
26
|
+
|
|
27
|
+
Calculate: Score = (Feasibility + User Value + Novelty) / Effort
|
|
28
|
+
|
|
29
|
+
### 3. Action Categories
|
|
30
|
+
|
|
31
|
+
Tag each scored idea as:
|
|
32
|
+
- 🟢 **Pursue** — high score, fits resources, fits Stellar's strengths
|
|
33
|
+
- 🟡 **Explore** — promising but needs more research or validation
|
|
34
|
+
- 🔴 **Park** — interesting but not right for now
|
|
35
|
+
|
|
36
|
+
## Output Document Structure
|
|
37
|
+
|
|
38
|
+
Append to `{brainstorming_session_output_file}`:
|
|
39
|
+
|
|
40
|
+
```markdown
|
|
41
|
+
## Organized Ideas
|
|
42
|
+
|
|
43
|
+
### Theme: [Name]
|
|
44
|
+
- Idea #X: [description] — Score: [X.X] 🟢/🟡/🔴
|
|
45
|
+
- Idea #Y: [description] — Score: [X.X] 🟢/🟡/🔴
|
|
46
|
+
|
|
47
|
+
### Top 3 Pursue Ideas
|
|
48
|
+
1. [Idea] — Why: [one sentence rationale linked to Stellar capabilities]
|
|
49
|
+
2. [Idea] — Why: ...
|
|
50
|
+
3. [Idea] — Why: ...
|
|
51
|
+
|
|
52
|
+
## Recommended Next Steps
|
|
53
|
+
- [Skill to invoke] — [reason]
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Handoff
|
|
57
|
+
|
|
58
|
+
After organizing, suggest next steps based on what was decided:
|
|
59
|
+
- Strong dApp concept → `@stellar-pm (Kai)` with `stellar-project-brief` or `stellar-prd`
|
|
60
|
+
- Architecture question → `@stellar-architect (Nova)` with `stellar-architecture-doc`
|
|
61
|
+
- Contract design ready → `@stellar-developer (Sol)` with `stellar-init-contract`
|
|
62
|
+
- Need more research → `@stellar-analyst (Aria)` with `stellar-domain-research`
|
|
63
|
+
|
|
64
|
+
Save the completed session document to `{brainstorming_session_output_file}` and confirm the path with the user.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
context_file: '' # Optional context file path for project-specific guidance
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Stellar Brainstorming Session Workflow
|
|
6
|
+
|
|
7
|
+
**Goal:** Facilitate interactive brainstorming sessions for Stellar blockchain projects using diverse creative techniques
|
|
8
|
+
|
|
9
|
+
**Your Role:** You are a Stellar ecosystem brainstorming facilitator. You bring structured creativity techniques, blockchain domain knowledge, and an understanding of how to guide users through effective ideation for decentralized applications, tokenomics, smart contracts, and DeFi on Stellar. During this entire workflow speak to the user in the config loaded `communication_language`.
|
|
10
|
+
|
|
11
|
+
**Critical Mindset:** Keep the user in generative exploration mode as long as possible. The best brainstorming sessions feel slightly uncomfortable — like you've pushed past the obvious ideas into truly novel territory. Resist the urge to organize or conclude prematurely.
|
|
12
|
+
|
|
13
|
+
**Anti-Bias Protocol:** LLMs naturally drift toward semantic clustering. Consciously shift creative domain every 10 ideas. Rotate between: smart contract design → user experience → tokenomics → compliance/regulatory → cross-border payments → DeFi mechanics → DEX liquidity strategies → social impact → technical feasibility → business model.
|
|
14
|
+
|
|
15
|
+
**Quantity Goal:** Aim for 50+ ideas before any organization. The first 10 are usually obvious — the magic happens in ideas 30-50.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## WORKFLOW ARCHITECTURE
|
|
20
|
+
|
|
21
|
+
- Each step is a self-contained file with embedded rules
|
|
22
|
+
- Sequential progression with user control at each step
|
|
23
|
+
- Document state tracked in frontmatter
|
|
24
|
+
- Append-only document building through conversation
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## INITIALIZATION
|
|
29
|
+
|
|
30
|
+
### Configuration Loading
|
|
31
|
+
|
|
32
|
+
Load config from `{project-root}/_stellar/core/config.yaml` and resolve:
|
|
33
|
+
|
|
34
|
+
- `project_name`, `output_folder`, `user_name`
|
|
35
|
+
- `communication_language`, `document_output_language`
|
|
36
|
+
- `date` as system-generated current datetime
|
|
37
|
+
|
|
38
|
+
Also load `{project-root}/_stellar/stellar/config.yaml` for:
|
|
39
|
+
- `network_preference` (testnet/mainnet/futurenet)
|
|
40
|
+
- `primary_language` (typescript/rust/python/fullstack)
|
|
41
|
+
|
|
42
|
+
### Paths
|
|
43
|
+
|
|
44
|
+
- `brainstorming_session_output_file` = `{output_folder}/brainstorming/brainstorming-session-{date}-{time}.md` (evaluated once at workflow start)
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## EXECUTION
|
|
49
|
+
|
|
50
|
+
Read fully and follow: `./steps/step-01-session-setup.md` to begin the workflow.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: stellar-help
|
|
3
|
+
description: 'Analyzes current state and user query to answer Stellar Agent questions or recommend the next skill to use. Use when user asks for help, stellar help, what to do next, or where to start.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Stellar Help
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Help the user understand where they are in their Stellar development workflow and what to do next. Answer broader questions grounded in the skill catalog and Stellar documentation.
|
|
11
|
+
|
|
12
|
+
## Desired Outcomes
|
|
13
|
+
|
|
14
|
+
When this skill completes, the user should:
|
|
15
|
+
|
|
16
|
+
1. **Know where they are** — which phase they're in, what's already been completed
|
|
17
|
+
2. **Know what to do next** — the next recommended and/or required step, with clear reasoning
|
|
18
|
+
3. **Know how to invoke it** — skill name, menu code, and agent to talk to
|
|
19
|
+
4. **Get offered a quick start** — when a single skill is the clear next step, offer to run it
|
|
20
|
+
5. **Feel oriented, not overwhelmed** — surface only what's relevant to their current position
|
|
21
|
+
|
|
22
|
+
## Data Sources
|
|
23
|
+
|
|
24
|
+
- **Catalog**: `{project-root}/_stellar/_config/stellar-help.csv` — assembled manifest of all installed skills
|
|
25
|
+
- **Config**: `{project-root}/_stellar/core/config.yaml` and `{project-root}/_stellar/stellar/config.yaml` — resolve output-location variables, provide `communication_language` and `project_knowledge`
|
|
26
|
+
- **Artifacts**: Files at resolved `output-location` paths reveal which steps are possibly completed
|
|
27
|
+
- **Project knowledge**: If `project_knowledge` resolves to an existing path, read it for grounding context
|
|
28
|
+
- **Module docs**: Rows with `_meta` in the `skill` column carry a URL in `output-location` pointing to module documentation
|
|
29
|
+
|
|
30
|
+
## CSV Interpretation
|
|
31
|
+
|
|
32
|
+
The catalog uses this format:
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
module,skill,display-name,menu-code,description,action,args,phase,preceded-by,followed-by,required,output-location,outputs
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**Phases** determine the high-level flow:
|
|
39
|
+
- `anytime` — available regardless of workflow state
|
|
40
|
+
- `1-analysis` → `2-planning` → `3-architecture` → `4-implementation`
|
|
41
|
+
|
|
42
|
+
**Required gates**: `required=true` items must complete before the user can meaningfully proceed.
|
|
43
|
+
|
|
44
|
+
**Completion detection**: Search resolved output paths for `outputs` patterns.
|
|
45
|
+
|
|
46
|
+
## Agent Routing
|
|
47
|
+
|
|
48
|
+
Always tell the user which agent to invoke for a skill:
|
|
49
|
+
- Phase 1 skills → `@stellar-analyst` (Aria)
|
|
50
|
+
- Phase 2 skills → `@stellar-pm` (Kai)
|
|
51
|
+
- Phase 3 skills → `@stellar-architect` (Nova)
|
|
52
|
+
- Phase 4 contract skills → `@stellar-developer` (Sol)
|
|
53
|
+
- Phase 4 test skills → `@stellar-qa` (Vera)
|
|
54
|
+
- Phase 4 devops/env skills → `@stellar-devops` (Orion)
|
|
55
|
+
- Brainstorming/party → any agent or direct invocation
|
|
56
|
+
|
|
57
|
+
## Response Format
|
|
58
|
+
|
|
59
|
+
For each recommended item, present:
|
|
60
|
+
- `[menu-code]` **Display name** — e.g., "[IC] Init Contract"
|
|
61
|
+
- Skill name in backticks — e.g., `stellar-init-contract`
|
|
62
|
+
- Which agent to invoke — e.g., "Talk to @stellar-developer (Sol)"
|
|
63
|
+
- One-line description
|
|
64
|
+
|
|
65
|
+
**Ordering**: Show optional items first, then the next required item.
|
|
66
|
+
|
|
67
|
+
## Constraints
|
|
68
|
+
|
|
69
|
+
- Present all output in `{communication_language}`
|
|
70
|
+
- Recommend running each skill in a **fresh context window**
|
|
71
|
+
- Match the user's tone — conversational when casual, structured when they want specifics
|