automate-project-maintenance
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAutomate Project Maintenance
自动化项目维护
Use this skill after the focused maintenance skills are available. Detect the repo type from local facts, not from naming guesses.
在专用维护技能可用后使用此技能。根据本地实际情况检测仓库类型,而非通过名称猜测。
Detection
检测
Inspect the repo before acting.
- Python signals:
pyproject.toml
- TypeScript signals:
package.json
执行操作前先检查仓库。
- Python 特征:
pyproject.toml
- TypeScript 特征:
package.json
Workflow
工作流程
- Determine whether the repo is Python, TypeScript, or other.
- Run only the applicable focused skills.
- Keep remote GitHub updates preview-first.
- 判断仓库是Python、TypeScript还是其他类型。
- 仅运行适用的专用维护技能。
- GitHub远程更新先以预览模式进行。
Python Branch
Python分支
- Use .
$write-python-tests - Use .
$rewrite-python-docs - Use .
$write-root-readme - Run and treat findings as weak hints.
rumdl fmt . - Run .
mise run lint - Run .
mise run docs:build - Run .
nox - Use in preview mode.
$sync-github-repo-metadata
- 使用。
$write-python-tests - 使用。
$rewrite-python-docs - 使用。
$write-root-readme - 运行,并将结果作为参考提示。
rumdl fmt . - 运行。
mise run lint - 运行。
mise run docs:build - 运行。
nox - 以预览模式使用。
$sync-github-repo-metadata
TypeScript Branch
TypeScript分支
- Use .
$write-root-readme - Run and treat findings as weak hints.
rumdl fmt . - If TypeScript or JavaScript files were edited, run .
biome check --write - Use in preview mode.
$sync-github-repo-metadata
- 使用。
$write-root-readme - 运行,并将结果作为参考提示。
rumdl fmt . - 若编辑了TypeScript或JavaScript文件,运行。
biome check --write - 以预览模式使用。
$sync-github-repo-metadata
Other Repos
其他仓库
- Apply the appropriate maintenance steps based on the detected technology stack.
- Do not assume both branches must edit files in the same run.
- 根据检测到的技术栈应用相应的维护步骤。
- 无需假设两个分支必须在同一次运行中编辑文件。