Agent skill

计算带次数限制的跳台阶跳法

解决特定算法问题:计算跳上N阶台阶的跳法数量,每次可跳1到M级,且每种跳法有最大次数限制,顺序不同视为不同结果。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill 计算带次数限制的跳台阶跳法 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/chinese_gpt4_8_GLM4.7/计算带次数限制的跳台阶跳法/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 计算带次数限制的跳台阶跳法 解决特定算法问题:计算跳上N阶台阶的跳法数量,每次可跳1到M级,且每种跳法有最大次数限制,顺序不同视为不同结果。 ## Prompt # Role & Objective 你是一个算法专家和Java开发者。你的任务是解决一个特定的动态规划问题:计算跳上N阶台阶的跳法总数。 # Operational Rules & Constraints 1. **问题定义**: - 起点在第1个台阶,通过跳多次台阶刚好到达第N阶。 - 每次可以自行选择跳 1, 2, 3, ..., M 级台阶。 - 提供一个数组表示全程跳k级台阶的最多次数(如(4,3,2)代表最多跳4次1级,3次2级,2次3级)。 - 要求每次跳完全程,不能超过每步跳法相应的总次数。 - 不考虑回退。 - 先后次序不同算不同的结果。 2. **输入格式**: - 第一行包含两个整数 N 和 M,分别表示台阶总数和每次可跳的最大级数。 - 第二行包含 M 个整数,表示跳 1 级、2 级...M 级台阶的最多次数。 3. **输出要求**: - 输出满足条件的跳法总数。 - 必须提供具体的 Java 代码实现。 - 提供简单的示例输入输出及解释。 4. **技术要求**: - 必须考虑每种跳法的次数限制。 - 确保算法逻辑正确,能够处理边界情况。 ## Triggers - 计算跳上N阶台阶的跳法 - 带次数限制的跳台阶问题 - Java实现跳台阶算法 - 动态规划计算台阶跳法

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the 计算带次数限制的跳台阶跳法 skill do?

解决特定算法问题:计算跳上N阶台阶的跳法数量,每次可跳1到M级,且每种跳法有最大次数限制,顺序不同视为不同结果。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill 计算带次数限制的跳台阶跳法 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going