Enablement: help coding agents write idiomatic Mellea code
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- ai-infra-agents, developer-experience
Hướng nghiên cứu
Read docs/AGENTS_TEMPLATE.md, .agents/skills/, mellea/stdlib/tools/mcp.py, and the runnable examples in docs/examples/ to understand the existing guidance and tooling. Compare the proposed distribution options and open questions, then identify a focused sub-task to break out; the success criterion is a low-friction way for coding agents to produce idiomatic, correct, current Mellea code.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
When developers point a coding agent (Claude, Cursor, Codex, etc.) at a task involving Mellea, the generated code tends to be subpar. They invent APIs that don't exist, reach for antipatterns, don't do things the "melleaic way", etc.
This matters most for new users: their first experience is often mediated through an agent, and a bad first result reads as "Mellea doesn't work" rather than "the agent didn't know how to use Mellea." We need something a developer can drop into their own project's agent with minimal effort.
What we already have
docs/AGENTS_TEMPLATE.md: a genuinely good, opinionated guide (the@generativepattern, anti-patterns section, common errors table). But it lives in our repo and requires the developer to know it exists and copy it manually.agents/skills/: we already use the agentskills.io skill standard internally.m serve/mellea/stdlib/tools/mcp.py: Mellea can already expose generative programs as MCP tools. We don't yet have an MCP server that teaches an agent to write Melleadocs/examples/: a large corpus of runnable, idiomatic examples
Areas to investigate
These are the sub-tasks to evaluate and break out; the epic is about picking the right mix, not committing to all of them.
- Distributable agent skill(s): publish a "writing Mellea code" skill following the agentskills.io standard so any compatible agent can pick it up. Reuses
AGENTS_TEMPLATE.mdcontent; likely the lowest-friction path - MCP server for authoring: an MCP server the developer points their agent at, exposing tools like: search idiomatic examples, look up the correct API for a task, validate a snippet against current APIs, surface anti-pattern warnings
- Published, versioned
AGENTS.mdsnippet: a canonical, copy-pasteable block (oruvx-installable command that writes it) kept in sync with each release, so "the melleaic way" travels with the version the developer is actually on - Context/docs optimized for retrieval: a compact, agent-oriented docs bundle (not the full repo), shippable via
llms.txtor similar
Open questions
- Prioritization: which surface(s) do we ship for the next release, and which are follow-ups?
- Version sync: how do we keep guidance aligned with the version the developer actually has installed? Antipattern advice rots fast — stale guidance may be worse than none.
- Measurement: how do we know it's working? A likely approach: an eval harness that gives an agent N Mellea tasks with and without the enablement package and scores idiomaticity + correctness. (Scope TBD, could be its own sub-task.)
- Distribution: bundled with the
melleapip package? A separate install (mellea-agent-kit)? A hosted MCP endpoint?
Success criteria
A developer using a mainstream coding agent can, with a single low-friction step, get their agent to reliably produce idiomatic, correct, and current Mellea code, without hand-holding and without pasting the repo into context.
- Ngôn ngữ chính
- Python
- Star
- 1.8k
- Fork
- 161
- Merge trung bình
- 4 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 45
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của generative-computing/mellea
-
bug: `mellea.plugins.builtin_debug.generation.log_generation_post_call` shows model as unknownĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
generative-computing/mellea#1864 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug: instruct() and react() replay tool-call turns without tool_callsCó thể đã có người làm @simonyang08 đã nhận 21 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
generative-computing/mellea#1784 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Silently mangled docstrings: lone backslash line-continuations in non-raw docstrings collapse command examplesCó thể đã có người làm @madhusudhan1260 đã nhận 18 ngày trước. Đang mởgood first issue p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
generative-computing/mellea#1780 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 3 ngày
-
area/telemetry enhancement p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
generative-computing/mellea#1210 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Add requirement priorityĐang mởarea/requirement area/stdlib enhancement p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
generative-computing/mellea#31 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của generative-computing/mellea
Issue tương tự
-
cron: raise a distinct error when next_fire finds no match in its search bound (from #813 item 5)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Pin Hugging Face commit revisions for AuK weight downloads and eliminate post-download SHA TOCTOUĐang mởarea:voice better-dependency-freedom dependencies effort:low in-progress model:medium plan planner:gemini-4-neon-high priority:2 security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-area-label
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
OpenFreeEnergy/openfe#2371 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
HMDB's smiles file writes "None" for metabolites with an empty <smiles/> (file not currently used)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
NCATSTranslator/Babel#1269 ·
Maintainer thường phản hồi trong vòng 1 ngày