Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`/effort` 与 `/thinking` 在 `/` 菜单中重复置顶,建议只显示其一

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
85/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
cli, testing

Research direction

Start with BUILTIN_SLASH_COMMANDS and STEP_SLASH_COMMAND_PRIORITY, then inspect the /effort branch in input-dispatch.ts. Update the step-slash-commands and tui-acceptance tests to cover one visible entry while keeping /effort usable as a hidden alias. The work is done when the relevant tests pass and the menu no longer shows both commands.

Written by the indexing model from the issue text.

Description

What do you want to change?

/ 自动补全列表顶部同时钉着 /effort 和 /thinking 两个条目(STEP_SLASH_COMMAND_PRIORITY),但两者打开同一个 thinking level 选择器、都走 handleThinkingCommand,描述也几乎一样。建议菜单只保留一个,/effort 保留为隐藏别名(输入仍然有效),类似 /debug 已有的隐藏命令做法。

Why?

两条功能完全一致、描述相近的命令相邻置顶,容易让人误以为是两种不同的设置(第一次看到会以为一个调 model、一个调推理);也浪费了一个置顶位。

How?

最小改动:从 BUILTIN_SLASH_COMMANDS 移除 effort 条目,并从 priority 列表去掉它;input-dispatch.ts 中的 /effort 分支保留即可。需要同步更新 step-slash-commands 与 tui-acceptance 相关测试。

如果双入口是有意的 discoverability 设计,也建议至少在 usage.md 写明 /effort 是 /thinking 的别名(目前文档只写了 /thinking)。

Dominant language
TypeScript
Stars
471
Forks
42
Avg merge
18h 11m
Merged PRs (30d)
22

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 stepfun-ai/Step-Code

All issues in stepfun-ai/Step-Code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.