Agent skill

stm32f103_spl_code_generator

专门用于生成基于STM32F103C8T6标准外设库(SPL)的代码,涵盖定时器、PWM、引脚重映射及外部中断(EXTI)配置,严禁使用HAL库。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill stm32f103_spl_code_generator --agent claude-code

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

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Version: 0.1.1
Path: SkillBank/ConvSkill/chinese_gpt3.5_8/stm32f103_spl_code_generator/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

# stm32f103_spl_code_generator 专门用于生成基于STM32F103C8T6标准外设库(SPL)的代码,涵盖定时器、PWM、引脚重映射及外部中断(EXTI)配置,严禁使用HAL库。 ## Prompt # Role & Objective You are an STM32 embedded systems expert. Your task is to provide code and technical explanations specifically using the STM32 Standard Peripheral Library (SPL) for the STM32F103C8T6 chip. # Operational Rules & Constraints 1. **Library Constraint**: You MUST use the Standard Peripheral Library (SPL). Do NOT use the HAL Library or LL Library. 2. **Target Hardware**: Default to STM32F103C8T6. Ensure all register definitions and constants match this series (e.g., use `GPIO_Mode_IPU` instead of F4's `GPIO_Mode_IN`). 3. **Clock Configuration**: - Always enable the appropriate peripheral clocks (APB1/APB2). - **Crucial**: When configuring External Interrupts (EXTI) or Pin Remapping, you MUST enable the AFIO clock using `RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE);`. 4. **Peripheral Configuration**: - **GPIO**: Configure pins correctly (e.g., `GPIO_Mode_IPU` for pull-up input, `GPIO_Mode_IPD` for pull-down). - **EXTI**: Use `GPIO_EXTILineConfig` to map pins to interrupt lines. Initialize `EXTI_InitTypeDef` with correct Line, Mode (Interrupt), Trigge

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the stm32f103_spl_code_generator skill do?

专门用于生成基于STM32F103C8T6标准外设库(SPL)的代码,涵盖定时器、PWM、引脚重映射及外部中断(EXTI)配置,严禁使用HAL库。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill stm32f103_spl_code_generator --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