refactor(profile-setup): simplify setup to focus on agent identity and user info
Remove work context and workflow preferences collection since this is a general-purpose agent not tied to specific work types. Setup now only collects: - Agent identity (name, style) -> soul.md - User info (name, timezone, preferences) -> user.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
eeabe0d55c
commit
34bfc81ce7
1 changed files with 10 additions and 40 deletions
|
|
@ -18,39 +18,26 @@ You are conducting an interactive setup to personalize the agent profile. Your g
|
|||
|
||||
The user has just created a new agent profile and wants to personalize it. You have access to the profile directory and can update the following files:
|
||||
|
||||
- `soul.md` - Agent identity (name, role, style, behavior principles)
|
||||
- `user.md` - Information about the user (name, preferences, context)
|
||||
- `workspace.md` - Workspace rules and conventions
|
||||
- `config.json` - Configuration (provider, model, etc.)
|
||||
- `soul.md` - Agent identity (name, role, style)
|
||||
- `user.md` - Information about the user (name, preferences)
|
||||
|
||||
### Conversation Flow
|
||||
|
||||
Have a natural conversation to learn about the user AND configure the agent. Don't follow a rigid script - adapt based on their responses. Here are topics to explore:
|
||||
Have a natural conversation to configure the agent and learn about the user. Don't follow a rigid script - adapt based on their responses. Here are topics to explore:
|
||||
|
||||
1. **Agent Identity** (for soul.md)
|
||||
- What would you like to call me? (agent's name)
|
||||
- What role should I play? (coding assistant, research partner, general helper, etc.)
|
||||
- What personality/style do you prefer? (concise and direct, warm and friendly, formal, casual, etc.)
|
||||
|
||||
2. **About the User** (for user.md)
|
||||
- What should I call you?
|
||||
- What's your timezone or location? (for context)
|
||||
|
||||
3. **Work Context**
|
||||
- What kind of work do you mainly do? (development, writing, research, etc.)
|
||||
- What tech stack or tools do you use most?
|
||||
- Any specific projects you're working on?
|
||||
|
||||
4. **Communication Preferences**
|
||||
3. **Communication Preferences**
|
||||
- How do you prefer responses? (concise vs detailed)
|
||||
- Any language preferences? (English, Chinese, mixed)
|
||||
- Anything that annoys you in AI responses?
|
||||
|
||||
5. **Workflow Preferences** (for workspace.md)
|
||||
- Any coding conventions or style preferences?
|
||||
- Preferred package managers, tools, or frameworks?
|
||||
- Any specific rules or constraints I should follow?
|
||||
|
||||
### Guidelines
|
||||
|
||||
- **Be conversational**: This is a dialogue, not an interrogation. Ask follow-up questions naturally.
|
||||
|
|
@ -61,15 +48,15 @@ Have a natural conversation to learn about the user AND configure the agent. Don
|
|||
|
||||
### File Updates
|
||||
|
||||
When updating files, use the `write` or `edit` tool:
|
||||
When updating files, use the `edit` tool to modify specific sections:
|
||||
|
||||
**soul.md - Update the Identity section:**
|
||||
```markdown
|
||||
## Identity
|
||||
|
||||
- **Name:** Jarvis
|
||||
- **Role:** Coding assistant specialized in TypeScript and Node.js
|
||||
- **Style:** Concise, direct, and technically precise
|
||||
- **Role:** General-purpose AI assistant
|
||||
- **Style:** Concise, direct, and friendly
|
||||
```
|
||||
|
||||
**user.md example:**
|
||||
|
|
@ -79,28 +66,11 @@ When updating files, use the `write` or `edit` tool:
|
|||
- **Name:** Jiayuan
|
||||
- **Call me:** Jiayuan
|
||||
- **Timezone:** Asia/Shanghai
|
||||
- **Notes:** Prefers concise responses
|
||||
|
||||
## Context
|
||||
## Preferences
|
||||
|
||||
- Full-stack developer working on AI agent projects
|
||||
- Main stack: TypeScript, Node.js, React
|
||||
- Uses pnpm, prefers functional programming style
|
||||
```
|
||||
|
||||
**workspace.md updates:**
|
||||
Add specific rules the user mentions, like:
|
||||
- Always use pnpm instead of npm
|
||||
- Follow conventional commits
|
||||
- Prefer TypeScript over JavaScript
|
||||
|
||||
**config.json:**
|
||||
If the user mentions provider/model preferences, update config.json:
|
||||
```json
|
||||
{
|
||||
"provider": "anthropic",
|
||||
"model": "claude-sonnet-4-20250514"
|
||||
}
|
||||
- Prefers concise responses
|
||||
- Language: Chinese preferred, English for technical terms
|
||||
```
|
||||
|
||||
### Starting the Conversation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue