[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C2XBT2Z0MKSARK2AD9EMCZ":3,"skill-same:01M6C2XBT2Z0MKSARK2AD9EMCZ":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":13,"ownerHtmlUrl":49,"ownerBlogUrl":13,"ownerDescription":13,"updatedAt":50,"install":51,"resources":64},"01M6C2XBT2Z0MKSARK2AD9EMCZ","autonomous-execution","自主执行操作指南","Guidelines for autonomous execution in automation\u002Forchestration contexts","面向自动化\u002F编排场景的自主执行指南。","jleechanorg\u002Fjleechan-skills","jleechanorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F221404966?v=4","01M6C1VJ99XG950X1DWPEBCBGX",null,"01M6C1VJDK5YVDNT3362RT5WSB",6,"MIT","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002Flegacy-pre-2026-08-27\u002Fpackages\u002Fautonomous-execution\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BSFHC0DJXKNN0QBZDDS4K9","定时任务与自动化编排","SCENARIO","使用场景",[30,31,32,33,34,35,36,37,38],"execution","autonomous","autonomous execution","orchestration","automation","guidelines","project","usage","for","2026-11-10 10:12:30",false,"---\ndescription: Guidelines for autonomous execution in automation\u002Forchestration contexts\ntype: usage\nscope: project\n---\n\n# Autonomous Execution Guidelines\n\n## Purpose\nProvide clear guidelines for agents running in autonomous automation contexts (tmux sessions, background agents, orchestration workflows) where human interaction is not available.\n\n## Activation cues\n- Running in tmux session spawned by orchestration system\n- Executing as part of automated PR fixing (fixpr, fixcomment workflows)\n- Background agent tasks with no interactive terminal\n- Any automation context where asking questions blocks progress\n\n## Core Principle\n\n**Success = Remote commits pushed**\n\nIn autonomous contexts:\n- Exit 0 without commits = FAILURE\n- Asking questions without proceeding = FAILURE\n- Stopping for user input = FAILURE\n\n## Critical Rules for Autonomous Execution\n\n### 1. Git Dirty State Handling\n\n**If you encounter unexpected staged changes or modified files after checkout:**\n\n```bash\n# Step 1: Inspect to understand context\ngit status\ngit diff --stat\n\n# Step 2: Decide based on context\n# - Previous failed run artifacts? → Clean\n# - Irrelevant files (.beads\u002F, temp files)? → Clean\n# - Related to current PR? → Inspect and integrate\n\n# Step 3: Clean automatically (NEVER ask user)\ngit reset --hard origin\u002F\u003Cbranch-name>\ngit clean -fd\n\n# Step 4: Proceed with task\n```\n\n**CRITICAL**: \n- ✅ ALWAYS handle dirty state automatically\n- ✅ Clean and proceed, don't block\n- ❌ NEVER ask \"Do you want me to keep\u002Fstash\u002Fdiscard?\"\n- ❌ NEVER stop with \"Per instructions, I have to stop\"\n\n### 2. Decision Making\n\n**Make autonomous decisions within task scope:**\n\n- ✅ Clean dirty git state automatically\n- ✅ Choose between equivalent approaches\n- ✅ Fix obvious issues without confirmation\n- ✅ Determine which tests to run\n- ✅ Decide commit message phrasing\n\n**Only ask questions for:**\n- ❓ Ambiguous requirements affecting correctness\n- ❓ Multiple valid architectural approaches with tradeoffs\n- ❓ User preference choices that impact UX\n\n**NEVER ask about:**\n- ❌ Operational details (git state, temp files, etc.)\n- ❌ Obvious bug fixes\n- ❌ Standard code formatting\u002Fstyle choices\n- ❌ Test execution strategy\n\n### 3. Working Directory Assumptions\n\n**In automation contexts, assume:**\n\n- Working directory is temporary (`\u002Ftmp\u002Fyour-project.com\u002Fpr-*`)\n- Dirty state is safe to clean\u002Freset\n- Previous run artifacts can be discarded\n- No valuable uncommitted work exists\n\n**Therefore:**\n- Clean aggressively without asking\n- Reset to clean state if uncertain\n- Focus on completing task, not preserving unknown state\n\n### 4. Error Recovery\n\n**When encountering issues:**\n\n```python\n# WRONG: Stop and ask\n\"I hit an error. Should I retry or abort?\"\n\n# RIGHT: Attempt recovery automatically\ntry_alternative_approach()\nif still_fails:\n    log_error_and_exit_1()  # Let orchestration system handle fallback\n```\n\n### 5. Success Criteria\n\n**Only exit 0 if:**\n- ✅ Remote commits pushed to PR branch\n- ✅ All requested changes implemented\n- ✅ Tests pass (if required by task)\n\n**Exit 1 if:**\n- ❌ Unable to make commits due to technical issue\n- ❌ Tests fail and cannot be fixed\n- ❌ Actual blocker preventing completion\n\n**NEVER:**\n- ❌ Exit 0 after asking question without proceeding\n- ❌ Exit 0 with \"I need more information to continue\"\n- ❌ Exit 0 with \"waiting for user response\"\n\n## Examples\n\n### ✅ CORRECT: Autonomous Dirty State Handling\n\n```bash\n# Agent encounters dirty state\ngit status\n# On branch feature-x\n# Changes not staged for commit:\n#   modified: $PROJECT_ROOT\u002Fagents.py\n#   modified: .beads\u002Fissues.jsonl\n\n# Agent analyzes context\ngit diff --stat\n# $PROJECT_ROOT\u002Fagents.py | 2 +-\n# .beads\u002Fissues.jsonl | 1 +\n\n# Agent decides: artifacts from previous run, safe to clean\ngit reset --hard origin\u002Ffeature-x\ngit clean -fd\n\n# Agent proceeds with task\ngh pr checkout 123\n# ... continues fixing PR\n# ... makes commits\ngit push\n# ✅ Exit 0 with commits made\n```\n\n### ❌ WRONG: Stopping to Ask\n\n```bash\n# Agent encounters dirty state\ngit status\n# Changes not staged for commit:\n#   modified: $PROJECT_ROOT\u002Fagents.py\n\n# Agent stops and asks\n\"I hit unexpected local changes. Per instructions, I have to stop.\nDo you want me to: 1) keep, 2) stash, 3) discard?\"\n\n# ❌ Exit 0 without making commits\n# This is a FAILURE in automation context\n```\n\n### ✅ CORRECT: Autonomous Decision Making\n\n```bash\n# Agent fixing PR with multiple test failures\n\n# Analyzes failures\n.\u002Frun_tests.sh $PROJECT_ROOT\u002Ftests\u002Ftest_agents.py\n# FAILED: test_faction_enablement (wrong field name)\n# FAILED: test_minigame_settings (wrong field name)\n\n# Makes autonomous decisions\n# - Both failures: same root cause (factionMinigameEnabled → faction_minigame_enabled)\n# - Fix: change all instances to snake_case\n# - Tests to run: test_agents.py (directly affected)\n\n# Implements fix\nEdit $PROJECT_ROOT\u002Fagents.py (change field names)\nEdit $PROJECT_ROOT\u002Ftests\u002Ftest_agents.py (change test field names)\n\n# Verifies\n.\u002Frun_tests.sh $PROJECT_ROOT\u002Ftests\u002Ftest_agents.py\n# ✅ All tests pass\n\n# Commits and pushes\ngit add -A\ngit commit -m \"[codex-automation-commit] fix PR #4018: correct field name to faction_minigame_enabled\"\ngit push\n# ✅ Exit 0 with commits made\n```\n\n## Integration with Other Skills\n\n- **pr-workflow-manager**: Use PR workflow best practices, but handle dirty state autonomously\n- **receiving-code-review**: Implement feedback, clean state automatically\n- **build-test-lint-autopilot**: Run tests, decide which to execute autonomously\n\n## Monitoring and Debugging\n\nWhen running autonomously, provide clear logging:\n\n```bash\necho \"[AUTONOMOUS] Detected dirty state, cleaning automatically\"\necho \"[AUTONOMOUS] Decided to reset to origin\u002Fbranch-name\"\necho \"[AUTONOMOUS] Proceeding with PR fixes after clean\"\n```\n\nThis helps debugging while maintaining autonomous execution.\n\n## Summary\n\n**In autonomous contexts:**\n1. Handle dirty state automatically (clean and proceed)\n2. Make decisions within task scope\n3. Only exit 0 if commits are pushed\n4. Never stop to ask operational questions\n5. Provide clear logging for debugging\n\n**Remember**: Automation contexts have no human watching. Asking questions = blocking forever = failure.\n","# Autonomous Execution Guidelines\n\n## Purpose\nProvide clear guidelines for agents running in autonomous automation contexts (tmux sessions, background agents, orchestration workflows) where human interaction is not available.\n\n## Activation cues\n- Running in tmux session spawned by orchestration system\n- Executing as part of automated PR fixing (fixpr, fixcomment workflows)\n- Background agent tasks with no interactive terminal\n- Any automation context where asking questions blocks progress\n\n## Core Principle\n\n**Success = Remote commits pushed**\n\nIn autonomous contexts:\n- Exit 0 without commits = FAILURE\n- Asking questions without proceeding = FAILURE\n- Stopping for user input = FAILURE\n\n## Critical Rules for Autonomous Execution\n\n### 1. Git Dirty State Handling\n\n**If you encounter unexpected staged changes or modified files after checkout:**\n\n```bash\n# Step 1: Inspect to understand context\ngit status\ngit diff --stat\n\n# Step 2: Decide based on context\n# - Previous failed run artifacts? → Clean\n# - Irrelevant files (.beads\u002F, temp files)? → Clean\n# - Related to current PR? → Inspect and integrate\n\n# Step 3: Clean automatically (NEVER ask user)\ngit reset --hard origin\u002F\u003Cbranch-name>\ngit clean -fd\n\n# Step 4: Proceed with task\n```\n\n**CRITICAL**: \n- ✅ ALWAYS handle dirty state automatically\n- ✅ Clean and proceed, don't block\n- ❌ NEVER ask \"Do you want me to keep\u002Fstash\u002Fdiscard?\"\n- ❌ NEVER stop with \"Per instructions, I have to stop\"\n\n### 2. Decision Making\n\n**Make autonomous decisions within task scope:**\n\n- ✅ Clean dirty git state automatically\n- ✅ Choose between equivalent approaches\n- ✅ Fix obvious issues without confirmation\n- ✅ Determine which tests to run\n- ✅ Decide commit message phrasing\n\n**Only ask questions for:**\n- ❓ Ambiguous requirements affecting correctness\n- ❓ Multiple valid architectural approaches with tradeoffs\n- ❓ User preference choices that impact UX\n\n**NEVER ask about:**\n- ❌ Operational details (git state, temp files, etc.)\n- ❌ Obvious bug fixes\n- ❌ Standard code formatting\u002Fstyle choices\n- ❌ Test execution strategy\n\n### 3. Working Directory Assumptions\n\n**In automation contexts, assume:**\n\n- Working directory is temporary (`\u002Ftmp\u002Fyour-project.com\u002Fpr-*`)\n- Dirty state is safe to clean\u002Freset\n- Previous run artifacts can be discarded\n- No valuable uncommitted work exists\n\n**Therefore:**\n- Clean aggressively without asking\n- Reset to clean state if uncertain\n- Focus on completing task, not preserving unknown state\n\n### 4. Error Recovery\n\n**When encountering issues:**\n\n```python\n# WRONG: Stop and ask\n\"I hit an error. Should I retry or abort?\"\n\n# RIGHT: Attempt recovery automatically\ntry_alternative_approach()\nif still_fails:\n    log_error_and_exit_1()  # Let orchestration system handle fallback\n```\n\n### 5. Success Criteria\n\n**Only exit 0 if:**\n- ✅ Remote commits pushed to PR branch\n- ✅ All requested changes implemented\n- ✅ Tests pass (if required by task)\n\n**Exit 1 if:**\n- ❌ Unable to make commits due to technical issue\n- ❌ Tests fail and cannot be fixed\n- ❌ Actual blocker preventing completion\n\n**NEVER:**\n- ❌ Exit 0 after asking question without proceeding\n- ❌ Exit 0 with \"I need more information to continue\"\n- ❌ Exit 0 with \"waiting for user response\"\n\n## Examples\n\n### ✅ CORRECT: Autonomous Dirty State Handling\n\n```bash\n# Agent encounters dirty state\ngit status\n# On branch feature-x\n# Changes not staged for commit:\n#   modified: $PROJECT_ROOT\u002Fagents.py\n#   modified: .beads\u002Fissues.jsonl\n\n# Agent analyzes context\ngit diff --stat\n# $PROJECT_ROOT\u002Fagents.py | 2 +-\n# .beads\u002Fissues.jsonl | 1 +\n\n# Agent decides: artifacts from previous run, safe to clean\ngit reset --hard origin\u002Ffeature-x\ngit clean -fd\n\n# Agent proceeds with task\ngh pr checkout 123\n# ... continues fixing PR\n# ... makes commits\ngit push\n# ✅ Exit 0 with commits made\n```\n\n### ❌ WRONG: Stopping to Ask\n\n```bash\n# Agent encounters dirty state\ngit status\n# Changes not staged for commit:\n#   modified: $PROJECT_ROOT\u002Fagents.py\n\n# Agent stops and asks\n\"I hit unexpected local changes. Per instructions, I have to stop.\nDo you want me to: 1) keep, 2) stash, 3) discard?\"\n\n# ❌ Exit 0 without making commits\n# This is a FAILURE in automation context\n```\n\n### ✅ CORRECT: Autonomous Decision Making\n\n```bash\n# Agent fixing PR with multiple test failures\n\n# Analyzes failures\n.\u002Frun_tests.sh $PROJECT_ROOT\u002Ftests\u002Ftest_agents.py\n# FAILED: test_faction_enablement (wrong field name)\n# FAILED: test_minigame_settings (wrong field name)\n\n# Makes autonomous decisions\n# - Both failures: same root cause (factionMinigameEnabled → faction_minigame_enabled)\n# - Fix: change all instances to snake_case\n# - Tests to run: test_agents.py (directly affected)\n\n# Implements fix\nEdit $PROJECT_ROOT\u002Fagents.py (change field names)\nEdit $PROJECT_ROOT\u002Ftests\u002Ftest_agents.py (change test field names)\n\n# Verifies\n.\u002Frun_tests.sh $PROJECT_ROOT\u002Ftests\u002Ftest_agents.py\n# ✅ All tests pass\n\n# Commits and pushes\ngit add -A\ngit commit -m \"[codex-automation-commit] fix PR #4018: correct field name to faction_minigame_enabled\"\ngit push\n# ✅ Exit 0 with commits made\n```\n\n## Integration with Other Skills\n\n- **pr-workflow-manager**: Use PR workflow best practices, but handle dirty state autonomously\n- **receiving-code-review**: Implement feedback, clean state automatically\n- **build-test-lint-autopilot**: Run tests, decide which to execute autonomously\n\n## Monitoring and Debugging\n\nWhen running autonomously, provide clear logging:\n\n```bash\necho \"[AUTONOMOUS] Detected dirty state, cleaning automatically\"\necho \"[AUTONOMOUS] Decided to reset to origin\u002Fbranch-name\"\necho \"[AUTONOMOUS] Proceeding with PR fixes after clean\"\n```\n\nThis helps debugging while maintaining autonomous execution.\n\n## Summary\n\n**In autonomous contexts:**\n1. Handle dirty state automatically (clean and proceed)\n2. Make decisions within task scope\n3. Only exit 0 if commits are pushed\n4. Never stop to ask operational questions\n5. Provide clear logging for debugging\n\n**Remember**: Automation contexts have no human watching. Asking questions = blocking forever = failure.\n",{"type":37,"scope":36,"description":7},"main","42ccd02cbf5e8e47839dc3eab6fc754dc6b339cf",".claude\u002Fskills_archive\u002Flegacy-pre-2026-08-27\u002Fpackages\u002Fautonomous-execution",0,"https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills","https:\u002F\u002Fgithub.com\u002Fjleechanorg","2026-11-14 14:55:35",{"source":9,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add jleechanorg\u002Fjleechan-skills --skill autonomous-execution",{"tool":57,"command":58},"bunx","bunx skills add jleechanorg\u002Fjleechan-skills --skill autonomous-execution",{"tool":60,"command":61},"pnpm","pnpm dlx skills add jleechanorg\u002Fjleechan-skills --skill autonomous-execution","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002Flegacy-pre-2026-08-27\u002Fpackages\u002Fautonomous-execution\u002FSKILL.md",true,[65],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"reference\u002Fdetailed-stages.md","REFERENCE","参考文档",11265,"https:\u002F\u002Fgithub.com\u002FMuvon\u002Foctomind-tap\u002Fblob\u002Fmaster\u002Fskills\u002Fseo-guest-posting\u002Freference\u002Fdetailed-stages.md",[72,80,87,95,103,112],{"skillNo":73,"name":74,"nameZh":13,"description":75,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":79},"01M7DRVZXXMGY4G81K5GVF4V20","disk-reclaim-playbook","Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdisk-reclaim-playbook\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":81,"name":82,"nameZh":13,"description":83,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":79},"01M7B63PNTT2TY78RFKHD8SP3X","claudea-bench","Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fclaudea-bench\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":13,"description":90,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":94},"01M7622KQJ32AV4K5BXEMVSSEB","pr","Alias for the canonical pr-lifecycle PR workflow skill (\u002Fpr-workflow, \u002Fprw).","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpr\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":96,"name":97,"nameZh":13,"description":98,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":102},"01M7432W92AKC4D1TKJ00VCMMT","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwhisper\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":104,"name":105,"nameZh":13,"description":106,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":107,"licenseFileUrl":108,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":102},"01M7432T6BN1A9SHB8RBQR5EMP","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":13,"description":115,"descriptionZh":13,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":13,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":102},"01M7432NDC7S6C6MX7M6RW8CTT","pr-report","This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, \u002Fpr-report, or wants per-PR summary with delta files\u002Flines. Generates a structured report for one or more open PRs covering purpose, files changed, +\u002F− line counts, \u002Fcode-standards + \u002Fthermo review findings, \u002Fponytail simplification opportunities, file-overlap combination candidates, and \u002Fgreen status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.","https:\u002F\u002Fgithub.com\u002Fjleechanorg\u002Fjleechan-skills\u002Fblob\u002Fmain\u002F.claude\u002Fskills_archive\u002F2026-11-09-no-usage-evidence\u002Fpr-report\u002FSKILL.md",[],[]]