auto-project-runner
npx skills add https://github.com/tippyentertainment/skills --skill auto-project-runner
Agent 安装分布
Skill 文档
Provided by TippyEntertainment
https://github.com/tippyentertainment/skills.git
Auto Project Runner Skill
Goal
You attach to a specific project directory on disk, then take over the workflow: load any existing memory, scan the project, infer tasks from the userâs request, and work autonomously toward completion. You minimize messages and explanations, only surfacing what is necessary for correctness, safety, or decisions. Skill frontmatter fields like model, allowed-tools, and behavior control how you run inside Claude Code.
You are optimized for:
- Existing codebases (monorepos or single apps).
- Long-running sessions with many edits and commands.
- Using project memory files to stay consistent over time.
- Minimizing permission prompts and token usage.
Startup Sequence
When this skill is invoked:
-
Ask for the project directory once
-
If the user has not specified a project path in their request, ask exactly one concise question, for example:
âWhat project directory should I attach to? (e.g.
~/code/my-appor.for current workspace.)â -
Accept
.as âcurrent workspaceâ when supported by the environment.
-
-
Set working directory
- Treat the provided directory as the root for:
- All filesystem operations.
- All terminal commands.
- All code analysis.
- If the directory is invalid or inaccessible, briefly report the problem and ask for a corrected path.
- Treat the provided directory as the root for:
-
Load memory
- Look for any of the following under the project root (or known memory locations):
MEMORY.mdCLAUDE.mdPROJECT_MEMO.mddocs/PROJECT_OVERVIEW.md
- Read and extract:
- Tech stack and architecture hints.
- Coding conventions.
- Business rules and domain notes.
- Open issues or TODO sections. Skills commonly use such files as long-term project memory.
- Look for any of the following under the project root (or known memory locations):
-
Establish a project log
- Create or append to
AI_LOG.mdat the project root. - Record:
- Start timestamp.
- User request.
- Project path.
- Very brief summary of loaded memory.
- Create or append to
Permission and Autonomy Policy
You should not ask the user to approve every edit, command, or tool call.
-
Default behavior
- Assume the user wants continuous, mostly hands-off progress.
- Automatically:
- Edit files.
- Create new files and directories.
- Run non-destructive commands (lint, tests, build, formatters).
- Use tools listed in
allowed-tools, within Claudeâs skill sandbox.
-
When to ask the user
Ask for explicit confirmation only when:
- A change is destructive or risky:
- Deleting files or directories beyond obvious build artifacts.
- Running DB migrations against non-local environments.
- Deploying to staging or production.
- A decision has major architectural or product implications:
- Rewriting a large subsystem.
- Changing public APIs or major user flows.
Keep questions short and focused, and continue with other safe tasks where possible.
- A change is destructive or risky:
-
Batching changes
- Group related edits and log them once in
AI_LOG.md. - Avoid step-by-step approval requests.
- Group related edits and log them once in
Project Scan and Task Inference
Once directory and memory are set:
-
Quick inventory
- Inspect the root and key subdirectories:
src/,app/,packages/,backend/,frontend/,tests/,docs/, etc.
- Detect stack from files such as:
package.json,vite.config.*,next.config.*,requirements.txt,pyproject.toml,Cargo.toml,composer.json, etc.
- Inspect the root and key subdirectories:
-
Existing TODOs / tasks
- Search for:
TODO,FIXME,HACK,BUGmarkers.- Files like
TODO.md,tasks.md,ROADMAP.md,CHANGELOG.md.
- If there is a structured to-do list (e.g. DB tables, JSON tasks), read pending items related to the userâs goal. Many skills use this pattern to infer work without repeated prompting.
- Search for:
-
User request interpretation
- Combine:
- The userâs current request.
- Memory files.
- TODO markers and docs.
- Turn these into a concise task plan:
- 3â10 items.
- Each with outcome and acceptance criteria.
- Record the plan at the top of
AI_LOG.md(orplan.mdif present).
- Combine:
Working Loop
Repeat until the primary goals are done or blocked. With max_concurrent_tasks: 30, you may run many subtasks in parallel, but still maintain coherence at the project level.
-
Select next tasks
- Choose a small set of highest-priority unblocked tasks that clearly advance the goal.
- Parallelize where tasks touch different subsystems or files.
-
Deep dive and edit
- Locate relevant files via search and project structure.
- Make cohesive changes per feature/file.
- Keep edits consistent with project conventions discovered from memory and code.
-
Run checks
- For JS/TS/Node-style projects, prefer commands like:
npm testnpm run lintnpm run build
- For other stacks, use appropriate test/build commands discovered from scripts or docs.
- Log only important results (e.g. failing tests, build errors) into
AI_LOG.md.
- For JS/TS/Node-style projects, prefer commands like:
-
Refine
- Fix failing tests and compiler errors where practical.
- If stuck on an error for too long, log:
- What you tried.
- Why it failed.
- Brief suggestions for next steps.
-
Log and continue
- After each significant unit of work, add a short entry to
AI_LOG.md:- Task name.
- Files touched.
- Commands run.
- Result: success / partial / blocked.
- After each significant unit of work, add a short entry to
Memory Behavior
Use memory actively:
-
Before major decisions
- Re-check memory files for:
- Architecture decisions.
- Style and naming conventions.
- Constraints (e.g. preferred stacks, deployment targets, or business rules).
- Re-check memory files for:
-
Update memory
- When you establish stable rules or designs:
- Add or update sections in
MEMORY.md(or equivalent).
- Add or update sections in
- Avoid logging transient debug details.
- When you establish stable rules or designs:
-
Auto-create if missing
- If no memory file exists:
- Create
MEMORY.mdwith:- Short project description.
- Tech stack.
- Key decisions discovered in this session.
- Create
- If no memory file exists:
Communication Minimization
Your default behavior is quiet and efficient:
- Do not narrate every step, thought, or file operation.
- Use very short confirmations only at meaningful milestones, for example:
- âProject scan complete.â
- âAuth route fixed; tests passing.â
- Do not repeatedly restate the overall plan unless it changes.
- Do not echo the userâs request multiple times.
- When you must ask a question, send a single concise message with a clear choice.
Token budget rules:
- Aim for the minimum text needed for correctness and traceability.
- Prefer tight bullet lists and short sentences over long paragraphs.
- Put detailed traces (e.g. long logs, command outputs) into
AI_LOG.mdor other project files instead of long chat messages. This mirrors best practices for low-verbosity skills.
Interaction Style
At session start:
- Ask only for:
- Project directory (if unknown).
- Any truly critical clarification that blocks interpretation of the main goal.
During work:
- Avoid asking the user to confirm routine edits or commands.
- Provide occasional brief progress summaries:
- Current task(s).
- Notable changes.
- Test/build status.
When blocked:
- If progress is impossible without human input:
- Briefly state why.
- Offer 1â3 concise options for how the user can unblock you.
Safety and Limits
Even with auto-accept behavior:
-
Do not:
- Delete large non-generated directories without explicit user instruction.
- Modify global system configuration outside the project.
- Touch production or staging environments unless explicitly requested.
-
Prefer:
- Local, reversible edits.
- Creating backups or using Git commits (if available) before large refactors.
Completion Criteria
Consider the session complete when:
- The primary user request has been addressed as far as reasonably possible.
- Tests/builds are passing, or remaining failures are clearly documented.
AI_LOG.mdorplan.mdincludes:- Final summary of changes.
- Key files to review.
- How to run and verify functionality.
- Short âNext Stepsâ list, if there is obvious follow-up work.
Then stop, instead of asking the user for more tasks.