搜索

PythonReactSEOPDF
GitHub Skill

agent-friendly-commands

Use these when you want low-noise lint/test output (good for LLM/CI logs) while staying aligned with repo policy.

localtaskrepo☆ 1 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Goal

Run the same checks as CI with less ANSI noise and more compact reporters.

Commands

  • Lint (no ANSI): npm run lint:agent
  • Unit/integration tests (Rust + UI): npm run test:agent
  • Rust-only tests (nextest, CI profile): npm run test:rust:agent
  • UI unit tests (Vitest, dot reporter): npm run test:ui:agent
  • Smoke suite (builds first): npm run test:smoke:agent
  • Smoke suite (no rebuild): npm run test:smoke:quick:agent

When to use what

  • Tight loop on a Rust failure: start with npm run test:rust:agent, then widen to npm run test:agent.
  • Tight loop on a UI unit test: npm run test:ui:agent -- -t "<substring>".
  • Tight loop on smoke: npm run test:smoke:quick:agent -- -t "<substring>" (only if you already built recently).

Notes

  • These scripts are implemented inline in package.json using bash -lc to set NO_COLOR=1, disable forced color, and use dot reporters for Vitest.
  • Repo policy still applies: after code changes, the completion bar is npm run lint, npm test, npm run smoke.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!