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

lightweight-task-workflow轻量级任务工作流程

Agent Skill

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

总安装

353

周安装

15

GitHub Stars

305

下载量

124
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:lightweight-task-workflow(轻量级任务工作流程)
来源仓库:https://github.com/ntcoding/claude-skillz
仓库路径:skills/lightweight-task-workflow
安装命令:
npx skills add https://github.com/ntcoding/claude-skillz --skill lightweight-task-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ntcoding/claude-skillz --skill lightweight-task-workflow

简介

lightweight-task-workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 适用于研究检索类任务,可结合来源仓库和原始 README 核验具体用法。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和维护状态。
  • 安装前建议检查是否会触发联网、命令执行或文件读写等操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Lightweight Task Workflow

🚨 CRITICAL: YOU MUST FOLLOW THE STATE MACHINE BELOW 🚨

🚨 EVERY SINGLE MESSAGE MUST START WITH: 🔵 STATE: [STATE_NAME] 🚨

NOT JUST THE FIRST MESSAGE. EVERY. SINGLE. MESSAGE.

When you read a file - prefix with state. When you run a command - prefix with state. When you explain something - prefix with state. When you ask a question - prefix with state.

Example:

🔵 STATE: WORKING
Reading requirements.md...

🔵 STATE: WORKING
I can see the requirements specify...

🔵 STATE: WORKING
Now running tests...

🔵 STATE: WORKING
Test results show...

This skill is a persistent todo list based on 3 files in .claude/: tasks.md (checklist), requirements.md (specs), session.md (current state).

When user says "continue", you MUST:

  1. Run pwd to check current working directory
  2. Announce 🔵 STATE: CHECK_STATUS
  3. Read .claude/session.md from the current project directory
  4. Follow the state machine below based on the Status field

STATE MACHINE:

                         user: "continue"
                                ↓
                       ┌────────────────┐
                   ┌───│ CHECK_STATUS   │←──────────┬──────────┐
                   │   │ Read session.md│           │          │
                   │   └────────┬───────┘           │          │
                   │            │                   │          │
        Status=    │            │ Status=           │          │
        "Complete" │            │ "in progress"     │          │
                   │            │                   │          │
                   ↓            ↓                   │          │
           ┌───────────┐  ┌──────────────┐         │          │
           │ AWAITING_ │  │ WORKING      │←────┐   │          │
           │ COMMIT    │  │              │     │   │          │
           │           │  │ Read:        │     │   │          │
           │ Ask       │  │ requirements │     │   │          │
           │ permission│  │ tasks.md     │     │   │          │
           │ STOP      │  │              │     │   │          │
           └─────┬─────┘  │ Write:       │     │   │          │
                 │        │ session.md   │     │   │          │
       user: yes │        └──────┬───────┘     │   │          │
                 │               │             │   │          │
                 │               │ task done   │   │          │
                 │               │             │   │          │
                 │               ↓             │   │          │
                 │        ┌──────────────┐     │   │          │
                 │        │ VERIFY       │     │   │          │
                 │        │              │     │   │          │
                 │        │ Run steps    │     │   │          │
                 │        │ from         │─────┘   │          │
                 │        │ requirements │ fail    │          │
                 │        └──────┬───────┘         │          │
                 │               │                 │          │
                 │               │ pass            │          │
                 │               │                 │          │
                 │               ↓                 │          │
                 │        ┌──────────────┐         │          │
                 │        │ COMPLETE     │         │          │
                 │        │              │         │          │
                 │        │ Write:       │         │          │
                 │        │ session.md   │         │          │
                 │        │ Status=      │─────────┘          │
                 │        │ "Complete"   │                    │
                 │        └──────────────┘                    │
                 │                                            │
                 ↓                                            │
           ┌──────────────────┐                              │
           │ MARK_TASK_       │                              │
           │ COMPLETE         │                              │
           │                  │                              │
           │ Write: tasks [x] │                              │
           │ Write: session.md│──────────────────────────────┘
           │ (next task)      │
           └──────────────────┘

🚨 STATE DEFINITIONS - FOLLOW EXACTLY 🚨

CHECK_STATUS:

ACTIONS:
1. Run pwd
2. Read .claude/session.md
3. Look at Status field
4. IF Status="Complete" OR "ready to commit" → Go to AWAITING_COMMIT
5. IF Status="in progress" OR missing → Go to WORKING

