feat: add frontend development guidelines and structure documentation
- Introduced API guidelines for interface contracts and request handling. - Added design tokens usage guidelines for consistent styling across the project. - Established DTO guidelines for defining request parameters and response data types. - Created frontend structure guidelines to clarify directory organization and code placement rules. - Compiled a comprehensive frontend development guideline document covering various aspects of the development process. - Implemented quality guidelines to ensure code maintainability and adherence to best practices.
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
---
|
||||
id: 20260625-central-compounding-brain
|
||||
title: 使用中央知识仓库管理跨项目 AI coding 经验
|
||||
created: 2026-06-25
|
||||
updated: 2026-06-25
|
||||
status: candidate
|
||||
scope: global
|
||||
category: agent-workflows
|
||||
confidence: medium
|
||||
last_verified: 2026-06-25
|
||||
promotion_target: skill
|
||||
projects:
|
||||
- personal-codex
|
||||
tags:
|
||||
- compound-engineering
|
||||
- knowledge-management
|
||||
- cross-project
|
||||
---
|
||||
|
||||
# 使用中央知识仓库管理跨项目 AI coding 经验
|
||||
|
||||
## Trigger
|
||||
|
||||
多个项目分别积累 AI coding 经验,导致相同纠正、失败路径和成功模式难以跨项目检索与复用。
|
||||
|
||||
## Context
|
||||
|
||||
当前 Obsidian Vault 被选为个人跨项目复利仓库。全局 Skill 负责工作流,Vault 负责持续增长的经验数据,各项目继续保留与代码版本强关联的执行规则。
|
||||
|
||||
## Evidence
|
||||
|
||||
- 2026-06-25:确定采用中央大脑与项目执行层分离的架构。
|
||||
- 全局 Skill 位于 `~/.agents/skills/compound-coding/`。
|
||||
- 中央知识入口位于 `AI Coding/index.md`。
|
||||
|
||||
## Root cause
|
||||
|
||||
经验如果只保留在单次对话或单个项目中,就无法稳定跨项目检索;如果所有规则都集中在全局提示中,又会造成上下文膨胀并污染项目边界。
|
||||
|
||||
## Preferred action
|
||||
|
||||
将新经验先写入中央 `inbox/`,验证后进入 `learnings/`,跨项目成立后再归纳为 `patterns/`。把确定性要求同步为项目测试、lint、hook、脚本或 `AGENTS.md`。
|
||||
|
||||
## Boundaries
|
||||
|
||||
- 项目专属架构、命令和业务事实仍以项目仓库为准。
|
||||
- 中央经验在使用前需要根据当前代码和文档重新验证。
|
||||
- 不把凭证、客户数据或其他敏感信息写入复利仓库。
|
||||
|
||||
## Promotion record
|
||||
|
||||
- 2026-06-25:创建全局 `compound-coding` Skill 作为工作流执行层;候选经验仍需经过实际项目使用验证。
|
||||
Reference in New Issue
Block a user