[Good first issue] 把开发指南里的 Prompt Skill 示例改成可直接加载的 SKILL.md

Open Beginner friendly
#225 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
documentation

Research direction

Read the English development guide at docs/coding-guide.md lines 84–110 and compare it with packages/skill-hub/src/index.ts and the example in packages/skill-hub/src/index.test.ts. Update one Markdown section with a copyable SKILL.md example containing a name, keywords and prompt text, plus guidance for editing and enabling or disabling skills. Run the cited test and include the loaded skill ID, keywords and body in the PR.

Written by the indexing model from the issue text.

Description

documentation good first issue

第一次给研迹写技能的开发者,照着英文开发指南创建 market-summary/SKILL.json 后,技能列表仍然是空的。用临时目录调用 SkillHub.loadSkills() 可以复现:只放 JSON 时加载了 0 个技能,加入带名称、关键词和正文的 SKILL.md 后就能读到 market-summary。现有指南 · 实际加载逻辑

这份 PR 可以只改一个 Markdown 小节。

  • 在英文指南中给出可复制的 <skillsDirectory>/market-summary/SKILL.md 示例,标明文件位置,包含 name、keywords 和一段提示词正文。
  • 说明如何修改技能文件,以及设置页如何启用、停用技能。当前加载出的技能标记为 editable: false。
  • 参照现有测试在临时目录加载文档里的示例,在 PR 中贴出读到的技能 ID、关键词和正文。离线测试可运行 bun test packages/skill-hub/src/index.test.ts。测试示例

欢迎第一次贡献文档的朋友评论 /claim 认领。

Dominant language
TypeScript
Stars
206
Forks
37
Avg merge
1d 1h
Merged PRs (30d)
26

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ydflow/Trail

All issues in ydflow/Trail

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.