[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79GJR7QJXR1N16755JRYY0K":3,"skill-same:01M79GJR7QJXR1N16755JRYY0K":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M79GJR7QJXR1N16755JRYY0K","study-sourcecode",null,"Senior Engineer source code study advisor — phân tích kiến trúc, trace code flow, đánh giá design chất lượng, và đề xuất cải tiến có impact cao. Kích hoạt skill này aggressively khi user muốn: \"hiểu source code\", \"phân tích kiến trúc\", \"review design\", \"trace code flow\", \"đánh giá điểm hay\u002Fdở\", \"tìm điểm cải thiện\", \"setup môi trường để đọc code\", \"vọc source\", \"tìm hiểu codebase mới\", \"onboard vào project\", \"đánh giá technical debt\", hoặc bất kỳ yêu cầu nào liên quan đến việc hiểu sâu một codebase. Hỗ trợ: Android Automotive\u002FAOSP, Android Mobile, Python services, AI\u002FLLM-powered apps, web\u002Fdesktop tools. Input: paste code, GitHub URL, Gerrit URL, local path (filesystem MCP), hoặc upload archive. Nếu không rõ source ở đâu → hỏi ngay trước khi tiến hành.","luckyboy120794\u002FCowork_FAG3","luckyboy120794","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F58225127?v=4","01M79G5TSJYK6784KFN0JNN2FE","01M79G5TT5SWZW8YQR18V4GTS2",0,"MIT","https:\u002F\u002Fgithub.com\u002Fluckyboy120794\u002FCowork_FAG3\u002Fblob\u002Ffor_merge\u002F.skills\u002Fstudy-sourcecode\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: study-sourcecode\ndescription: >\n  Senior Engineer source code study advisor — phân tích kiến trúc, trace code flow, đánh giá\n  design chất lượng, và đề xuất cải tiến có impact cao. Kích hoạt skill này aggressively khi\n  user muốn: \"hiểu source code\", \"phân tích kiến trúc\", \"review design\", \"trace code flow\",\n  \"đánh giá điểm hay\u002Fdở\", \"tìm điểm cải thiện\", \"setup môi trường để đọc code\", \"vọc source\",\n  \"tìm hiểu codebase mới\", \"onboard vào project\", \"đánh giá technical debt\", hoặc bất kỳ yêu\n  cầu nào liên quan đến việc hiểu sâu một codebase. Hỗ trợ: Android Automotive\u002FAOSP, Android\n  Mobile, Python services, AI\u002FLLM-powered apps, web\u002Fdesktop tools. Input: paste code, GitHub URL,\n  Gerrit URL, local path (filesystem MCP), hoặc upload archive. Nếu không rõ source ở đâu → hỏi\n  ngay trước khi tiến hành.\n---\n\n# Study SourceCode Skill\n\nSkill phân tích source code theo pipeline 4 pha:\n**Setup → Explore → Evaluate → Improve**\n\n---\n\n## Phase 0 — Source Input Resolution\n\n**Nếu user chưa cung cấp source code rõ ràng**, hỏi ngay:\n\n```\nBạn muốn tôi phân tích source code nào?\n- Paste trực tiếp vào chat\n- GitHub \u002F Gerrit URL (tôi sẽ fetch)\n- Local path trên máy (filesystem MCP)\n- Upload file \u002F archive (.zip, .tar.gz)\n```\n\nXác định loại input rồi mới tiến hành.\n\n| Input type | Cách xử lý |\n|---|---|\n| Paste \u002F code snippet | Đọc trực tiếp từ context |\n| GitHub URL | `web_fetch` → raw files; nếu repo lớn → fetch key files theo file tree |\n| Gerrit URL | Fetch patch \u002F file tree qua Gerrit REST API |\n| Local path | Dùng `view` tool để duyệt filesystem |\n| Archive upload | Giải nén, scan cấu trúc, đọc key files |\n\n---\n\n## Phase 1 — SETUP (Cài cắm môi trường đọc code)\n\n> **Mục tiêu**: Định hướng nhanh — biết đây là project gì, build bằng gì, chạy được không.\n\n### 1.1 Project Fingerprinting\n\nScan các file sau để nhận diện project type:\n\n```\n\u002F (root)\n├── build.gradle \u002F build.gradle.kts    → Android \u002F Kotlin\n├── Android.mk \u002F Android.bp            → AOSP \u002F AAOS\n├── CMakeLists.txt                     → C\u002FC++ native\n├── requirements.txt \u002F pyproject.toml  → Python\n├── package.json                       → Node.js \u002F web frontend\n├── Cargo.toml                         → Rust\n├── MANIFEST \u002F *.podspec               → iOS \u002F macOS\n└── Makefile \u002F Dockerfile              → Generic build \u002F containerized\n```\n\n**Output Phase 1.1**:\n```\nProject Type   : [Android Automotive \u002F AOSP \u002F Python \u002F AI App \u002F ...]\nLanguage(s)    : [Java, Kotlin, C++, Python, ...]\nBuild System   : [Gradle, Soong\u002FMake, CMake, pip, ...]\nMin SDK \u002F API  : [nếu Android]\nKey Entry Points: [Application.java, MainActivity, Service, main.py, ...]\n```\n\n### 1.2 Environment Setup Checklist\n\nTùy project type, đưa ra checklist setup môi trường đọc\u002Fchạy code:\n\n→ Xem file `references\u002Fsetup-by-type.md` theo domain phù hợp.\n\n### 1.3 Dependency Map\n\nLiệt kê dependencies quan trọng:\n- External libs (version, purpose)\n- Internal modules \u002F subprojects\n- System services \u002F HAL (nếu AAOS)\n- External APIs \u002F LLM endpoints (nếu AI app)\n\n---\n\n## Phase 2 — EXPLORE (Khám phá kiến trúc & code flow)\n\n> **Mục tiêu**: Vẽ được mental model — ai gọi ai, data đi đâu, luồng chính là gì.\n\n### 2.1 Architecture Overview (HLD-level)\n\nPhân tích theo layers:\n\n```\n[Presentation Layer]  → UI, Activity, Fragment, Composable, CLI\n[Domain \u002F Business]   → ViewModel, UseCase, Manager, Controller\n[Data \u002F Service]      → Repository, Service, HAL, API Client\n[Infrastructure]      → DB, Cache, IPC, Network, Hardware\n```\n\nVới **AAOS\u002FAOSP** thêm:\n```\n[App Layer]           → CarApp, System App\n[Framework Layer]     → CarService, SystemServer\n[HAL Layer]           → Vehicle HAL, AIDL interface\n[Kernel \u002F HW]         → Kernel drivers, ECU\n```\n\nVới **AI\u002FLLM App** thêm:\n```\n[Orchestration Layer] → Agent, Chain, Router\n[Model Layer]         → LLM API client, prompt templates\n[Tool Layer]          → MCP servers, function calls, plugins\n[Memory Layer]        → Vector DB, conversation history, cache\n```\n\n**Output**: Text diagram (ASCII) + mô tả từng layer 2-3 dòng.\n\n### 2.2 Critical Path Trace\n\nTrace **luồng chính** end-to-end (ví dụ: user action → response):\n\nFormat:\n```\n[Trigger] → ClassA.methodX()\n         → ClassB.methodY()   \u002F\u002F note: async via Handler \u002F coroutine\n         → ServiceC.call()    \u002F\u002F Binder IPC \u002F REST \u002F gRPC\n         → [Result \u002F Side Effect]\n```\n\nƯu tiên trace:\n1. Happy path (luồng thành công)\n2. Error path (exception, timeout, fallback)\n3. Lifecycle hooks (onCreate, onBind, onDestroy, onResume…)\n\n### 2.3 Data Flow Analysis\n\n```\nInput source → Transform → Storage → Output sink\n```\n\nVới mỗi data entity quan trọng:\n- Ai tạo ra? Ai consume?\n- Được serialize\u002Fdeserialize thế nào?\n- Thread nào xử lý? (UI, IO, Binder, Worker)\n- Lifecycle của data? (in-memory, persisted, cached)\n\n### 2.4 Key Patterns Identified\n\nLiệt kê design patterns thực sự thấy trong code:\n- Architecture pattern: MVVM, MVI, Clean Arch, Layered...\n- Concurrency: Coroutines, RxJava, Handler\u002FLooper, ThreadPool...\n- IPC: Binder, AIDL, Messenger, ContentProvider, gRPC...\n- DI: Hilt, Dagger, Koin, manual injection...\n- Reactive: Flow, LiveData, EventBus...\n\n---\n\n## Phase 3 — EVALUATE (Đánh giá chất lượng)\n\n> **Mục tiêu**: Điểm mạnh, điểm yếu, technical debt — có dẫn chứng code cụ thể.\n\n### 3.1 Score Card\n\nĐánh giá theo thang 1–5 với nhận xét ngắn + ví dụ code:\n\n| Dimension | Score | Evidence | Note |\n|---|---|---|---|\n| Architecture clarity | \u002F5 | file:line | |\n| Separation of concerns | \u002F5 | | |\n| Thread safety | \u002F5 | | |\n| Error handling | \u002F5 | | |\n| Testability | \u002F5 | | |\n| Performance awareness | \u002F5 | | |\n| Readability \u002F naming | \u002F5 | | |\n| API design (nếu có) | \u002F5 | | |\n| Security basics | \u002F5 | | |\n| **TOTAL** | **\u002F45** | | |\n\n### 3.2 Điểm HAY — đáng học\n\nFormat:\n```\n✅ [Tên pattern \u002F kỹ thuật]\n   Code: [snippet hoặc file:line reference]\n   Tại sao hay: [1-2 câu]\n   Học được gì: [áp dụng vào project khác thế nào]\n```\n\n### 3.3 Điểm DỞ — cần biết\n\nFormat:\n```\n⚠️ [Vấn đề]  Severity: [HIGH\u002FMED\u002FLOW]\n   Code: [snippet hoặc file:line]\n   Tại sao dở: [root cause]\n   Rủi ro: [bug, crash, perf, security, maintainability]\n```\n\nSeverity guide:\n- **HIGH**: Có thể crash, data loss, race condition, security hole\n- **MED**: Technical debt nặng, khó test, khó scale\n- **LOW**: Code smell, naming issue, missing comments\n\n### 3.4 Technical Debt Summary\n\n```\nDebt Category    | Count | Estimated Fix Effort\n-----------------|-------|---------------------\nMissing tests    |       |\nHardcoded values |       |\nGod classes      |       |\nMissing null check|      |\nBlocking IO on UI|       |\nDeprecated API   |       |\n```\n\n---\n\n## Phase 4 — IMPROVE (Đề xuất cải tiến có impact)\n\n> **Mục tiêu**: Không chỉ nói \"cần cải thiện\" — mà đưa ra cụ thể: làm gì, tại sao, impact bao nhiêu.\n\n### 4.1 Quick Wins (\u003C 1 ngày)\n\nNhững thứ fix ngay, low-risk, high-value:\n- Thêm null check, close resource\n- Rename confusing variable\n- Extract magic number thành constant\n- Add missing `@GuardedBy` \u002F `@MainThread` annotation\n\n### 4.2 Improvement Roadmap\n\nFormat từng item:\n\n```\n🚀 [Tên cải tiến]\n   Category    : [Architecture \u002F Performance \u002F Safety \u002F Testability \u002F Feature]\n   Effort      : [S=\u003C1d \u002F M=1-3d \u002F L=3-7d \u002F XL=>1w]\n   Impact      : [HIGH \u002F MED \u002F LOW]\n   What to do  : [mô tả kỹ thuật cụ thể]\n   Code sketch : [pseudocode hoặc diff snippet nếu hữu ích]\n   Risk        : [rủi ro nếu làm, rủi ro nếu không làm]\n```\n\n### 4.3 HIGHLIGHT — Nếu làm sẽ OUTPERFORM\n\nPhần này quan trọng nhất. Chỉ những cải tiến thực sự tạo ra **competitive advantage** hoặc **wow factor**:\n\n```\n⭐ OUTPERFORM: [Tên cải tiến]\n   \n   Tại sao sẽ nổi bật:\n   - [So với codebase hiện tại: X → Y]\n   - [So với industry standard \u002F competitors]\n   \n   Về MẶT TÍNH NĂNG:\n   [Tính năng mới hoặc UX improvement cụ thể]\n   \n   Về MẶT KIẾN TRÚC:\n   [Pattern nào nên áp dụng, tại sao scalable hơn]\n   \n   Về MẶT SOURCE CODE:\n   [Code quality gap và cách bridge]\n   \n   Implementation sketch:\n   [Key interfaces, classes, data flow cần thay đổi]\n   \n   Expected outcome:\n   - Performance: [X ms → Y ms \u002F X MB → Y MB]\n   - Maintainability: [team velocity impact]\n   - Reliability: [error rate, crash rate]\n   - Testability: [coverage estimate]\n```\n\n### 4.4 Prioritized Backlog\n\n| Priority | Item | Effort | Impact | Owner hint |\n|---|---|---|---|---|\n| P0 | | | | |\n| P1 | | | | |\n| P2 | | | | |\n| P3 (nice-to-have) | | | | |\n\n---\n\n## Output Defaults\n\n- Luôn trả lời **tiếng Việt**, English chỉ cho code\u002FAPI\u002Fterms\n- Mỗi phase kết thúc bằng **1 câu tóm tắt** + hỏi \"Đào sâu hơn vào phần nào không?\"\n- Nếu codebase lớn: ưu tiên phân tích **entry points + critical paths** trước\n- Nếu user chỉ muốn 1 phase: thực hiện phase đó, không cần chạy full pipeline\n- Dùng `view` \u002F `bash_tool` để đọc file khi có filesystem access\n- Dùng `web_fetch` để lấy GitHub\u002FGerrit raw content\n\n---\n\n## Domain-Specific Lens\n\nKhi phân tích, apply lens phù hợp theo domain:\n\n→ Chi tiết trong `references\u002Fdomain-lens.md`\n\n**Quick reference**:\n- **AAOS\u002FAOSP**: Thread safety + Binder + CarService lifecycle + CarUxRestrictions\n- **Android Mobile**: Lifecycle leaks + coroutine scope + config changes\n- **Python service**: Blocking I\u002FO + async correctness + dependency injection\n- **AI\u002FLLM App**: Token cost + latency + prompt injection + fallback strategy + context management\n\n---\n\n## Reference Files\n\n| File | Khi nào đọc |\n|---|---|\n| `references\u002Fsetup-by-type.md` | Phase 1.2 — setup môi trường theo domain |\n| `references\u002Fdomain-lens.md` | Phase 2-4 — áp dụng lens phù hợp domain |\n| `references\u002Foutperform-patterns.md` | Phase 4.3 — patterns tạo competitive advantage |\n","# Study SourceCode Skill\n\nSkill phân tích source code theo pipeline 4 pha:\n**Setup → Explore → Evaluate → Improve**\n\n---\n\n## Phase 0 — Source Input Resolution\n\n**Nếu user chưa cung cấp source code rõ ràng**, hỏi ngay:\n\n```\nBạn muốn tôi phân tích source code nào?\n- Paste trực tiếp vào chat\n- GitHub \u002F Gerrit URL (tôi sẽ fetch)\n- Local path trên máy (filesystem MCP)\n- Upload file \u002F archive (.zip, .tar.gz)\n```\n\nXác định loại input rồi mới tiến hành.\n\n| Input type | Cách xử lý |\n|---|---|\n| Paste \u002F code snippet | Đọc trực tiếp từ context |\n| GitHub URL | `web_fetch` → raw files; nếu repo lớn → fetch key files theo file tree |\n| Gerrit URL | Fetch patch \u002F file tree qua Gerrit REST API |\n| Local path | Dùng `view` tool để duyệt filesystem |\n| Archive upload | Giải nén, scan cấu trúc, đọc key files |\n\n---\n\n## Phase 1 — SETUP (Cài cắm môi trường đọc code)\n\n> **Mục tiêu**: Định hướng nhanh — biết đây là project gì, build bằng gì, chạy được không.\n\n### 1.1 Project Fingerprinting\n\nScan các file sau để nhận diện project type:\n\n```\n\u002F (root)\n├── build.gradle \u002F build.gradle.kts    → Android \u002F Kotlin\n├── Android.mk \u002F Android.bp            → AOSP \u002F AAOS\n├── CMakeLists.txt                     → C\u002FC++ native\n├── requirements.txt \u002F pyproject.toml  → Python\n├── package.json                       → Node.js \u002F web frontend\n├── Cargo.toml                         → Rust\n├── MANIFEST \u002F *.podspec               → iOS \u002F macOS\n└── Makefile \u002F Dockerfile              → Generic build \u002F containerized\n```\n\n**Output Phase 1.1**:\n```\nProject Type   : [Android Automotive \u002F AOSP \u002F Python \u002F AI App \u002F ...]\nLanguage(s)    : [Java, Kotlin, C++, Python, ...]\nBuild System   : [Gradle, Soong\u002FMake, CMake, pip, ...]\nMin SDK \u002F API  : [nếu Android]\nKey Entry Points: [Application.java, MainActivity, Service, main.py, ...]\n```\n\n### 1.2 Environment Setup Checklist\n\nTùy project type, đưa ra checklist setup môi trường đọc\u002Fchạy code:\n\n→ Xem file `references\u002Fsetup-by-type.md` theo domain phù hợp.\n\n### 1.3 Dependency Map\n\nLiệt kê dependencies quan trọng:\n- External libs (version, purpose)\n- Internal modules \u002F subprojects\n- System services \u002F HAL (nếu AAOS)\n- External APIs \u002F LLM endpoints (nếu AI app)\n\n---\n\n## Phase 2 — EXPLORE (Khám phá kiến trúc & code flow)\n\n> **Mục tiêu**: Vẽ được mental model — ai gọi ai, data đi đâu, luồng chính là gì.\n\n### 2.1 Architecture Overview (HLD-level)\n\nPhân tích theo layers:\n\n```\n[Presentation Layer]  → UI, Activity, Fragment, Composable, CLI\n[Domain \u002F Business]   → ViewModel, UseCase, Manager, Controller\n[Data \u002F Service]      → Repository, Service, HAL, API Client\n[Infrastructure]      → DB, Cache, IPC, Network, Hardware\n```\n\nVới **AAOS\u002FAOSP** thêm:\n```\n[App Layer]           → CarApp, System App\n[Framework Layer]     → CarService, SystemServer\n[HAL Layer]           → Vehicle HAL, AIDL interface\n[Kernel \u002F HW]         → Kernel drivers, ECU\n```\n\nVới **AI\u002FLLM App** thêm:\n```\n[Orchestration Layer] → Agent, Chain, Router\n[Model Layer]         → LLM API client, prompt templates\n[Tool Layer]          → MCP servers, function calls, plugins\n[Memory Layer]        → Vector DB, conversation history, cache\n```\n\n**Output**: Text diagram (ASCII) + mô tả từng layer 2-3 dòng.\n\n### 2.2 Critical Path Trace\n\nTrace **luồng chính** end-to-end (ví dụ: user action → response):\n\nFormat:\n```\n[Trigger] → ClassA.methodX()\n         → ClassB.methodY()   \u002F\u002F note: async via Handler \u002F coroutine\n         → ServiceC.call()    \u002F\u002F Binder IPC \u002F REST \u002F gRPC\n         → [Result \u002F Side Effect]\n```\n\nƯu tiên trace:\n1. Happy path (luồng thành công)\n2. Error path (exception, timeout, fallback)\n3. Lifecycle hooks (onCreate, onBind, onDestroy, onResume…)\n\n### 2.3 Data Flow Analysis\n\n```\nInput source → Transform → Storage → Output sink\n```\n\nVới mỗi data entity quan trọng:\n- Ai tạo ra? Ai consume?\n- Được serialize\u002Fdeserialize thế nào?\n- Thread nào xử lý? (UI, IO, Binder, Worker)\n- Lifecycle của data? (in-memory, persisted, cached)\n\n### 2.4 Key Patterns Identified\n\nLiệt kê design patterns thực sự thấy trong code:\n- Architecture pattern: MVVM, MVI, Clean Arch, Layered...\n- Concurrency: Coroutines, RxJava, Handler\u002FLooper, ThreadPool...\n- IPC: Binder, AIDL, Messenger, ContentProvider, gRPC...\n- DI: Hilt, Dagger, Koin, manual injection...\n- Reactive: Flow, LiveData, EventBus...\n\n---\n\n## Phase 3 — EVALUATE (Đánh giá chất lượng)\n\n> **Mục tiêu**: Điểm mạnh, điểm yếu, technical debt — có dẫn chứng code cụ thể.\n\n### 3.1 Score Card\n\nĐánh giá theo thang 1–5 với nhận xét ngắn + ví dụ code:\n\n| Dimension | Score | Evidence | Note |\n|---|---|---|---|\n| Architecture clarity | \u002F5 | file:line | |\n| Separation of concerns | \u002F5 | | |\n| Thread safety | \u002F5 | | |\n| Error handling | \u002F5 | | |\n| Testability | \u002F5 | | |\n| Performance awareness | \u002F5 | | |\n| Readability \u002F naming | \u002F5 | | |\n| API design (nếu có) | \u002F5 | | |\n| Security basics | \u002F5 | | |\n| **TOTAL** | **\u002F45** | | |\n\n### 3.2 Điểm HAY — đáng học\n\nFormat:\n```\n✅ [Tên pattern \u002F kỹ thuật]\n   Code: [snippet hoặc file:line reference]\n   Tại sao hay: [1-2 câu]\n   Học được gì: [áp dụng vào project khác thế nào]\n```\n\n### 3.3 Điểm DỞ — cần biết\n\nFormat:\n```\n⚠️ [Vấn đề]  Severity: [HIGH\u002FMED\u002FLOW]\n   Code: [snippet hoặc file:line]\n   Tại sao dở: [root cause]\n   Rủi ro: [bug, crash, perf, security, maintainability]\n```\n\nSeverity guide:\n- **HIGH**: Có thể crash, data loss, race condition, security hole\n- **MED**: Technical debt nặng, khó test, khó scale\n- **LOW**: Code smell, naming issue, missing comments\n\n### 3.4 Technical Debt Summary\n\n```\nDebt Category    | Count | Estimated Fix Effort\n-----------------|-------|---------------------\nMissing tests    |       |\nHardcoded values |       |\nGod classes      |       |\nMissing null check|      |\nBlocking IO on UI|       |\nDeprecated API   |       |\n```\n\n---\n\n## Phase 4 — IMPROVE (Đề xuất cải tiến có impact)\n\n> **Mục tiêu**: Không chỉ nói \"cần cải thiện\" — mà đưa ra cụ thể: làm gì, tại sao, impact bao nhiêu.\n\n### 4.1 Quick Wins (\u003C 1 ngày)\n\nNhững thứ fix ngay, low-risk, high-value:\n- Thêm null check, close resource\n- Rename confusing variable\n- Extract magic number thành constant\n- Add missing `@GuardedBy` \u002F `@MainThread` annotation\n\n### 4.2 Improvement Roadmap\n\nFormat từng item:\n\n```\n🚀 [Tên cải tiến]\n   Category    : [Architecture \u002F Performance \u002F Safety \u002F Testability \u002F Feature]\n   Effort      : [S=\u003C1d \u002F M=1-3d \u002F L=3-7d \u002F XL=>1w]\n   Impact      : [HIGH \u002F MED \u002F LOW]\n   What to do  : [mô tả kỹ thuật cụ thể]\n   Code sketch : [pseudocode hoặc diff snippet nếu hữu ích]\n   Risk        : [rủi ro nếu làm, rủi ro nếu không làm]\n```\n\n### 4.3 HIGHLIGHT — Nếu làm sẽ OUTPERFORM\n\nPhần này quan trọng nhất. Chỉ những cải tiến thực sự tạo ra **competitive advantage** hoặc **wow factor**:\n\n```\n⭐ OUTPERFORM: [Tên cải tiến]\n   \n   Tại sao sẽ nổi bật:\n   - [So với codebase hiện tại: X → Y]\n   - [So với industry standard \u002F competitors]\n   \n   Về MẶT TÍNH NĂNG:\n   [Tính năng mới hoặc UX improvement cụ thể]\n   \n   Về MẶT KIẾN TRÚC:\n   [Pattern nào nên áp dụng, tại sao scalable hơn]\n   \n   Về MẶT SOURCE CODE:\n   [Code quality gap và cách bridge]\n   \n   Implementation sketch:\n   [Key interfaces, classes, data flow cần thay đổi]\n   \n   Expected outcome:\n   - Performance: [X ms → Y ms \u002F X MB → Y MB]\n   - Maintainability: [team velocity impact]\n   - Reliability: [error rate, crash rate]\n   - Testability: [coverage estimate]\n```\n\n### 4.4 Prioritized Backlog\n\n| Priority | Item | Effort | Impact | Owner hint |\n|---|---|---|---|---|\n| P0 | | | | |\n| P1 | | | | |\n| P2 | | | | |\n| P3 (nice-to-have) | | | | |\n\n---\n\n## Output Defaults\n\n- Luôn trả lời **tiếng Việt**, English chỉ cho code\u002FAPI\u002Fterms\n- Mỗi phase kết thúc bằng **1 câu tóm tắt** + hỏi \"Đào sâu hơn vào phần nào không?\"\n- Nếu codebase lớn: ưu tiên phân tích **entry points + critical paths** trước\n- Nếu user chỉ muốn 1 phase: thực hiện phase đó, không cần chạy full pipeline\n- Dùng `view` \u002F `bash_tool` để đọc file khi có filesystem access\n- Dùng `web_fetch` để lấy GitHub\u002FGerrit raw content\n\n---\n\n## Domain-Specific Lens\n\nKhi phân tích, apply lens phù hợp theo domain:\n\n→ Chi tiết trong `references\u002Fdomain-lens.md`\n\n**Quick reference**:\n- **AAOS\u002FAOSP**: Thread safety + Binder + CarService lifecycle + CarUxRestrictions\n- **Android Mobile**: Lifecycle leaks + coroutine scope + config changes\n- **Python service**: Blocking I\u002FO + async correctness + dependency injection\n- **AI\u002FLLM App**: Token cost + latency + prompt injection + fallback strategy + context management\n\n---\n\n## Reference Files\n\n| File | Khi nào đọc |\n|---|---|\n| `references\u002Fsetup-by-type.md` | Phase 1.2 — setup môi trường theo domain |\n| `references\u002Fdomain-lens.md` | Phase 2-4 — áp dụng lens phù hợp domain |\n| `references\u002Foutperform-patterns.md` | Phase 4.3 — patterns tạo competitive advantage |\n",{"name":5,"description":7},"for_merge","c125351f10302e3a2dacbe0c1f56ab02e49f8d63",".skills\u002Fstudy-sourcecode","https:\u002F\u002Fgithub.com\u002Fluckyboy120794\u002FCowork_FAG3","https:\u002F\u002Fgithub.com\u002Fluckyboy120794","2026-07-21 16:59:00",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add luckyboy120794\u002FCowork_FAG3 --skill study-sourcecode",{"tool":35,"command":36},"bunx","bunx skills add luckyboy120794\u002FCowork_FAG3 --skill study-sourcecode",{"tool":38,"command":39},"pnpm","pnpm dlx skills add luckyboy120794\u002FCowork_FAG3 --skill study-sourcecode","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fluckyboy120794\u002FCowork_FAG3\u002Fblob\u002Ffor_merge\u002F.skills\u002Fstudy-sourcecode\u002FSKILL.md",true,[43,49,53],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"references\u002Fdomain-lens.md","REFERENCE","参考文档",7967,"https:\u002F\u002Fgithub.com\u002Fluckyboy120794\u002FCowork_FAG3\u002Fblob\u002Ffor_merge\u002F.skills\u002Fstudy-sourcecode\u002Freferences\u002Fdomain-lens.md",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Foutperform-patterns.md",9239,"https:\u002F\u002Fgithub.com\u002Fluckyboy120794\u002FCowork_FAG3\u002Fblob\u002Ffor_merge\u002F.skills\u002Fstudy-sourcecode\u002Freferences\u002Foutperform-patterns.md",{"path":54,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fsetup-by-type.md",6068,"https:\u002F\u002Fgithub.com\u002Fluckyboy120794\u002FCowork_FAG3\u002Fblob\u002Ffor_merge\u002F.skills\u002Fstudy-sourcecode\u002Freferences\u002Fsetup-by-type.md",[58,65,72,79,86,93],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M79GN00AB2SSPMB8358HGYD8","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Fluckyboy120794\u002FCowork_FAG3\u002Fblob\u002Ffor_merge\u002F.skills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M79GMXZ4CC9X207HDASJT023","writing-shape","Writing, exploit — shape raw material into an article, paragraph by paragraph.","https:\u002F\u002Fgithub.com\u002Fluckyboy120794\u002FCowork_FAG3\u002Fblob\u002Ffor_merge\u002F.skills\u002Fwriting-shape\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M79GMVHHJDFA5ZVGRJYYV4FW","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fluckyboy120794\u002FCowork_FAG3\u002Fblob\u002Ffor_merge\u002F.skills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M79GMSVVAMSY5R0Z2GJMG3AR","writing-great-skills","Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.","https:\u002F\u002Fgithub.com\u002Fluckyboy120794\u002FCowork_FAG3\u002Fblob\u002Ffor_merge\u002F.skills\u002Fwriting-great-skills\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M79GMRDMD8G98ZWK11QW8J00","writing-fragments","Writing, explore — mine raw fragments, no structure yet.","https:\u002F\u002Fgithub.com\u002Fluckyboy120794\u002FCowork_FAG3\u002Fblob\u002Ffor_merge\u002F.skills\u002Fwriting-fragments\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":18},"01M79GMPDD3BE81JVKV2E3WRPY","writing-beats","Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.","https:\u002F\u002Fgithub.com\u002Fluckyboy120794\u002FCowork_FAG3\u002Fblob\u002Ffor_merge\u002F.skills\u002Fwriting-beats\u002FSKILL.md",[],[]]