t-push
由 AI 基于 git diff 总结提交内容,使用脚本运行受影响区域 CI,通过后 git commit && git push。
Skill by timzaak
Chalk Labs
Need help deploying t-push?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/timzaak-t-push
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/t-push
What's inside
- Skill name
t-push- Description
- 由 AI 基于 git diff 总结提交内容,使用脚本运行受影响区域 CI,通过后 git commit && git push。
- License
- Apache-2.0
- Instructions
- 40 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- allowed-tools: must be a space-separated string
Files (1)
- SKILL.md
SKILL.md (first lines)
# Push with Local CI
运行时边界统一参考:`${CLAUDE_PLUGIN_ROOT}/protocols/runtime-boundaries.md`
提交前输入门禁、commit message 格式、调用模式和中断恢复统一参考 `${CLAUDE_PLUGIN_ROOT}/protocols/push-execution-contract.md`;执行脚本前读取。
## Fixed Flow
先由 AI 读取 `git status --short` 和必要的 `git diff`,识别本次变更涉及的源码文件。
在生成 commit message 和调用脚本前,AI 必须清理本次变更源码文件中的注释。先运行预筛脚本取得候选清单:
```bash
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/comment-audit.py
```
脚本只读不改,从本次未提交变更输出 JSON 候选:`remove-candidate`(命中禁止条款,含变更文件内 diff 未触及的存量违规,`scope=existing`)默认删除,除非能指认"必须保留"类别;`review-candidate`(注释密度超标文件的注释)与其余 diff 新增注释一样,逐条对照"必须保留"类别,命中不了就删除。判定标准以 `${CLAUDE_PLUGIN_ROOT}/protocols/code-comment-contract.md` 为准,清理范围只限本次变更文件,不做全仓历史清理。
清理后重新查看必要的 `git diff`,逐条确认剩余的 diff 新增注释都能指认所属的保留类别(含未被脚本列出的新增注释),再总结本次变更并生成简洁 commit message。commit message 必须来自 AI 对清理后实际变更的总结,不能由脚本根据目录名自动猜测。
然后为本次 `/t-push` 执行生成一个新的 session id(例如 `YYYYMMDD-HHMMSS` 或短 UUID),并调用脚本:
```bash
uv run ${CLAUDE_PLUGIN_ROOT}/scripts/push.py --ci-session "<本次 t-push session id>" --message "<AI 生成的 commit message>"
```
session 规则只说一次:同一次 `/t-push` 执行内(含 CI 失败后 AI 修复重跑)复用同一 session id;新的 `/t-push` 执行必须生成新 session id,避免复用上一次的区域通过缓存。
脚本负责:检测 backend/frontend/demo 变更范围并为受影响区域并发运行本地 CI(区域 CI 内容见下节);按 session 记录每个区域通过 CI 时的 diff 指纹,重跑时已通过且 diff 未变的区域直接跳过;CI 全部通过后执行 `git add -A`、`git commit` 和推送目标分支。无 diff 时仍核对并补推现有 commit。未提交变更需要 `--message`。
## CI Rules
- Backend 变更:`cargo clippy --fix --allow-dirty --allow-staged --all-targets --all-features -- -D warnings`、`cargo fmt --all`,再以不带 `--fix` 的 `cargo clippy --all-targets --all-features -- -D warnings` 终验。
- Frontend 变更:`npm run lint`、`npm run format:check`(不存在时跳过)、`npm run type-check`。
- Demo 变更:`npm run lint` 和 `npm run type-check`。
- Shopify 变更(项目根存在 `shopify.app.toml` 时,除 `demo/` 外的全部变更):按 `${CLAUDE_PLUGIN_ROOT}/guides/shopify/validation.md` 的 push 门禁执行,类型检查兼容 `typecheck` / `type-check` 且不能缺失;存在 Shopify 扩展配置时必须覆盖扩展构建。
- 无 backend/frontend/demo/shopify 变更时跳过本地 CI,直接进入 commit/push。
`--force-checks` 参数可忽略 session 缓存,强制重跑本次 diff 涉及的所有区域 CI。
## Failure
- 任一 CI 步骤失败:脚本停止且不 commit/push,并输出失败区域和步骤;AI 根据错误信息修复代码后,用同一 session id 重新运行脚本,直到通过。
- commit/push 失败:脚本停止并报告错误;按共享契约用同一 session 恢复本地 commit 并确认远端,不生成重复提交;代码变化时先重新验证和验收。From timzaak/web-dev-skills, Apache-2.0.
More from timzaak/web-dev-skills
- 0.675score
t-icon-prompt
timzaak
Turn a vague icon idea into a ready-to-paste generation prompt card through a short guided Q&A.
SkillAFreshness: A★ 97Claude Code +9 - 0.675score
t-doc
timzaak
Generate human-readable project documentation — tutorials, getting-started guides, architecture overviews, API references, deployment or onboarding docs — by…
SkillAFreshness: A★ 97Claude Code +9 - 0.671score
t-init
timzaak
Initialize a new Rust + React full-stack project; use --extension-demo to add Playwright integration-test infrastructure to an existing WXT extension; use…
SkillAFreshness: A★ 97Claude Code +9 - 0.670score
t-review
timzaak
Review changed code for correctness bugs with parallel read-only finders and an independent 3-state verifier for each candidate; add specialist angles and a…
SkillAFreshness: A★ 97Claude Code +9 - 0.670score
t-how
timzaak
Interactive guide that teaches how to use the t-tools plugin.
SkillAFreshness: A★ 97Claude Code +9 - 0.670score
t-dream
timzaak
Organize and realign PRDs, user stories, design/task docs, implementation facts, and project structure so the target project keeps a clean current context…
SkillAFreshness: A★ 97Claude Code +9 - 0.670score
t-skill
timzaak
Create or update a skill — by default inside the t-tools plugin repository; with --project inside the current target project's skill directory.
SkillAFreshness: A★ 97Claude Code +9 - 0.669score
t-decision
timzaak
Decide whether a feature should enter the t-tools workflow before tech research or PRD.
SkillAFreshness: A★ 97Claude Code +9 - 0.667score
t-design-check
timzaak
Evaluate technical design documents for implementability, completeness, and consistency with a quantitative 100-point score.
SkillAFreshness: A★ 97Claude Code +9 - 0.667score
t-figma-assets
timzaak
Prepare Figma bitmaps, SVGs, and videos for human-guided UI implementation; identify assets, validate their types, collect bitmap evidence, convert or…
SkillAFreshness: A★ 97Claude Code +9 - 0.667score
t-prd
timzaak
Draft or update PRD and user stories, clarifying unresolved product choices.
SkillAFreshness: A★ 97Claude Code +9 - 0.667score
t-prd-publish
timzaak
After implementation and acceptance, summarize the draft PRD against delivered facts, then revise the existing formal PRD.
SkillAFreshness: A★ 97Claude Code +9
Signals
- Stars
- 97
- Forks
- 9
- Open issues
- 0
- Last commit (this folder)
- Oct 22, 2026 (14 days ago)
- Last release
- Oct 20, 2026 (16 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/timzaak/web-dev-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from timzaak
- 0.675score
t-doc
timzaak
Generate human-readable project documentation — tutorials, getting-started guides, architecture overviews, API references, deployment or onboarding docs — by…
SkillAFreshness: A★ 97Claude Code +9 - 0.675score
t-icon-prompt
timzaak
Turn a vague icon idea into a ready-to-paste generation prompt card through a short guided Q&A.
SkillAFreshness: A★ 97Claude Code +9 - 0.671score
t-init
timzaak
Initialize a new Rust + React full-stack project; use --extension-demo to add Playwright integration-test infrastructure to an existing WXT extension; use…
SkillAFreshness: A★ 97Claude Code +9 - 0.670score
t-skill
timzaak
Create or update a skill — by default inside the t-tools plugin repository; with --project inside the current target project's skill directory.
SkillAFreshness: A★ 97Claude Code +9 - 0.670score
t-review
timzaak
Review changed code for correctness bugs with parallel read-only finders and an independent 3-state verifier for each candidate; add specialist angles and a…
SkillAFreshness: A★ 97Claude Code +9 - 0.670score
t-dream
timzaak
Organize and realign PRDs, user stories, design/task docs, implementation facts, and project structure so the target project keeps a clean current context…
SkillAFreshness: A★ 97Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get t-push running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
t-push skill. Agent Mart. https://agentmart.dev/skills/timzaak-t-push (last updated 2026-10-24)