شعار Start

Start

المجتمع
rlajous
start

Start a new PR by creating a feature branch following repo conventions

نظرة عامة

الناشرrlajous
المستودعclaude-code-commands
اسم المهارةstart
النجوم
30
التفريعات
2
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها rlajous على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Start في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/rlajous/claude-code-commands/tree/main/skills/start
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rlajous/claude-code-commands.git /tmp/claude-code-commands
mkdir -p .claude/skills
cp -r /tmp/claude-code-commands/skills/start .claude/skills/start
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Start في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Start تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Start بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Cross-runtime: follow runtime compatibility for invocation, delegation, configuration precedence, state paths, and permissions.

You are helping create a new pull request. Your task is to create a properly named feature branch, optionally fetch ticket details, and store context for subsequent commands.

Step 1: Load Configuration

Resolve project configuration with canonical-first precedence:

bash
if [ -f ".git-workflow/config.yaml" ]; then
  CONFIG_PATH=".git-workflow/config.yaml"
elif [ -f ".claude/config.yaml" ]; then
  CONFIG_PATH=".claude/config.yaml" # legacy read-only fallback
else
  CONFIG_PATH=""
fi

Configuration Priority:

  1. .git-workflow/config.yaml (if exists)
  2. .claude/config.yaml (legacy read-only fallback)
  3. Auto-detection (package.json, pyproject.toml, etc.)
  4. Sensible defaults

Default Values (when no config):

yaml
workflow:
  type: staging
  developmentBranch: staging
  productionBranch: main
branches:
  feature: "{type}/{ticket}-{description}"
commits:
  types: [Feature, Fix, Hotfix, Refactor, Docs, Test, Chore]
  requireTicket: false
  ticketPattern: "^[A-Z]+-\\d+$"
issueTracker:
  type: auto

Step 2: Gather Information

Ask the user for the following information (use the active host user-input mechanism):

Question 1: Ticket ID

Question: "What is the ticket ID or URL?"

  • Examples:
    • PROJ-1234 (Jira format)
    • ENG-456 (Linear format)
    • #789 (GitHub issue)
    • https://linear.app/team/issue/ENG-456/...
    • https://your-org.atlassian.net/browse/PROJ-1234

Parsing Logic:

  • Extract ticket ID from URL if provided
  • Linear: Pattern /issue/([A-Z]+-\d+)/
  • Jira: Pattern /browse/([A-Z]+-\d+)
  • GitHub: Pattern issues/(\d+) or #(\d+)

Validation:

  • If commits.requireTicket: true in config, ticket is required
  • Validate against commits.ticketPattern if provided
  • If no ticket provided and not required, proceed without it

Question 2: Change Type

Question: "What type of change is this?"

Options (from config or defaults):

  • feature - New feature or enhancement
  • fix - Bug fix
  • hotfix - Urgent production fix
  • chore - Maintenance, dependencies, etc.
  • refactor - Code refactoring
  • docs - Documentation changes

Question 3: Short Description

Question: "Provide a brief description (will be converted to kebab-case)"

Examples:

  • "add user authentication" -> add-user-authentication
  • "fix memory leak in parser" -> fix-memory-leak-in-parser

Step 3: Fetch Ticket Details (Optional)

If a ticket ID was provided and issue tracker is configured:

Auto-Detect Issue Tracker Type

Based on ticket format and available MCP servers:

  • ^[A-Z]+-\d+$ with Linear MCP available -> Linear
  • ^[A-Z]+-\d+$ with Jira config/MCP available -> Jira
  • ^#?\d+$ or GitHub URL -> GitHub Issues (via gh CLI)

Linear Integration

If Linear ticket format is detected, use the Linear MCP server:

# Fetch ticket details via Linear MCP
mcp__linear__get_issue(id: ticketId)

The MCP server handles authentication automatically via OAuth.

Jira Integration

If Jira is configured, use the Jira MCP server:

# Fetch ticket details via Jira MCP
mcp__jira__get_issue(issueKey: ticketId)

The MCP server handles authentication automatically. The jira.baseUrl from config is used to identify the Jira instance.

GitHub Issues

If GitHub format detected:

bash
# Use gh CLI to fetch issue
gh issue view {issue_number} --json title,body,state

Store Fetched Data:

json
{
  "ticket_title": "Fetched title from issue tracker",
  "ticket_description": "Description from issue tracker",
  "ticket_status": "In Progress"
}

