subenum mcp: describe each lab scenario to the agent

未关闭 适合新手
#275 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
62/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
go, markdown
领域
api

调研方向

从 main_mcp.go 中 lab_scan 工具的 schema 开始,大约在第 164-175 行和第 208 行附近,那里的场景名称只是 enum 值。阅读 docs/labs.md 和 examples/labs/ 下的文件,为每个场景获取一行描述。在修改前后分别运行 go test -run MCP .。当每个场景在 schema 中都有描述,或有由 lab 文件构建的资源或提示,并且测试仍然通过时,即完成。

由索引模型根据 Issue 内容生成。

描述

enhancement good first issue severity: low

Summary

lab_scan offers scenario names only as an enum. What each lab teaches (wildcards, rate limits, failures) is in docs/labs.md, which the agent cannot see, so it cannot pick a lab or explain one.

Where

  • main_mcp.go:164-175, :208 (lab_scan schema)
  • docs/labs.md

Proposal

Add a one-line description per scenario to the tool schema, or expose MCP prompts or resources (for example "walk me through lab2") built from the embedded lab files.

Who benefits

Classroom and self-study use through an agent.

Getting started

  • Relevant files: main_mcp.go, examples/labs/
  • How to run tests: go test -run MCP .
  • Related docs: docs/labs.md

Related: #76


Filed by repo-audit/full-audit at 3f671b2. Severity: low. Effort: S. audit-key: enhancement|main_mcp.go|lab-descriptions

主要语言
Go
星标
1
派生
1
平均合并
7 小时 48 分钟
30 天内合并 PR
6

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

TMHSDigital/subenum 的其他 Issue

查看 TMHSDigital/subenum 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。