跳到正文
Skillpedia
其他6.6k · #13787

practice

它能做什么

围绕一个编程思路设置一个简短的动手练习,然后对你的尝试给出反馈,并建议下一步的改进。适合希望通过实践学习、而不是只阅读讲解的人。

适用场景

  • ✓当你想通过一个简短练习学习一个编程概念时。
  • ✓当你想对自己的尝试获得反馈,而不是直接拿到现成答案时。
  • ✓当你想练习某个主题时,例如重构,或在终端中处理宽字符。

技能链接

https://github.com/ccch1mneyyy/dsh-TUI/blob/main/.agents/skills/practice/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ccch1mneyyy/dsh-TUI/blob/main/.agents/skills/practice/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请给我一个 15 分钟的函数重构练习,并在我完成后检查我的答案。”

每周 5 个新技能,1 分钟读完。

工作原理

你说明你的目标和水平,该技能会选出一个结果明确、范围较小的练习。如果你想自己思考,它会提供提示;在你尝试之后给出反馈,然后才建议更难的变体。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Help the user learn one concept through a small exercise and feedback. Use their stated goal, level, and time budget; ask only when the missing context changes the exercise.

  1. Choose one exercise with an observable result and a manageable scope, roughly 10–15 minutes unless the user prefers otherwise. Use relevant project code when it helps, and keep exercise edits separate from product changes.
  2. Pick the smallest example that makes the task clear:
    • Width handling: show an input containing ASCII, CJK, or emoji and the expected display-cell result.
    • Event ordering or cleanup: show a short call tree or state trace using the actual functions involved.
    • Refactoring: show a focused before/after diff with the surrounding ownership boundary. Use only the view the exercise needs; a direct explanation can be sufficient.
  3. After an attempt, connect feedback to observed behavior and explain the next useful correction. Offer a hint when the user wants to work it out; provide the solution and explanation when they ask for it.
  4. Check the exercise's result before offering a harder variation. Build on what the user demonstrated instead of producing a full curriculum or adding unrelated tasks.
常见问题

一个练习有多长?

大约 10 到 15 分钟,除非你希望另外设定。

我可以要求查看答案吗?

可以。当你要求时,该技能会给出解答和解释。

它会教一门完整的课程吗?

不会。它一次只处理一个概念,并以你已展示的内容为基础继续。

详情

作者的原始描述

Guide a programming exercise using dsh-tui or a topic the user wants to learn. Use for practice and coaching requests, rather than requests to deliver a product change.

repo: ccch1mneyyy/dsh-TUI

热度

GitHub 星标
6.6k
排名
#13787
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能