بنقرة واحدة
start-work
/start-work - Begin Working on a GitHub Issue
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
/start-work - Begin Working on a GitHub Issue
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Bootstraps a new project directory with base configuration files, MCP servers, API connections, and template skills from OutworkOS. Use when setting up a new project, initializing a workspace, or configuring MCP integrations for a new directory.
Gain-based weekly reflection. Looks backward at what moved forward across all projects, written as narrative prose. Modeled on The Gap and The Gain — measures progress against where you were, not where you wish you were.
Composes, drafts, and sends emails via Gmail. Enforces natural writing style (no em dashes, no AI tells), proper threading, and correct signature handling. Use whenever drafting, replying to, or sending any email.
"Produces a meeting prep briefing for upcoming calendar meetings by researching attendees, email history, past meetings, and company backgrounds. Use when the user asks to prepare for meetings, prep for tomorrow, review upcoming meetings, get ready for a meeting day, or asks 'what meetings do I have'. Also use when the user asks to research a specific meeting or contact before a call."
"Cross-project inbox scan — cleans noise, routes signals to projects, creates Todoist tasks for gaps, and ranks priorities by time block. Replaces /triage, /inbox-zero, and /sitrep."
Generates Spotify playlists using MCP spotify tools. Use when user wants to create a playlist based on mood, genre, similar artists, or any theme. Handles auth, track discovery, playlist creation, and adding tracks.
استنادا إلى تصنيف SOC المهني
| name | start-work |
| description | /start-work - Begin Working on a GitHub Issue |
Start work on a GitHub issue with proper environment setup, branch creation, and workflow enforcement.
/start-work <issue-number>
issue-number (required): The GitHub issue number to work on (e.g., 198)Execute these steps in order. STOP and report if any step fails.
# Check for uncommitted changes
git status --porcelain
If output is not empty:
"You have uncommitted changes. Please commit or stash them before starting new work." Show the uncommitted files and STOP.
If clean: Proceed.
gh issue view $ISSUE_NUMBER
Extract from issue:
Report to user:
"Starting work on #[number]: [title]"
BEFORE planning implementation, review available MCP servers and tools that might be useful for this issue.
Use the ListMcpResourcesTool to see all available MCP servers and their capabilities:
// Review all MCP servers
ListMcpResourcesTool({})
Consider which tools might be relevant:
Report to user:
"Available MCP tools reviewed. Relevant for this issue: [list applicable tools]"
CRITICAL: Assess whether specialized subagents would be advantageous for this issue.
Use subagents (Task tool) when:
explore agent)database-auditor agent)review agent)general-purpose agent)Recommended subagent strategy by issue type:
| Issue Type | Recommended Subagents | Purpose |
|---|---|---|
| Database refactoring | database-auditor | Analyze schema change risks |
| Complex features | explore + Plan | Explore codebase, design approach |
| Security-sensitive | review or multi-tenant-security-auditor | Audit for vulnerabilities |
| Large refactoring | explore + general-purpose | Map dependencies, plan phases |
Report to user:
"Subagent assessment: [Will use X agent for Y task] or [No subagents needed - straightforward implementation]"
CRITICAL: Scan the issue body for TDD requirements.
TDD is REQUIRED if the issue contains ANY of these patterns:
test-driven-development skillSet workflow flags:
TDD_REQUIRED = true/false (based on pattern detection)
UI_AFFECTED = true/false (based on pattern detection below)
UI change detection — scan the issue for ANY of these signals:
frontend, ui, ux, design, css, styling, component, layout, responsive*.css, *.scss, *.tsx, *.jsx, components/, pages/, app/, styles/, public/, assets/If UI patterns detected:
"UI CHANGE DETECTED: This issue affects the user interface. Browser confirmation will be required before completion."
If TDD patterns detected:
"TDD DETECTED: This issue explicitly requires Test-Driven Development."
git checkout main
git pull origin main
If conflicts or errors: Report and STOP.
Determine branch type from issue labels:
bug label → fix/documentation label → docs/enhancement or feature label → feature/feature/Create branch:
# Format: <type>/<issue-number>-<short-description>
# Example: feature/198-email-reminders
git checkout -b <type>/<issue-number>-<kebab-case-description>
Branch name rules:
Detect the project's build command. Check for:
package.json in the project root or common subdirectories — use npm run buildMakefile — use make build# Run from the project root (or appropriate app directory)
npm run build
If build fails:
"Build is failing on main. This is a pre-existing issue." Show errors and ask: "Continue anyway or fix first?"
If build passes: Record success.
If no build system found: Skip and note "No build step detected."
Detect the project's test command. Check for:
package.json with a test script — use npm testpytest.ini or pyproject.toml — use pytestnpm test 2>&1 | tail -20
Record:
If no test system found: Skip and note "No test runner detected."
If TDD_REQUIRED = true:
============================================
TDD ENFORCEMENT ACTIVE
============================================
Issue: #[number] - [title]
Branch: [branch-name]
Base: main @ [commit-hash]
Baseline Status:
Build: [PASS/FAIL/SKIPPED]
Tests: [X passing, Y failing / SKIPPED]
THIS ISSUE REQUIRES TEST-DRIVEN DEVELOPMENT
The issue explicitly requires TDD. You MUST:
1. Write a failing test FIRST (RED)
2. Watch the test fail
3. Write minimal code to pass (GREEN)
4. Refactor while keeping tests green
5. Repeat for each feature/behavior
DO NOT write implementation code before tests.
DO NOT skip the "watch it fail" step.
Invoking test-driven-development skill now...
============================================
Then IMMEDIATELY invoke the test-driven-development skill.
After TDD skill completes, show issue details:
Issue Details:
---
[Issue body/description]
---
Ready to begin TDD workflow. Start with your first failing test.
If TDD_REQUIRED = false:
============================================
READY TO START WORK
============================================
Issue: #[number] - [title]
Branch: [branch-name]
Base: main @ [commit-hash]
Baseline Status:
Build: [PASS/FAIL/SKIPPED]
Tests: [X passing, Y failing / SKIPPED]
Next Steps:
1. Review the issue requirements below
2. Plan your implementation approach
3. Consider TDD for new features (recommended)
4. Implement the feature
5. If UI_AFFECTED: Confirm changes visually in the browser (see Step 11)
6. Run /ship-it when complete
Issue Details:
---
[Issue body/description]
---
============================================
This step is MANDATORY when UI_AFFECTED = true. Do not skip it. Do not ship without it.
When implementation is complete and the dev server is running, use the Claude in Chrome browser tools to visually verify the changes:
Get browser context:
tabs_context_mcp to see current browser statenavigate or create a new tab with tabs_create_mcpCapture the current state:
read_page to take a screenshot of each affected page/componentConfirm with the user:
"Here's how the UI looks after the changes. Does this match what you expected?"
If the user requests adjustments:
If the user approves:
"UI confirmed. Ready to /ship-it."
Rules:
UI_AFFECTED = true, even if the code change seems trivialThe following patterns in the issue body trigger TDD enforcement:
| Pattern | Example |
|---|---|
| Explicit requirement | "TDD Required", "Test-Driven Development Required" |
| Skill reference | "invoke the test-driven-development skill" |
| Workflow markers | "RED:", "GREEN:", "REFACTOR:" in testing context |
| Process instructions | "Write tests FIRST", "Write failing test" |
| Section headers | "## TDD Workflow", "### TDD Workflow" |
| Critical markers | "CRITICAL: Test-Driven Development" |
When in doubt, assume TDD is required for:
| Error | Action |
|---|---|
| Uncommitted changes | STOP - user must commit/stash first |
| Issue not found | STOP - verify issue number |
| Git pull fails | STOP - report conflict |
| Build fails | WARN - note baseline, ask to continue |
| Tests fail | WARN - note baseline failures, continue |
| TDD required but skipped | BLOCK - do not allow implementation without TDD |
| UI affected but not confirmed | BLOCK - do not /ship-it without browser confirmation or explicit user approval |
isolation: "worktree" on the Task tool if workspace isolation is needed for parallel agents)