mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-01 22:53:27 +08:00
Revert "feat(ecc): prune plugin 43→12 items, promote 7 rules to .claude/rules/ (#245)"
This reverts commit 1bd68ff534.
This commit is contained in:
93
.opencode/commands/instinct-export.md
Normal file
93
.opencode/commands/instinct-export.md
Normal file
@@ -0,0 +1,93 @@
|
||||
---
|
||||
description: Export instincts for sharing
|
||||
agent: build
|
||||
---
|
||||
|
||||
# Instinct Export Command
|
||||
|
||||
Export instincts for sharing with others: $ARGUMENTS
|
||||
|
||||
## Your Task
|
||||
|
||||
Export instincts from the continuous-learning-v2 system.
|
||||
|
||||
## Export Options
|
||||
|
||||
### Export All
|
||||
```
|
||||
/instinct-export
|
||||
```
|
||||
|
||||
### Export High Confidence Only
|
||||
```
|
||||
/instinct-export --min-confidence 0.8
|
||||
```
|
||||
|
||||
### Export by Category
|
||||
```
|
||||
/instinct-export --category coding
|
||||
```
|
||||
|
||||
### Export to Specific Path
|
||||
```
|
||||
/instinct-export --output ./my-instincts.json
|
||||
```
|
||||
|
||||
## Export Format
|
||||
|
||||
```json
|
||||
{
|
||||
"instincts": [
|
||||
{
|
||||
"id": "instinct-123",
|
||||
"trigger": "[situation description]",
|
||||
"action": "[recommended action]",
|
||||
"confidence": 0.85,
|
||||
"category": "coding",
|
||||
"applications": 10,
|
||||
"successes": 9,
|
||||
"source": "session-observation"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"version": "1.0",
|
||||
"exported": "2025-01-15T10:00:00Z",
|
||||
"author": "username",
|
||||
"total": 25,
|
||||
"filter": "confidence >= 0.8"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Export Report
|
||||
|
||||
```
|
||||
Export Summary
|
||||
==============
|
||||
Output: ./instincts-export.json
|
||||
Total instincts: X
|
||||
Filtered: Y
|
||||
Exported: Z
|
||||
|
||||
Categories:
|
||||
- coding: N
|
||||
- testing: N
|
||||
- security: N
|
||||
- git: N
|
||||
|
||||
Top Instincts (by confidence):
|
||||
1. [trigger] (0.XX)
|
||||
2. [trigger] (0.XX)
|
||||
3. [trigger] (0.XX)
|
||||
```
|
||||
|
||||
## Sharing
|
||||
|
||||
After export:
|
||||
- Share JSON file directly
|
||||
- Upload to team repository
|
||||
- Publish to instinct registry
|
||||
|
||||
---
|
||||
|
||||
**TIP**: Export high-confidence instincts (>0.8) for better quality shares.
|
||||
Reference in New Issue
Block a user