Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
ultra-fast-lane-detection【部署与运维】Routes Ultra-Fast-Lane-Detection workflows for data preparation, training, evaluation, export, and speed/deployment tasks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when the task is about the Ultra-Fast-Lane-Detection lane detection repo: preparing CULane or TuSimple data, training a model, evaluating checkpoints, visualizing outputs, exporting TorchScript, or benchmarking speed.
references/repo-provenance.md if you want to confirm this skill matches the current checkout or to decide whether refresh-repo-skill is needed.scripts/check_environment.py when you need a quick local smoke of imports, config parsing, and CUDA availability.requirements.txt plus the small optional helpers used by the scripts here).PYTHONPATH when you run the scripts from a checkout or copied tree..cuda() directly.sub-skills/data-and-config/Read this when the task is about dataset layout, TuSimple conversion, config overrides, row anchors, or any data_root/log_path problem.
sub-skills/training/Read this for single-GPU or distributed training, checkpoints, resume/finetune behavior, losses, schedulers, and TensorBoard logging.
sub-skills/evaluation-and-visualization/Read this for test.py, CULane/TuSimple scoring, demo AVI generation, and evaluator build/run questions.
sub-skills/export-and-speed/Read this for TorchScript export, synthetic speed checks, camera/video speed notes, and LibTorch/OpenCV deployment caveats.
data-and-config owns the data preparation path and the configuration defaults.training owns the optimization loop and checkpoint lifecycle.evaluation-and-visualization owns benchmark outputs and visual inspection.export-and-speed owns deployment-oriented export and throughput checks.references/workflow-map.md for a compact overview of the repo workflows and where each sub-skill routes them.references/troubleshooting.md for cross-cutting failures such as missing dependencies, CUDA runtime issues, checkpoint mismatches, and dataset path mistakes.references/repo-provenance.md for staleness checks and repo snapshot details.If you only need to confirm the repo knowledge is usable, run the bundled smoke helper before deeper work:
python scripts/check_environment.py --repo-root . --device cuda
If CUDA is not available, rerun with --device cpu to verify the non-GPU import path and record the missing backend separately.