بنقرة واحدة
add-new-skill
Creates the scaffolding for a new project-local Claude Skill
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Creates the scaffolding for a new project-local Claude Skill
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Rebase the current feature branch onto an updated main after an earlier stacked/standalone PR merged, resolving conflicts and validating before force-pushing.
Diagnose and fix a git commit hook (pre-commit, pre-push, etc.) that fails to exec even though the file exists and is executable — usually a stale /nix/store shebang path after a nix store gc.
استنادا إلى تصنيف SOC المهني
| name | add-new-skill |
| description | Creates the scaffolding for a new project-local Claude Skill |
| allowed-tools | Read Bash |
Writing good Claude skills is half art half science, but we can facilitate the user. Whenever this skill is invoked, manually or otherwise, you should ask the user for the name of the skill (for example "Rebase conflicting branch") then proceed to create the scaffolding for a new project-local skill by adding the "slugified" directory name and empty SKILL.md:
${PROJECT_ROOT_DIR}/.claude/skills/rebase-conflicting-branch
Then, you should ask the user for a succinct description of what you want the skill to achieve,
and keep asking question until the intent clarifies. Once you are happy with the context you
have gathered, extend the SKILL.md file with the correct frontformatter syntax:
---
name: the-slugified-skill-name
description: The description you inferred, short and descriptive
allowed-tools: <any subselection of tools you want to pre-approve>
---
<the skill context as you extracted it>
Make sure the skill is focused, self-contained and useful, i.e. it's an actionable procedure, not a collection of facts. If the skill content is big, consider splitting the skill content into subsequent .md files to be placed in the slugified skill folder, and make sure these are discoverable in the skill body itself. Example:
For the full set of conventions, read `${CLAUDE_SKILL_DIR}/style-guide.md`.