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

project-long-task项目长期任务

Agent Skill

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

总安装

336

周安装

14

GitHub Stars

公开资料未说明

下载量

112
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/phlegonlabs/skills --skill project-long-task

简介

project-long-task 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。

  • 适用于长期项目跟踪、复杂任务拆解和资源调度等研究检索类任务场景。
  • 通过关键词输入和来源仓库路径,Agent 可自动提取并整理相关项目信息。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。
  • 需结合原始 README 进一步核验具体功能和使用限制,确保符合实际部署环境。

SKILL.md

Project Long Task

A structured workflow for long-running, milestone-based builds. This skill supports two modes:

  • Init mode — New project: collects requirements through an interactive interview, then generates a complete documentation scaffold that guides autonomous execution from planning through implementation.
  • Update mode — Existing project: collects requirements for a change through a focused interview, then updates the existing documentation to incorporate the change. Supports three update types:

- New Feature — Adding new functionality (3-8 interview rounds) - Bug Fix — Fixing issues that may change behavior or architecture (1-3 interview rounds) - Change — Requirement changes, refactors, tech migrations (2-5 interview rounds)

Why this structure works

Long-running tasks fail when context drifts or the executor loses track of what's done and what's next. This workflow prevents that by separating concerns into distinct documents that each serve a clear purpose:

  • A spec that never changes (what to build)
  • A plan that tracks progress (what's done, what's next)
  • Execution rules that enforce discipline (how to work)
  • Living docs that stay accurate (architecture + user docs)
  • A production readiness gate that ensures the final output is deployment-ready, not a demo or prototype

The interview phase is critical — it forces clarity before any code is written, which saves hours of rework later.

Mode Detection

At the start, detect which mode to use:

  1. Check if docs/architecture.md and docs/plans.md already exist in the project
  2. If both existUpdate mode (the project was previously initialized with this skill)
  3. If neither existsInit mode (new project)
  4. If only one exists → Potentially corrupted state. Inform the user which file is missing and ask: init from scratch (overwrite), or attempt update with incomplete docs?
  5. If ambiguous for other reasons, ask the user whether they are modifying the existing project or starting fresh

Complexity Tiers

After Step 2 (Project Goals), assess complexity and assign a tier. This determines interview depth, milestone count, and review scope throughout the entire workflow.

Default tier is Standard. Only downgrade to Lite if the user explicitly requests a simplified interview or the project is clearly trivial (e.g., a single-file script, a config wrapper). When in doubt, stay at Standard.

TierWhenTarget QuestionsInterview RoundsFollow-up CapMilestonesReview
LiteSingle-purpose tool, 1 role, no auth, no integrations — only if user explicitly requests simplified interview~107-9 base rounds (may condense Rounds 4-5, 8-9 but do NOT skip entirely)54-6Agent 1 + Agent 2
StandardDefault for all projects — most projects fall here~15All applicable rounds (full protocol; GUI ~10-11, CLI ~10-13 effective rounds)87-10Agent 1 + Agent 2 + Agent 3
ComplexMulti-role, multi-platform, integration-heavy, enterprise~25-30All applicable rounds (full protocol) + extended depth on architecture, security, scale2010-14Agent 1 + Agent 2 + Agent 3, then second-pass recheck

Announce the tier to the user after Step 2 and let them override it. Default assumption is Standard.

Workflow

Phase 1: Interactive Interview

Collect project information through an interactive conversation. See references/interview.md for the full interview protocol including all rounds, follow-up triggers, and examples.

Steps overview:

  1. Project Name — Ask the user for the project name
  2. Project Goals — Free-form description of what they're building, the problem, and target users
  3. Clarifying Questions — AI-driven discovery interview (rounds and depth determined by complexity tier, covering user journeys, components, tech stack finalization, UI/CLI preferences, and deployment). Adaptive follow-ups for ambiguities. Tech stack is locked during this step (Round 10.7).
  4. Tier Recheck — After all interview rounds, reassess tier based on what was discovered. If the project turned out more complex than initially assessed, upgrade the tier and announce the change to the user.
  5. Synthesis & Confirmation — Present a complete project summary for user approval before generating docs

Phase 2: Generate Documentation

After confirmation, create the docs/ directory and generate all documents. See references/templates.md for the full templates and structure of each file.

Documents generated:

  • docs/architecture.md — Single source of truth: project background, user journeys, components, product spec, technical architecture
  • docs/plans.md — Execution plan with milestones, sub-tasks, acceptance criteria, verification commands
  • docs/implement.md — Non-negotiable execution rules for disciplined autonomous work
  • docs/secrets.md — Secrets & API keys guidance (env vars + safe key handling)
  • docs/documentation.md — User-facing documentation, kept in sync with reality
  • CLAUDE.md + AGENT.md — Quick-reference files for AI coding tools (identical content, under 120 lines)

Phase 2.5: Multi-Agent Documentation Review

Launch a multi-agent review team to validate documentation quality, consistency, and completeness. See references/review.md for the full review protocol and agent definitions. If multi-agent spawning isn't available in your environment, run the same checklists sequentially as a self-review.

