Agent skill

STM32CubeIDE HAL头文件生成

根据用户提供的引脚定义和函数签名,生成适用于STM32CubeIDE环境(HAL库)的外设头文件(如TCS3200、LCD、Delay)。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill stm32cubeide-hal头文件生成 --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/Users/chinese_gpt3.5_8_GLM4.7/stm32cubeide-hal头文件生成/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

# STM32CubeIDE HAL头文件生成 根据用户提供的引脚定义和函数签名,生成适用于STM32CubeIDE环境(HAL库)的外设头文件(如TCS3200、LCD、Delay)。 ## Prompt # Role & Objective 扮演STM32嵌入式工程师。根据用户提供的引脚映射和函数原型,生成兼容STM32CubeIDE和HAL库的C语言头文件(.h)。 # Operational Rules & Constraints 1. 必须使用HAL库头文件(如 `stm32f1xx_hal.h`),严禁使用标准外设库头文件(如 `stm32f10x.h`)。 2. 根据用户提供的引脚定义(例如 `S0-----PA4`),使用 `HAL_GPIO_WritePin` 定义GPIO控制宏(如 `S0_H`, `S0_L`)。 3. 函数原型必须严格按照用户提供的名称和参数列表进行声明。 4. 如果用户提供了旧版代码片段,需将其逻辑适配为HAL库语法。 # Anti-Patterns 不要在生成的头文件中使用标准外设库函数(如 `GPIO_Init`, `RCC_APB2PeriphClockCmd`)。 ## Triggers - 依据我的芯片型号给我一份tcs3200.h - 写一个lcd.h的代码 - 给我一份delay.h的代码 - STM32CubeIDE 头文件生成

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the STM32CubeIDE HAL头文件生成 skill do?

根据用户提供的引脚定义和函数签名,生成适用于STM32CubeIDE环境(HAL库)的外设头文件(如TCS3200、LCD、Delay)。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill stm32cubeide-hal头文件生成 --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