Step 4: Create Branch

Generate Branch Name

Apply the branch pattern from config (default: {type}/{ticket}-{description}):

Pattern: {type}/{ticket}-{description}
Type: fix
Ticket: proj-1234
Description: add-user-auth

Result: fix/proj-1234-add-user-auth

Branch Naming Rules:

  • Convert ticket to lowercase
  • Convert description to kebab-case (lowercase, hyphens)
  • Remove special characters
  • Limit total length to 100 characters

Examples:

  • fix/proj-1234-standardize-token-info-schema
  • feature/eng-456-add-holder-analysis
  • hotfix/abc-789-fix-critical-bug
  • chore/update-dependencies (no ticket)

Create and Checkout Branch

Immediately before running any command below, show the resolved base branch, pull target, new branch name, and canonical context destination. Ask for explicit confirmation to create and check out the branch. Do not treat automatic skill invocation or earlier information-gathering answers as approval.

bash
# Ensure we're on the development branch and up-to-date
git checkout {workflow.developmentBranch} 2>/dev/null || git checkout main
git pull

# Create feature branch
git checkout -b {branch_name}

Error Handling:

  • If branch already exists, ask: "Branch exists. Switch to it or create a new name?"
  • If not on expected base branch, warn and confirm

Step 5: Store Context

Create .git-workflow/pr-context.json with collected information:

bash
mkdir -p .git-workflow
json
{
  "ticket_id": "PROJ-1234",
  "ticket_url": "https://issue-tracker.com/PROJ-1234",
  "ticket_title": "Title from issue tracker (if fetched)",
  "branch": "fix/proj-1234-description",
  "type": "fix",
  "description": "Human readable description",
  "started_at": "2025-01-17T12:00:00Z",
  "config": {
    "workflow": "staging",
    "developmentBranch": "staging",
    "productionBranch": "main"
  }
}

Important:

  • Create .git-workflow/ before writing.
  • If .git-workflow/pr-context.json exists, ask before overwriting.
  • Never overwrite or delete the legacy .claude/.pr-context.json fallback.

Step 6: Confirm

Output a confirmation message:

Created branch: {branch_name}
Ticket: {ticket_id} {ticket_title if fetched}
Type: {type}

Next steps:
1. Make your code changes
2. Run /commit to stage and commit your changes
3. Run /finish to create the pull request

If ticket details were fetched, include:

Ticket Details:
- Title: {ticket_title}
- Status: {ticket_status}

Configuration Reference

All configurable options from .git-workflow/config.yaml:

SettingDefaultDescription
workflow.developmentBranchstagingBase branch for feature branches
branches.feature{type}/{ticket}-{description}Branch naming pattern
commits.typesFeature, Fix, Hotfix...Allowed change types
commits.requireTicketfalseEnforce ticket ID
commits.ticketPattern^[A-Z]+-\d+$Regex for ticket validation
issueTracker.typeautolinear, jira, github, none

Error Handling

ScenarioAction
Branch already existsAsk to switch or rename
Ticket required but missingPrompt for ticket ID
Invalid ticket formatShow expected format, ask to retry
Issue tracker API failsWarn and continue without ticket details
Not on expected branchWarn and ask for confirmation
Uncommitted changesWarn and ask to stash or commit first
.pr-context.json existsAsk to overwrite or abort

Examples

Basic Usage (No Config)

User: /start
Agent: What is the ticket ID? -> "PROJ-123"
Agent: What type of change? -> "fix"
Agent: Brief description? -> "fix login timeout"
Result: Branch fix/proj-123-fix-login-timeout created

With Linear Integration (via MCP)

User: /start
Agent: What is the ticket ID? -> "ENG-456"
[Uses Linear MCP to fetch: "Add OAuth2 support"]
Agent: What type? -> "feature"
Agent: Description? -> "oauth2-authentication"
Result: Branch feature/eng-456-oauth2-authentication created
        Ticket: ENG-456 - Add OAuth2 support

Without Ticket (When Not Required)

User: /start
Agent: What is the ticket ID? -> (skip)
Agent: What type? -> "chore"
Agent: Description? -> "update dependencies"
Result: Branch chore/update-dependencies created

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Start؟

Start a new PR by creating a feature branch following repo conventions

لماذا تستخدم Start على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Start عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Start في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/rlajous/claude-code-commands/tree/main/skills/start. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Start؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Start؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Start معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Start مجانية؟

نعم. نشرها rlajous على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