Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计异常

executing-tasks-from-any-source从任何来源执行任务

Agent Skill

executing-tasks-from-any-source 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

751

周安装

31

GitHub Stars

52

下载量

246
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:executing-tasks-from-any-source(从任何来源执行任务)
来源仓库:https://github.com/zenobi-us/dotfiles
仓库路径:skills/executing-tasks-from-any-source
安装命令:
npx skills add https://github.com/zenobi-us/dotfiles --skill executing-tasks-from-any-source
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/zenobi-us/dotfiles --skill executing-tasks-from-any-source

简介

从任何来源执行任务技能支持 GitHub 问题与记忆库工件的双源任务流转。

  • 能智能识别输入格式,统一处理不同来源的任务指令。
  • 适用于构建跨平台工具或切换同一项目的多种任务管理方式。
  • 需确保目标仓库具备读写权限,避免因访问限制中断执行。
  • executing-tasks-from-any-source 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Executing Tasks From Any Source

Overview

The /project:do:task workflow supports both GitHub issues and Basic Memory artifacts through intelligent source detection. This skill explains the dual-source execution pattern.

Core principle: Detect input format → Fetch from appropriate source → Execute unified workflow → Update both channels.

When to Use This Skill

  • Executing tasks from GitHub issues (traditional issue-based workflow)
  • Executing tasks from Basic Memory artifacts (Johnny Decimal format: 5.1.1-task-*)
  • Switching between task sources within the same project
  • Building tools/agents that need to support both task sources

Quick Reference: Source Detection

Input FormatExampleSourceWorktree Name
Issue number123 or #123GitHub APIfeature/123-auth-implementation
Johnny Decimal5.1.1-task-authBasic Memoryfeature/5.1.1-task-auth

Detection logic:

