Task Finish logo

Task Finish

Community
312362115
task-finish

提交前质量门禁:CR 自检(快速/深度)。在 commit 之前触发。 只负责代码质量自检,不负责复盘——复盘在需求标 done 时由 task-manager 触发。 触发词:提交代码、自检、准备提交。 工作流位置:task-start → task-execute → task-finish(自检)→ task-manager(需求关闭时复盘)

Overview

Publisher312362115
Repositoryclaude
Skill nametask-finish
Stars
107
Forks
17
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by 312362115 on GitHub. Read the source before you install it.

Installation

Install the Task Finish AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/312362115/claude/tree/main/skills/task-finish
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/312362115/claude.git /tmp/claude
mkdir -p .claude/skills
cp -r /tmp/claude/skills/task-finish .claude/skills/task-finish
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Task Finish in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Task Finish on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Task Finish is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

提交前自检(Task Finish)

提交前自检发现问题的成本是上线后的 1/10。 本 skill 只负责代码质量门禁。复盘沉淀在需求关闭时由 task-manager 触发。


第一步:判断自检深度

准备提交
  │
  ├─ 单文件小改动(修 typo、调样式、改注释)?
  │   └─ YES → 【跳过】直接提交
  │
  ├─ 改动 ≤3 文件,不涉及公共接口?
  │   └─ YES → 【快速自检】执行第二步的快速清单(5 项)
  │
  └─ 改动 >3 文件 / 涉及公共接口 / 核心业务逻辑?
      └─ YES → 【深度自检】执行第二步的完整清单(15 项)

第二步:CR 自检(Self Code Review)

用"审查别人代码"的视角审查自己的代码。

执行方式

  1. 先 git diff 审查自己的改动:逐文件看 diff,而不是凭记忆
  2. 对照清单逐项检查:不需要每条都适用,但每条都过一遍脑子
  3. 发现问题当场修:不要想着"先提交再说"
  4. 不确定的地方主动说:在提交时告知用户"这里我不确定 X,建议关注"

快速自检清单(≤3 文件改动)

#检查项要点
1改动解决了目标问题?跑一遍核心路径确认
2没有遗留 debug 代码?console.log、print、TODO hack
3命名清晰、无硬编码敏感信息?密钥、token、密码
4没有混入不相关变更?改动范围最小化
5代码能正常运行?改后验证,不是"我觉得对"

深度自检清单(>3 文件 / 公共接口 / 核心逻辑)

正确性检查:

  • 改动是否真的解决了目标问题?跑一遍核心路径确认
  • 边界情况是否处理?空值、零值、超长输入、并发场景
  • 错误处理是否完整?异常不会被吞掉,错误信息有意义
  • 是否引入了回归?改动是否可能破坏现有功能

设计检查:

  • 改动范围是否最小化?有没有混入不相关的变更
  • 命名是否自解释?新增的函数/变量/类型名能否让人一眼理解
  • 是否重复造轮子?项目里有没有已有的工具或模式可以复用
  • 复杂度是否合理?有没有过度抽象或不必要的间接层

安全检查:

  • 外部输入是否校验?用户输入、API 参数、URL 参数
  • 有没有硬编码的敏感信息?密钥、token、密码、内部地址
  • SQL/命令拼接是否安全?是否使用了参数化查询
  • 前端是否防 XSS?动态内容是否正确转义

可维护性检查:

  • 没有遗留 debug 代码(console.log、print、TODO hack)
  • 复杂逻辑是否有注释说明"为什么"
  • 公共接口的改动是否向后兼容?不兼容是否已标注


与其他 skill 的衔接

task-start — 启动:对焦需求 + 设计方案
  │
  ↓
task-execute — 执行:持续编码 + 跨会话进度管理
  │
  ↓
task-finish(本 skill)— 提交前自检
  │
  ├─ 自检通过 → 提交代码
  ├─ 文档同步提醒(按改动内容判断,可能同时命中多条):
  │   ├─ 涉及新模块 / 模块间交互变更?→ 提醒更新 architecture/ 或 user-guide/(docs-management.Synthesize)
  │   ├─ 涉及依赖/工具链/环境配置变更?→ 提醒更新 guides/
  │   └─ 涉及部署流程/基础设施变更?→ 提醒更新 runbooks/
  ├─ 涉及上线服务?→ 提示跑 security-audit(安全审查)
  ├─ 准备发版?→ 引导到 release skill
  │
  ↓ 提交完成后
  ├─ 主动询问用户:"这个需求是否彻底完成?如果是,可以标记 done 触发复盘和经验沉淀。"
  │
  ↓ (用户确认完成)
task-manager 标 done — 触发复盘 + 经验沉淀 + docs-management.Ingest

复盘不在 task-finish 中触发。 因为"编码完成"不等于"需求完成"——后续可能还有手动测试、bug 修复、调整。 复盘在需求被用户明确标记为 done 时,由 task-manager 触发,确保覆盖完整的交付过程。 但 task-finish 有责任提醒:提交代码后主动询问用户是否需要关闭需求,避免复盘被遗忘。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Task Finish AI skill do?

提交前质量门禁:CR 自检(快速/深度)。在 commit 之前触发。 只负责代码质量自检,不负责复盘——复盘在需求标 done 时由 task-manager 触发。 触发词:提交代码、自检、准备提交。 工作流位置:task-start → task-execute → task-finish(自检)→ task-manager(需求关闭时复盘)

Why use Task Finish on TypingMind?

Because you install it once and use it with any model. Task Finish is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Task Finish in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/312362115/claude/tree/main/skills/task-finish. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Task Finish?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Task Finish?

As many as you like. As long as a model supports skills, you can use Task Finish with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Task Finish AI skill free?

Yes. It is published on GitHub by 312362115 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