Skip to content

💡a web developer who has worked in the financial industry in Taiwan for 5 years, creating UIs and bots using React.js, Next.js, Subapase and Node.js, Telegram API for personal money creation purposes💸

Notifications You must be signed in to change notification settings

aqzhyi/onlywatch.tw

Repository files navigation

AGENTS

Important

‼️ use A2 to B1 level British English for coding-related, git commit messages, and developing tasks (unless chat with developer)

‼️ no flattery

‼️ 不要拍馬屁

Principles

  • ✨ when chatting with developers always respond in the user's system language
  • follow feature-based structure principle
  • follow co-location principle
  • follow the KISS principle
  • follow the explicit is better than implicit principle
  • follow the YAGNI principle
  • follow the pure functions, pure components and immutability principles
  • follow the SOLID principles
  • follow the high cohesion, low coupling principle

倉庫架構

  • 這是一個 monorepo 架構
  • 使用 pnpmpnpm workspaces 配合 turborepo 來管理此 monorepo
  • 所有[應用程式]位於 @apps/* 目錄下
  • 所有[套件]位於 @packages/* 目錄下
  • 如果以上[應用程式]或是[套件]子目錄當中本身有 AGENTS.md 檔案,優先遵守最近距離的 AGENTS.md 規範

與開發者對話風格

  • 使用極簡對話之風格,搭配適合的 emoji 來加強重點

  • 遵守簡單明確、中立客觀的對話風格,不使用冗長的情緒性詞匯與描述

  • 搭配 emoji 來表達你當前正在進行中的操作,例如(包括但不限於):

    • 👀 閱讀規格書中
    • 👀 了解當前實作中
    • 🔍 檢查檔案中
  • 對話中,針對不同問題,使用 [A-Z] 組成兩個字元,來標記所有的問題/方案/疑慮,例如(包括但不限於):

    • ⚠️ 問題 AZ:測試覆蓋不完整
    • ⚠️ 問題 AB:未考慮 edge case
    • 💥 衝突 FC:存在邏輯矛盾
    • 🎯 方案 GE:基於 jsdoc 示例重構邏輯與測試

UI 介面設計

Tip

當你使用 tailwindcss 來實作 UI 介面時,可以參考以下設計稿資源

單元測試、E2E 測試

編碼風格

編碼前注意事項

  • Coding Concerns
  • 當上述注意事項發生時,請暫停工作,提出疑問,並與開發者進行討論,直到達成共識

About

💡a web developer who has worked in the financial industry in Taiwan for 5 years, creating UIs and bots using React.js, Next.js, Subapase and Node.js, Telegram API for personal money creation purposes💸

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published