• Will Chen's avatar
    Modularize AGENTS.md learnings into rules/ directory (#2540) · 80845ef8
    Will Chen 提交于
    ## Summary
    - Extracted topic-specific learnings and guidelines from AGENTS.md into
    9 separate files under `rules/` for better discoverability and
    maintainability
    - AGENTS.md now has a concise rules index table with "read when..."
    descriptions so agents know which file to consult
    - No content was lost — all learnings are preserved in their respective
    rule files
    
    ## Test plan
    - [x] Verify all rule files exist and contain the expected content
    - [x] Verify AGENTS.md rules index links are correct
    - [x] Lint, type checks, and tests all pass
    
    #skip-bugbot
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2540"
    target="_blank">
      <picture>
    <source media="(prefers-color-scheme: dark)"
    srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
    <img
    src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
    alt="Open with Devin">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Modularized guidance from AGENTS.md into nine focused docs under rules/,
    and added a concise rules index in AGENTS.md for quick navigation. No
    content was removed; it’s now easier to find and maintain.
    
    - **Refactors**
    - Extracted topic docs into rules/: electron-ipc, e2e-testing,
    git-workflow, base-ui-components, database-drizzle,
    typescript-strict-mode, openai-reasoning-models, adding-settings,
    chat-message-indicators.
    - Updated .claude/commands/remember-learnings.md to write learnings to
    rules/ (use AGENTS.md only when needed) and maintain the index when new
    files are added.
    
    <sup>Written for commit 7d217b84ce3d1e434f28a31bb6a2329c672d2bcf.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    
    ---------
    Co-authored-by: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    80845ef8
chat-message-indicators.md 323 Bytes