一键导入
save-knowledge
Save learnings, decisions, and component info to the knowledge base and global wisdom hub
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Save learnings, decisions, and component info to the knowledge base and global wisdom hub
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Single entry point for frontend work. Classify intent, create a plan, and run the minimal agent workflow.
Independent adversarial code review via Codex CLI to eliminate Claude self-review bias
Find reusable components with compact output before UI work
Create a task branch after plan approval
Create scoped Conventional Commits after reviewer PASS
Create an issue for failed tests or tracked follow-up work
| name | save-knowledge |
| description | Save learnings, decisions, and component info to the knowledge base and global wisdom hub |
Trigger: /save-knowledge [topic] or auto-called after task completion
Purpose: Save learnings to the project knowledge/ and global wisdom hub (~/.front-agent/wisdom/).
| Content Type | Storage Location |
|---|---|
| Components, patterns, design rules | knowledge/ (project-scoped) |
| Learnings | ~/.front-agent/wisdom/learnings.md + update summary |
| Decisions | ~/.front-agent/wisdom/decisions.md + update summary |
| Known issues | ~/.front-agent/wisdom/issues.md + update summary |
~/.front-agent/wisdom/summary.md (keep under 20 lines)
- [YYYY-MM-DD] [project-name] content
- [YYYY-MM-DD] [project-name] decision — reason
- [YYYY-MM-DD] [project-name] problem — solution or warning
# Wisdom Summary
> 20-line limit.
## Learnings
- [keep latest 3 only]
## Decisions
- [keep latest 3 only]
## Issues
- [keep latest 3 only]
| Type | File |
|---|---|
| Components | knowledge/components.md |
| Code patterns | knowledge/patterns.md |
| Design rules | knowledge/design-system.md |
If over 300 lines, split into domain sub-files and link from index.md.