Thought Documents about [Topic]
Thought Documents about [Topic]【免费下载链接】humanlayerThe best way to get AI coding agents to solve hard problems in complex codebases.项目地址: https://gitcode.com/GitHub_Trending/hu/humanlayerTicketsthoughts/allison/tickets/eng_1234.md- Implement rate limiting for APIthoughts/shared/tickets/eng_1235.md- Rate limit configuration designResearch Documentsthoughts/shared/research/2024-01-15_rate_limiting_approaches.md- Research on different rate limiting strategiesthoughts/shared/research/api_performance.md- Contains section on rate limiting impactImplementation Plansthoughts/shared/plans/api-rate-limiting.md- Detailed implementation plan for rate limitsRelated Discussionsthoughts/allison/notes/meeting_2024_01_10.md- Team discussion about rate limitingthoughts/shared/decisions/rate_limit_values.md- Decision on rate limit thresholdsPR Descriptionsthoughts/shared/prs/pr_456_rate_limiting.md- PR that implemented basic rate limitingTotal: 8 relevant documents found该格式的价值在于主 LLM 拿到报告后无需逐个打开文件即可依据类型 路径 一行摘要决定下一步深入阅读哪些文档同时保留完整的可追溯路径。thoughts-analyzer 的输出格式含 Document Context、Key Decisions、Critical Constraints 等区块见 [.claude/agents/thoughts-analyzer.md](https://link.gitcode.com/i/908192d07620b4958dd9ff509202a9a3)与之形成上下游衔接。 ## 搜索技巧同义词、多位置、命名模式 文档给出的三条搜索技巧对实际检索质量至关重要 1. **多搜索词**技术术语同义词如 rate limit / throttle / quota、组件名RateLimiter、throttling、关联概念429、too many requests同时覆盖。 2. **多位置**用户专属目录找个人笔记共享目录找团队知识global 目录找跨仓库横切关注点。 3. **命名模式** - Ticket 文件常命名 eng_XXXX.md - 研究文件常带日期前缀 YYYY-MM-DD_topic.md - 计划文件常命名 feature-name.md。 这些命名约定与系统生成目录时的实践呼应init 会为每个仓库目录生成 README.md[thoughtsConfig.ts](https://link.gitcode.com/i/3dc9571001a6d9cb3e89fe801e4c2eef) 的 createThoughtsDirectoryStructurehlyr/THOUGHTS.md 也建议文件名写清楚architecture.md、investigation-auth-bug.md、给调研与决策文件加日期——命名即元数据让 glob 模式匹配成为可能。 ## 使用边界What NOT to Do 文档以显式清单划定了代理的禁区这是保证子代理行为可预期的重要设计 - 不深度分析文档内容 - 不评判文档质量 - 不跳过个人目录 - 不忽略旧文档 - **除移除 searchable/ 外不改变目录结构**。 注意最后一条的精确表述Dont change directory structure beyond removing searchable/——路径修正被严格限定为唯一允许的转换任何其他路径改写如展开符号链接、重写为绝对路径都在禁止之列从而保证输出路径与仓库内实际布局一一对应。 ## 与 CLI 命令族的联动从检索到维护的闭环 thoughts-locator 的检索能力只是整个 Thoughts 工作流的一环其余环节由 humanlayer CLI 的 thoughts 命令族承担源码位于 [hlyr/src/commands/thoughts/](https://link.gitcode.com/i/72f364f8400b6aaacb377ea416865020) - **humanlayer thoughts init**[init.ts](https://link.gitcode.com/i/e1c36ccde09d9b2cf91fdbefccdb754d)交互式完成全局配置thoughts 仓库位置、repos/global 目录名、用户名、仓库映射、符号链接、git hookspre-commit 防误提交 post-commit 自动同步与 thoughts/CLAUDE.md 的生成。支持 --force、--config-file、--directory非交互复用已有目录与 --profile。 - **humanlayer thoughts sync**[sync.ts](https://link.gitcode.com/i/02d7ed69b98bfbf4c0095c1e8acc2bf4)重建 searchable/ 硬链接索引随后对中心仓库执行 git add -A、commit、git pull --rebase含冲突检测与明确报错以及可选的 push。支持 -m/--message 指定提交信息。 - **humanlayer thoughts status**[status.ts](https://link.gitcode.com/i/08a5df79db7a1dff2a33375a22e60243)展示配置、当前仓库映射、中心仓库的 git 状态、远端领先/落后情况与未提交变更。 - **humanlayer thoughts config**[config.ts](https://link.gitcode.com/i/78ae4f79e9a0e5a76685e96d378d5e59)查看配置支持 --edit以 $EDITOR 打开默认 vi与 --json 输出。 - **humanlayer thoughts profile create**[profile/create.ts](https://link.gitcode.com/i/40641e0638f34488d8b7bc3a2d7b43ef)为不同场景创建独立的 thoughts 仓库配置如工作/个人分离随后可用 humanlayer thoughts init --profile name 将仓库映射到对应 profile。 配置文件的 thoughts 段结构来自 [hlyr/THOUGHTS.md](https://link.gitcode.com/i/bd34d53c0186e1b35cc2ec47627ab1b7)与 [thoughtsConfig.ts](https://link.gitcode.com/i/3dc9571001a6d9cb3e89fe801e4c2eef) 的 ThoughtsConfig 接口一致 json { api_key: ..., thoughts: { thoughtsRepo: ~/thoughts, reposDir: repos, globalDir: global, user: alice, repoMappings: { /Users/alice/projects/app: app_thoughts, /Users/alice/projects/api: api_backend } } }【免费下载链接】humanlayerThe best way to get AI coding agents to solve hard problems in complex codebases.项目地址: https://gitcode.com/GitHub_Trending/hu/humanlayer创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考
上一篇/下一篇内容由系统自动关联
返回资讯列表 →