Chuyển đến nội dung chính

Bài đăng

Hiển thị các bài đăng có nhãn Skills

Agent Skills cho Dart và Flutter: workflow agent rẻ và chuẩn hơn

Agent giỏi gõ phím nhưng kém gu. Agent Skills mã hóa gu Flutter/Dart thành hướng dẫn ngắn theo task mà agent load được: cách thêm integration test, setup localization, cấu trúc feature. Vì sao skill thắng system prompt khổng lồ Theo scope. Chỉ load việc đang cần. Version cùng hệ sinh thái. Skill ship kèm package và docs. Rẻ token. Mặt phẳng tool MCP cũng được gộp để agent dành budget cho code của bạn. Dùng hàng ngày Cài/cấu hình Dart & Flutter MCP server cho agent (Claude Code, Gemini CLI, Cursor…). Ưu tiên invoke skill chính thức hơn prompt tự do “viết màn login”. Giữ skill local cho luật nhà (folder layout, convention Riverpod, style test). Package skills Pub package có thể ship skill riêng để agent biết idioms của package đó , không phải Flutter chung chung. Nếu bạn maintain plugin phổ biến, skill đang thành một phần DX tốt — và giảm API bị bịa. Anti-pattern Một prompt vừa redesign kiến trúc, vừa add feature, vừa viết test. Hãy tách. Tắt skill để “tiết kiệ...

Dart and Flutter Agent Skills: cheaper, better agent workflows

Agents are good at typing and bad at taste. Agent Skills encode Flutter/Dart taste as short, task-oriented instructions your agent can load: how to add integration tests, how to set up localization, how to structure a feature. Why skills beat a giant system prompt Scoped. Load only what the task needs. Versioned with the ecosystem. Skills ship alongside packages and docs. Token-cheap. The MCP tool surface was also consolidated so the agent spends budget on your code, not on boilerplate tool schemas. How to use them day to day Install/configure the Dart & Flutter MCP server for your agent (Claude Code, Gemini CLI, Cursor, etc.). Prefer invoking an official skill over free-form “write me a login screen.” Keep project-local skills for house rules (folder layout, Riverpod conventions, test style). Package skills Pub packages can ship their own skills so an agent knows this package’s idioms, not generic Flutter. If you maintain a popular plugin, a skill is becoming p...