Review agents:

  • Agent 1 — Architecture & Spec Reviewer (validates architecture.md completeness)
  • Agent 2 — Plans & Milestones Reviewer (validates plans.md coverage and ordering)
  • Agent 3 — Execution Rules & Cross-doc Consistency Reviewer (validates all docs are consistent)

Fix all issues found, then proceed.

Phase 3: Next Steps

After review, tell the user:

  1. The docs are ready at docs/
  2. Suggest they review docs/architecture.md and docs/plans.md
  3. Explain they can start execution by feeding docs/implement.md as instructions
  4. Mention they can adjust milestone count/scope in docs/plans.md before starting
  5. Emphasize: The final milestone is a Production Readiness Gate — the project is NOT considered complete until it passes all production-readiness checks. Every milestone builds toward a production-grade deliverable, not a demo or prototype.

Update Mode (modifying an existing project)

When mode detection determines Update mode, follow this lighter workflow instead of the full Init flow. See references/interview.md § "Update Mode Interview" for the full protocol.

Update Phase 1: Context Loading

  1. Read all existing docs: docs/architecture.md, docs/plans.md, docs/implement.md, docs/secrets.md, docs/documentation.md
  2. Identify: current milestone progress, existing features, tech stack, established patterns
  3. Briefly summarize the project's current state to the user to confirm alignment

Update Phase 1.5: Update Type Classification

Ask the user what kind of change they're making, or infer from their description:

TypeWhenInterview RoundsFollow-up Cap
New FeatureAdding new functionality to the project3-8 rounds (F1-F8)8-15
Bug FixFixing a bug that may change behavior, architecture, or require doc updates1-3 rounds (B1-B3)5
ChangeRequirement changes, refactors, tech migrations, removing features2-5 rounds (C1-C5)8

Announce the classified type to the user and let them override.

Type reclassification: If during the interview the actual scope significantly exceeds the classified type (e.g., a Bug Fix turns out to require architectural changes, or a Change reveals new feature needs), re-classify the update type, announce the reclassification to the user, and adjust the remaining interview rounds accordingly.

Update Phase 2: Update Interview

A focused interview scoped to the change (NOT a full project interview). See references/interview.md for the full protocol for each update type.

Steps overview:

  1. Description — Ask the user to describe the change in their own words
  2. Clarifying Questions — Rounds and depth determined by update type (see table above)
  3. Synthesis & Confirmation — Present a change summary for user approval

Update Phase 3: Update Documentation

After confirmation, update (not recreate) the existing documents. What to update depends on the type:

All types:

  • docs/plans.md — Insert new milestones before the Production Readiness Gate (Milestone PR), not after it. The PR milestone must always remain the final milestone. For Bug Fix, add a fix milestone before PR. Follow the same milestone format. Keep existing milestones intact. Update Milestone PR sub-tasks if the change introduces new production-readiness requirements.
  • docs/documentation.md — Add new milestones to the status section

New Feature:

  • docs/architecture.md — Append new user journeys, pages, components, and product spec sections. Update technical architecture if the feature introduces new patterns or integrations.
  • docs/secrets.md — Update if the feature introduces new secrets or integrations
  • CLAUDE.md + AGENT.md — Update if new commands, structure, or conventions are introduced

Bug Fix:

  • docs/architecture.md — Update only if the fix changes documented behavior or reveals a spec gap. Add a note in the relevant product spec section describing the corrected behavior.
  • docs/plans.md — Record the bug in Implementation Notes

Change:

  • docs/architecture.md — Modify affected sections (user journeys, components, tech architecture, etc.). Mark removed or replaced content clearly — do not silently delete.
  • docs/secrets.md — Update if integrations or secrets change
  • CLAUDE.md + AGENT.md — Update if commands, structure, or conventions change
  • docs/implement.md — Update only if the change alters execution rules (e.g., new tech stack, new workflow)

Do NOT modify:

  • Existing completed milestone content (unless fixing a discovered inconsistency)
  • docs/implement.md (unless the change genuinely requires new execution rules)

Update Phase 3.5: Documentation Review

Run a lighter review focused on the changes. See references/review.md for full checklist details.

Use Agent 2 (Plans reviewer) + Agent 3 (Consistency reviewer). Skip Agent 1 unless the change adds entirely new user roles or major architectural changes.

Focus areas:

  • Agent 2: Verify new/modified milestones cover all aspects of the change; new milestones are inserted before Milestone PR; milestone ordering is logical
  • Agent 3: Verify no contradictions between new and existing content; updated architecture sections are consistent; CLAUDE.md/AGENT.md are updated if needed

Update Phase 4: Next Steps

Tell the user:

  1. The docs have been updated
  2. Summarize what was changed (new/modified milestones, updated architecture sections, etc.)
  3. Suggest they review the changes in docs/architecture.md and docs/plans.md
  4. Mention they can adjust the new milestones before starting execution
  5. Remind: New milestones follow the same production-quality standard — every sub-task produces deployment-ready code. If the update adds significant new functionality, ensure the Production Readiness Gate milestone is updated to cover the new scope.

Language

Follow the user's language preference. If they write in Chinese, generate documents in Chinese. If they write in English, generate in English. Technical terms (file names, commands, code) stay in English regardless.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.2%
按下载量换算38

Claude

29.2%
按下载量换算33

Cursor

20.3%
按下载量换算23

Gemini CLI

10.31%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills