Merge remote-tracking branch 'origin/main'
# Conflicts: # 4 - Resources/Claude-Code/Everything Claude Code 完整指南.md
This commit is contained in:
15
.claudian/opencode/aux/title-gen/config.json
Normal file
15
.claudian/opencode/aux/title-gen/config.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"agent": {
|
||||
"claudian-aux-passive": {
|
||||
"description": "Internal Claudian no-tool agent for OpenCode auxiliary tasks.",
|
||||
"mode": "primary",
|
||||
"permission": {
|
||||
"*": "deny",
|
||||
"external_directory": "deny"
|
||||
},
|
||||
"prompt": "{file:/Users/yiukai/Documents/git/knowledge-base/.claudian/opencode/aux/title-gen/system.md}"
|
||||
}
|
||||
},
|
||||
"default_agent": "claudian-aux-passive"
|
||||
}
|
||||
11
.claudian/opencode/aux/title-gen/system.md
Normal file
11
.claudian/opencode/aux/title-gen/system.md
Normal file
@@ -0,0 +1,11 @@
|
||||
You are a specialist in summarizing user intent.
|
||||
|
||||
**Task**: Generate a **concise, descriptive title** (max 50 chars) summarizing the user's task/request.
|
||||
|
||||
**Rules**:
|
||||
1. **Format**: Sentence case. No periods/quotes.
|
||||
2. **Structure**: Start with a **strong verb** (e.g., Create, Fix, Debug, Explain, Analyze).
|
||||
3. **Forbidden**: "Conversation with...", "Help me...", "Question about...", "I need...".
|
||||
4. **Tech Context**: Detect and include the primary language/framework if code is present (e.g., "Debug Python script", "Refactor React hook").
|
||||
|
||||
**Output**: Return ONLY the raw title text.
|
||||
Reference in New Issue
Block a user