if [[ $ARGUMENTS =~ ^#?[0-9]+$ ]]; then
  # GitHub issue - pure digits with optional #
  ISSUE_NUM=$(echo $ARGUMENTS | tr -d '#')
  SOURCE="github"
elif [[ $ARGUMENTS =~ ^[0-9]+(\.[0-9]+)+.* ]]; then
  # Basic Memory artifact - Johnny Decimal format
  ARTIFACT_ID=$ARGUMENTS
  SOURCE="basicmemory"
else
  echo "Error: Invalid task format. Use GitHub issue (#123) or Johnny Decimal artifact (5.1.1-task-name)"
  exit 1
fi

GitHub Issue Execution Path

Step 1: Fetch Issue Details

# Fetch issue using GitHub CLI
gh issue view $ISSUE_NUM --json title,body,author,labels,assignees,linkedIssues

# Extract components:
# - Title: Issue headline
# - Body: Full description with acceptance criteria
# - Author: Original creator
# - Labels: Topic tags (feature, bug, etc)
# - Assignees: Current assignee
# - LinkedIssues: Related/parent issues

Step 2: Worktree Creation

Pass to using-git-worktrees skill:

feature_identifier: "{ISSUE_NUM}-{slug}"
Example: "123-add-user-authentication"

Step 3: Status Updates (In-Progress)

# Add in-progress label
gh issue edit $ISSUE_NUM --add-label "in-progress"

# Add comment
gh issue comment $ISSUE_NUM -b "Implementation started. Tracking in worktree."

# Remove ready/todo labels
gh issue edit $ISSUE_NUM --remove-label "ready,todo"

Step 4: Status Updates (Completed)

# Update labels
gh issue edit $ISSUE_NUM --remove-label "in-progress"
gh issue edit $ISSUE_NUM --add-label "completed"

# Add completion comment with PR link
gh issue comment $ISSUE_NUM -b "Completed in PR #{PR_NUMBER}. See changes above."

Basic Memory Artifact Execution Path

Artifact Structure

Tasks in Basic Memory use this structure:

---
title: "5.1.1-task-user-authentication"
folder: "5-tasks"
entity_type: "task"
entity_metadata:
  tags: ["authentication", "user-system"]
  status: "pending"
  priority: "high"
  epic_id: "2.1.1-epic-auth-system"
  dependencies: []
---

# Task: Implement User Authentication

## Description
Detailed task description...

## Acceptance Criteria
- [ ] Criterion 1
- [ ] Criterion 2

## Dependencies
- depends_on [[2.1.0-epic-auth-system]]

Step 1: Fetch Artifact Details

# Use basicmemory_read_note with Johnny Decimal lookup
# Tool extracts: title, content, frontmatter (status, epic_id, dependencies)
# from 5-tasks folder matching the artifact ID

# Frontmatter fields parsed:
# - status: "pending" | "in-progress" | "completed"
# - epic_id: Parent epic reference (e.g., "2.1.1-epic-auth")
# - priority: "high" | "medium" | "low"
# - dependencies: List of related artifacts

Step 2: Worktree Creation

Pass to using-git-worktrees skill:

feature_identifier: "{JOHNNY_DECIMAL}-{slug}"
Example: "5.1.1-task-user-authentication"

Step 3: Status Updates (In-Progress)

# Use basicmemory_edit_note to update frontmatter
basicmemory_edit_note(
  identifier: "5.1.1-task-auth",
  operation: "find_replace",
  find_text: "status: pending",
  content: "status: in-progress"
)

# Add implementation note
basicmemory_edit_note(
  identifier: "5.1.1-task-auth",
  operation: "append",
  content: "\n## Implementation Log\n- Started implementation in worktree\n"
)

Step 4: Status Updates (Completed)

# Update status to completed
basicmemory_edit_note(
  identifier: "5.1.1-task-auth",
  operation: "find_replace",
  find_text: "status: in-progress",
  content: "status: completed"
)

# Add PR link to artifact
basicmemory_edit_note(
  identifier: "5.1.1-task-auth",
  operation: "append",
  content: "\n- Completed in PR: https://github.com/repo/pulls/123\n"
)

Unified Workflow Steps (Apply to Both Sources)

Once task is fetched from its source, the remaining workflow is identical:

  1. Deep Technical Analysis (Step 2)

- Extract user story - Map acceptance criteria - Determine technical scope - Check dependencies - Consider edge cases

  1. System Impact Assessment (Step 3)

- Frontend changes needed? - Backend changes needed? - Database migrations? - Testing strategy?

  1. Human Validation Check (Step 4)

- Stop and ask if architectural decisions needed - Stop and ask if security/performance critical - Wait for explicit approval

  1. Implementation (Steps 6-12)

- Design test strategy - Plan implementation approach - Execute core implementation - Run comprehensive tests - Update documentation - Quality validation

  1. Completion (Steps 13-15)

- Update task status (source-specific) - Create pull request linking to task - Monitor code review - After merge: update parent issue/epic

Common Patterns

Pattern 1: Check task dependencies before starting

GitHub:

# Get linked issues that are blockers
gh issue view $ISSUE_NUM --json linkedIssues --jq '.linkedIssues[] | select(.url | contains("blocked"))'

Basic Memory:

# Read the artifact to find depends_on relations
basicmemory_read_note("5.1.1-task-auth")
# Check frontmatter: dependencies: [...] or look for "depends_on [[...]]" in content

Pattern 2: Get parent context

GitHub:

# Find linked parent issue (PRD/Feature)
gh issue view $ISSUE_NUM --json linkedIssues \
  | jq '.linkedIssues[] | select(.title | contains("Feature") or contains("PRD"))'

Basic Memory:

# Fetch parent epic using epic_id from frontmatter
basicmemory_read_note("2.1.1-epic-auth-system")

Pattern 3: Update related items after completion

GitHub:

# Update parent issue with progress
gh issue comment $PARENT_ISSUE_NUM -b "Completed task #{ISSUE_NUM}"

# Link completed task to parent
gh issue edit $ISSUE_NUM --add-label "merged"

Basic Memory:

# Update parent epic
basicmemory_edit_note(
  identifier: "2.1.1-epic-auth",
  operation: "append",
  content: "\n- Completed: [[5.1.1-task-user-authentication]]\n"
)

Error Handling

Invalid Task Format

if [[ ! $ARGUMENTS =~ ^(#?[0-9]+|[0-9]+(\.[0-9]+)+.*)$ ]]; then
  echo "❌ Invalid task format"
  echo "GitHub issue: 123 or #123"
  echo "Basic Memory: 5.1.1-task-name"
  exit 1
fi

GitHub Issue Not Found

if ! gh issue view $ISSUE_NUM 2>/dev/null; then
  echo "❌ GitHub issue #$ISSUE_NUM not found"
  echo "Check the issue number and try again"
  exit 1
fi

Basic Memory Artifact Not Found

if ! basicmemory_read_note($ARTIFACT_ID) 2>/dev/null; then
  echo "❌ Basic Memory artifact $ARTIFACT_ID not found in 5-tasks/"
  echo "Check the artifact ID matches Johnny Decimal format: N.N.N-task-*"
  exit 1
fi

Integration Points

Called by:

  • /project:do:task workflow (main entry point)
  • Agent task execution systems
  • Task queuing systems

Pairs with:

  • using-git-worktrees - Creates isolated workspace
  • executing-plans - For comprehensive implementation
  • subagent-driven-development - For delegated work
  • finishing-a-development-branch - For cleanup after completion

Best Practices

  1. Always verify task exists before starting workflow
  2. Check dependencies before implementing
  3. Use consistent worktree naming - helps with resumption
  4. Update status in source before creating worktree
  5. Document completion in both PR comment and task artifact
  6. Keep frontmatter clean - avoid manual formatting in Basic Memory
  7. Link related tasks - use relations/dependencies properly

Red Flags

Never:

  • Start implementation without fetching task details first
  • Ignore dependency warnings
  • Proceed with failing tests without asking
  • Forget to update task status when switching sources
  • Mix GitHub and Basic Memory references inconsistently

Always:

  • Detect source format before proceeding
  • Fetch complete task context
  • Verify dependencies before starting
  • Update task status at start and completion
  • Link PR to task in both channels

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

27.98%
按下载量换算69

Claude Code

23.31%
按下载量换算57

Antigravity

18.27%
按下载量换算45

Gemini CLI

14.13%
按下载量换算35

moltbot

7.99%
按下载量换算20

windsurf

3.83%
按下载量换算9

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills