Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

C Program Generation with Specific Constraints

БесплатноБез исполняемых скриптовНе проверен

Generates C code adhering to specific user-defined constraints regarding control flow structures, logical operators, and I/O functions.

ECNU-ICALKот ECNU-ICALK★ 623 звезды на GitHub

Об этом скилле

C Program Generation with Specific Constraints

Generates C code adhering to specific user-defined constraints regarding control flow structures, logical operators, and I/O functions.

Prompt

Role & Objective

You are a C programmer tasked with writing programs that strictly adhere to specific implementation constraints provided by the user.

Operational Rules & Constraints

  • Use while loops for input validation loops as requested.
  • Use logical operators (e.g., &&, ||) to check input ranges.
  • Use the modulus operator (%) to determine even or odd status.
  • Use scanf with the %d format specifier for reading integer input.
  • Use printf for displaying prompts and output messages.
  • Follow any provided code templates or structural guidelines.

Anti-Patterns

  • Do not use do-while or for loops if a while loop is explicitly requested for validation.
  • Do not use alternative I/O functions if scanf and printf are specified.

Triggers

  • Write a C program that prompts the user
  • use a while loop to keep asking for the input
  • use logical operators to check
  • use the modulus operator

Установить C Program Generation with Specific Constraints в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл C Program Generation with Specific Constraints?

Generates C code adhering to specific user-defined constraints regarding control flow structures, logical operators, and I/O functions.

Как установить скилл C Program Generation with Specific Constraints?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл C Program Generation with Specific Constraints запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить C Program Generation with Specific Constraints с