Skip to content

Commit 7fcc4f1

Browse files
committed
feat(init): Update initialization messages for clearer onboarding steps
docs(agents): Enhance AGENTS.md template with detailed project context prompts fix(specs): Mark onboarding project context clarity as complete and update status
1 parent fab6d70 commit 7fcc4f1

File tree

4 files changed

+45
-8
lines changed

4 files changed

+45
-8
lines changed

packages/cli/src/commands/init.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,8 @@ export async function initProject(skipPrompts = false, templateOption?: string,
402402
console.log(chalk.green('✓ LeanSpec initialized!'));
403403
console.log('');
404404
console.log('Next steps:');
405-
console.log(chalk.gray(' - Review and customize AGENTS.md'));
406-
console.log(chalk.gray(' - Check out example spec in specs/'));
407-
console.log(chalk.gray(' - Create your first spec: lean-spec create my-feature'));
405+
console.log(chalk.cyan(' 1. Edit AGENTS.md') + chalk.gray(' → Fill in the "📋 Project Context" section'));
406+
console.log(chalk.cyan(' 2. Create your first spec:') + chalk.gray(' lean-spec create my-feature'));
408407
console.log('');
409408
}
410409

packages/cli/templates/detailed/AGENTS.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,24 @@
22

33
## Project: {project_name}
44

5-
Lightweight spec methodology for AI-powered development.
5+
<!-- ═══════════════════════════════════════════════════════════════════════════
6+
👇 TODO: Fill in your project context below (then delete these comments)
7+
═══════════════════════════════════════════════════════════════════════════ -->
8+
9+
### 📋 Project Context
10+
11+
**What this project does:**
12+
_TODO: Describe your project in 1-2 sentences_
13+
14+
**Tech stack:**
15+
_TODO: List main technologies (e.g., Node.js, React, PostgreSQL)_
16+
17+
**Key objectives:**
18+
_TODO: What are you building toward? (e.g., Launch MVP by Q1)_
19+
20+
<!-- ═══════════════════════════════════════════════════════════════════════════
21+
👆 End of TODO section - Delete these comment markers when done
22+
═══════════════════════════════════════════════════════════════════════════ -->
623

724
## 🚨 CRITICAL: Before ANY Task
825

packages/cli/templates/standard/AGENTS.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,24 @@
22

33
## Project: {project_name}
44

5-
Lightweight spec methodology for AI-powered development.
5+
<!-- ═══════════════════════════════════════════════════════════════════════════
6+
👇 TODO: Fill in your project context below (then delete these comments)
7+
═══════════════════════════════════════════════════════════════════════════ -->
8+
9+
### 📋 Project Context
10+
11+
**What this project does:**
12+
_TODO: Describe your project in 1-2 sentences_
13+
14+
**Tech stack:**
15+
_TODO: List main technologies (e.g., Node.js, React, PostgreSQL)_
16+
17+
**Key objectives:**
18+
_TODO: What are you building toward? (e.g., Launch MVP by Q1)_
19+
20+
<!-- ═══════════════════════════════════════════════════════════════════════════
21+
👆 End of TODO section - Delete these comment markers when done
22+
═══════════════════════════════════════════════════════════════════════════ -->
623

724
## 🚨 CRITICAL: Before ANY Task
825

specs/125-onboarding-project-context-clarity/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
---
2-
status: in-progress
2+
status: complete
33
created: '2025-11-26'
44
tags:
55
- onboarding
66
- user-experience
77
- agents-md
88
priority: high
99
created_at: '2025-11-26T08:24:50.022Z'
10-
updated_at: '2025-11-26T08:24:54.329Z'
10+
updated_at: '2025-11-26T08:27:32.463Z'
1111
transitions:
1212
- status: in-progress
1313
at: '2025-11-26T08:24:54.329Z'
14+
- status: complete
15+
at: '2025-11-26T08:27:32.463Z'
16+
completed_at: '2025-11-26T08:27:32.463Z'
17+
completed: '2025-11-26'
1418
---
1519

1620
# Streamline Onboarding: Clear Project Context Section
1721

18-
> **Status**: ⏳ In progress · **Priority**: High · **Created**: 2025-11-26 · **Tags**: onboarding, user-experience, agents-md
22+
> **Status**: ✅ Complete · **Priority**: High · **Created**: 2025-11-26 · **Tags**: onboarding, user-experience, agents-md
1923
2024
**Project**: lean-spec
2125
**Team**: Core Development

0 commit comments

Comments
 (0)