DO NOT: Read other files, launch agents, do anything except route
IF ERROR: STOP and tell user what failed

AWAITING_COMMIT:

ACTIONS:
1. Say: "Task X is complete. May I mark Task X as complete in tasks.md?"
2. STOP - wait for user response
3. IF user says yes → Go to MARK_TASK_COMPLETE
4. IF user says no → STOP, await further instruction

DO NOT: Read files, launch agents, work on next task, do anything except ask permission and STOP
IF ERROR: STOP and tell user what failed

MARK_TASK_COMPLETE:

ACTIONS:
1. Write tasks.md: Change [ ] to [x] for current task
2. Write session.md: Update to next task with Status="in progress"
3. Go to CHECK_STATUS

DO NOT: Read other files, launch agents, research next task
IF ERROR (e.g., plan mode, can't write): Say "I cannot edit files: [reason]" and STOP
NEVER try alternative actions if write fails

WORKING:

REMINDER: EVERY message in this state must start with: 🔵 STATE: WORKING

ACTIONS:
1. Read requirements.md
2. Read tasks.md
3. Work on current task
4. Update session.md after TDD cycles
5. When task done → Go to VERIFY

EVERY message you send while WORKING must have the state prefix.
When you read a file → prefix with state
When you run tests → prefix with state
When you explain results → prefix with state

DO NOT: Skip to next task, work on multiple tasks
IF ERROR: Document in session.md as blocker, STOP

VERIFY:

REMINDER: EVERY message in this state must start with: 🔵 STATE: VERIFY

ACTIONS:
1. Read Verification section from requirements.md
2. Run all verification commands
3. IF all pass → Go to COMPLETE
4. IF any fail → Go to WORKING (treat as blocker)

EVERY message you send while VERIFYING must have the state prefix.

DO NOT: Skip verification, claim complete without running checks
IF ERROR running verification: STOP and tell user

COMPLETE:

ACTIONS:
1. Write session.md: Set Status="Complete"
2. Go to CHECK_STATUS

DO NOT: Read files, launch agents, ask permission (that happens in AWAITING_COMMIT)
IF ERROR writing: STOP and tell user

CRITICAL: State Announcements

ALL messages MUST be prefixed with your current state.

Format:

**🔵 STATE: [STATE_NAME]**

[Your message here]

When transitioning:

**🟢 TRANSITION: [STATE_A] → [STATE_B]**

Example:

**🔵 STATE: CHECK_STATUS**

Reading session.md to check current task status...

**🟢 TRANSITION: CHECK_STATUS → AWAITING_COMMIT**

**🔵 STATE: AWAITING_COMMIT**

Task 2 is complete and ready for you to commit. May I mark Task 2 as complete in tasks.md?

When to Use This Skill

Activate when the user:

  • Says "create a plan", "setup tasks", "new task list"
  • Says "continue", "continue plan", "resume work", "where were we"
  • Is working on multi-step projects that span multiple sessions

⚠️ CRITICAL: Task Management System

THIS SKILL REPLACES Claude Code's built-in TodoWrite functionality.

NEVER use the following tools:

  • ❌ TodoWrite
  • ❌ TodoRead
  • ❌ Any built-in todo/task tracking features

ALWAYS use this skill's files instead:

  • .claude/tasks.md for task checklists
  • .claude/requirements.md for plans and implementation specs
  • .claude/session.md for session context and recovery

Why this matters: Using TodoWrite creates workflow conflicts. The built-in todo system stores tasks in internal state (not visible as files), causing the plan to be lost in chat history instead of persisted in .claude/requirements.md. This prevents session continuity and defeats the purpose of this skill.

If you find yourself wanting to use TodoWrite, STOP and use this skill's files instead.

Files This Skill Manages

IMPORTANT PATH GUIDANCE:

  • This skill's definition files (SKILL.md, CLAUDE.md, README.md) live in ~/.claude/skills/lightweight-task-workflow/
  • The task files are created in THE PROJECT'S.claude/ directory, NOT the skill directory
  • Example: If working on project <project-root>/, task files go in <project-root>/.claude/
  • Always use relative paths from the project root: ./.claude/tasks.md, ./.claude/requirements.md, ./.claude/session.md
  • NEVER read from ~/.claude/skills/lightweight-task-workflow/tasks.md (that's the skill directory, not the project directory)

.claude/tasks.md - the task checklist (in the PROJECT directory)

- [ ] Task 1: Extract UserService
- [x] Task 2: Add tests

.claude/requirements.md - implementation specs and guidelines

## Global Guidelines
- Preserve existing API contracts - no breaking changes
- Add logging for error cases
- Follow repository's existing code style

## Verification & Definition of Done
Before marking any task complete, the following must pass:
- `npm test` - all tests must pass
- `npm run lint` - no lint errors
- `npm run build` - build must succeed

## Task 1: Extract UserService
- Move all user-related methods from AppService to new UserService
- Keep existing method signatures for backward compatibility
- Update dependency injection in app.module.ts

## Task 2: Add tests
- Cover happy path and error cases
- Include edge cases for null/undefined inputs
- Mock external dependencies

.claude/session.md - session recovery context

**Current Task:** Task 3
**Status:** in progress

## What's Done
- Task 1: Extracted UserService (commit a1b2c3d)
- Task 2: Added tests (commit e4f5g6h)

## Next Steps
1. Finish Task 3: Update documentation

## Context
- Using yarn for builds
- Commands: ./verify.sh

Behavior

When User Says "Create a Plan" or "Setup Tasks"

FIRST: Remember you are NOT using TodoWrite. Use this skill's.claude/ files exclusively.

  1. Ask user to describe their tasks
  2. Ask user about implementation approach:

- "What requirements or guidelines should I know for implementing these tasks?" - "Are there testing/quality standards I should follow?" - "Any architectural constraints or patterns to follow?" - "What verification must pass before marking a task complete?" (e.g., npm test,./verify.sh, build, lint, manual review) - Capture their answers - these become the implementation specs

  1. Create .claude/tasks.md with numbered checklist - format: - [] Task 1: [exact user wording], - [] Task 2: [exact user wording], etc.
  2. Create .claude/requirements.md with:

- Global Guidelines section (testing, commands, patterns) - Verification & Definition of Done section (commands/checks that must pass) - Per-task requirements (one section per task with specs)

  1. Create .claude/session.md initialized to Task 1 with Status="in progress"
  2. Confirm setup complete

After setup: You enter the state machine at CHECK_STATUS with session.md showing Task 1 Status="in progress"

When User Says "Continue" or "Resume"

Start at CHECK_STATUS state: Read session.md and route based on Status field. Follow the state machine at the top of this file.

What to Track in requirements.md

Include: Global guidelines, Verification & Definition of Done (user can edit anytime), per-task requirements, learnings/edge cases discovered.

NOT for: Progress notes, debugging notes, code changes (that's git).

What to Track in session.md

Update at 4 triggers: (1) Start task, (2) End of TDD cycle (one line), (3) Hit blocker, (4) Complete task.

Include: Current task/status, completed tasks with commits, brief progress notes, blockers, next steps.

NOT for: Every change, file paths, verbose explanations.

Anti-Patterns: What NOT to Do

❌ WRONG: Investigating Codebase to Figure Out Progress

User: "continue"
Claude: *Reads tasks.md*
Claude: "Let me investigate the codebase to understand what's already been done"
Claude: *Searches through 10+ files, runs git log, checks test files*
Claude: *Wastes 2 minutes and 5000 tokens figuring out current state*
Claude: "I can see Task 1 was completed, let me start on Task 2..."

Problem: Wasted time and tokens. All that information was already in session.md.

✅ RIGHT: Reading session.md to Know Current State

User: "continue"
Claude: *Runs pwd*
Claude: "🔵 STATE: CHECK_STATUS"
Claude: *Reads session.md FIRST*
Claude: "Status shows 'in progress'. Routing to WORKING."
Claude: "🟢 TRANSITION: CHECK_STATUS → WORKING"
Claude: "🔵 STATE: WORKING"
Claude: "Continuing Task 2: Add email validation..."

Result: Instant context, no wasted time, exactly where to resume. That's the whole point of session.md.

❌ WRONG: Skipping Verification

Claude: *Completes task implementation*
Claude: "Task 1 is complete and ready for you to commit"
Claude: "May I mark this task as complete?"
*User commits and deploys*
*Build breaks in CI - test failures, lint errors discovered*

Problem: Introduced regressions, broken build, wasted time debugging issues that should have been caught before claiming "complete."

✅ RIGHT: Running Verification Before Completion

Claude: *Completes task implementation*
Claude: *Reads requirements.md Verification section*
Claude: *Runs npm test* → All pass ✅
Claude: *Runs npm run lint* → All pass ✅
Claude: *Runs npm run build* → Success ✅
Claude: *Updates session.md: "Task 1 complete - all verification passed"*
Claude: "Task 1 is complete, all verification passed (tests/lint/build), ready for you to commit"

Result: Confidence that task is truly complete, no regressions introduced, ready for production.

❌ WRONG: Creating Git Commits

Claude: *Completes task implementation*
Claude: *Runs git add .*
Claude: *Runs git commit -m "Add UTF-8 correction table"*
Claude: "I've committed the changes"

Problem: User loses control over commits - can't review changes, adjust commit message, or stage selectively.

✅ RIGHT: Handing Off for User to Commit

Claude: *Completes task implementation*
Claude: *Updates .claude/session.md: "Task 1 complete - UTF-8 correction ready for commit"*
Claude: "Task 1 is complete and ready for you to commit. The changes include..."
Claude: "May I mark this task as complete in tasks.md?"

Result: User reviews changes, creates commit with their preferred message and staging, maintains full git control.

❌ WRONG: Auto-Advancing to Next Task

Claude: "Task 1 is complete, verification passed, ready for you to commit"
Claude: "May I mark this task as complete?"
Claude: "Let me explore the codebase to understand Task 2: Add email validation..."
Claude: *Launches Plan agent for Task 2*

Problem: User doesn't have time to review Task 1, commit changes, or decide when to proceed. Claude rushes ahead without permission.

✅ RIGHT: Stopping After Task Complete

Claude: "Task 1 is complete, verification passed, ready for you to commit"
Claude: "May I mark this task as complete in tasks.md?"
Claude: *Waits for user response*
User: *Reviews changes, creates commit*
User: "continue"
Claude: *Reads session.md, sees Status="Complete", routes to AWAITING_COMMIT*
Claude: "Task 1 is complete. May I mark it [x]?"
User: "yes"
Claude: *Updates tasks.md, updates session.md to Task 2 Status="in progress"*
User: "continue"
Claude: *Reads session.md, sees Task 2 Status="in progress", routes to WORKING*

Result: User controls the pace, reviews and commits when ready, decides when to proceed to next task.

Troubleshooting: Common Path Mistakes

Symptom: "Error reading file" when trying to continue tasks

Likely cause: You're looking in the skill directory instead of the project directory

Fix:

  1. Run pwd to check current working directory
  2. Look for .claude/ subdirectory in the project root
  3. Read from ./.claude/tasks.md, NOT ~/.claude/skills/lightweight-task-workflow/tasks.md
  4. Remember: skill definition ≠ task files

Example:

  • ❌ WRONG: Reading ~/.claude/skills/lightweight-task-workflow/tasks.md (skill directory)
  • ✅ RIGHT: Reading ./.claude/tasks.md or <project-root>/.claude/tasks.md (project directory)

Important Rules

  • ALWAYS prefix EVERY SINGLE MESSAGE with your state - Not just when entering a state. EVERY message. When you read a file, when you run a command, when you explain something - ALL messages start with 🔵 STATE: [STATE_NAME]
  • ALWAYS run pwd first - Check current working directory before reading files
  • ALWAYS follow the state machine - Start at CHECK_STATUS, route based on Status field from session.md
  • NEVER use TodoWrite, TodoRead, or Claude Code's built-in todo features - This skill replaces them entirely
  • NEVER create git commits - User handles all commits
  • NEVER auto-advance to next task - STOP and wait for user
  • ALWAYS run verification from requirements.md before claiming complete
  • ALWAYS read task files from PROJECT's .claude/ directory, not skill directory
  • Preserve user's exact wording when creating tasks
  • Always ask permission before marking tasks complete
  • Update requirements.md when discovering new constraints

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.55%
按下载量换算43

Claude

28.79%
按下载量换算36

Cursor

18.09%
按下载量换算22

Gemini CLI

10.64%
按下载量换算13

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills