Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
damo-yolo【部署与运维】Training, inference, and deployment workflows for DAMO-YOLO object detection.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill for DAMO-YOLO object detection workflows built around the installed damo package. The main user-facing routes are training, demo inference, and deployment/export. This skill is self-contained: it bundles the reusable launchers, references, and smoke checks future agents need without reopening the original repository checkout.
damo package in the active environment. For a local checkout, the usual command is pip install -e . because the package metadata reads requirements.txt and installs the damo distribution from this source tree.scripts/check_model_smoke.py --config <config.py> --workdir <dir> when you need a quick import/model/config sanity check before a longer workflow.references/workflows.md for the route map and bundled helper scripts.references/troubleshooting.md if the task involves a missing dependency, config mismatch, class-count error, or relative-path failure.references/model-overview.md and references/api-reference.md when you need architecture or API details that are not obvious from the sub-skill router.trainingUse for training, fine-tuning, resume, evaluation, teacher-student distillation, custom COCO dataset setup, config editing, and distributed CUDA/NCCL launch commands.
Read:
sub-skills/training/SKILL.mdsub-skills/training/references/training-workflows.mdsub-skills/training/references/custom-coco-datasets.mdsub-skills/training/references/config-editing.mdsub-skills/training/references/troubleshooting.mdBundled helpers:
sub-skills/training/scripts/launch_train.shsub-skills/training/scripts/launch_eval.shsub-skills/training/scripts/validate_coco_config.pyinferenceUse for image, video, and camera demo inference with Torch, ONNX, or TensorRT engines, including engine selection and visualization behavior.
Read:
sub-skills/inference/SKILL.mdsub-skills/inference/references/engine-and-data-flow.mdsub-skills/inference/references/demo-workflows.mdsub-skills/inference/references/source-decisions.mdsub-skills/inference/references/troubleshooting.mdBundled helper:
sub-skills/inference/scripts/damo_yolo_safe_demo.pydeploymentUse for ONNX export, TensorRT export/evaluation planning, partial INT8 quantization guidance, and deployment backend readiness checks.
Read:
sub-skills/deployment/SKILL.mdsub-skills/deployment/references/workflows.mdsub-skills/deployment/references/cli-reference.mdsub-skills/deployment/references/source-decisions.mdsub-skills/deployment/references/troubleshooting.mdBundled helpers:
sub-skills/deployment/scripts/check_deploy_env.pysub-skills/deployment/scripts/export_onnx_safe.pytraining.inference.deployment.scripts/check_model_smoke.py plus the relevant sub-skill.coco.cfg.dataset.class_names and cfg.model.head.num_classes must agree.--workdir or absolute config paths.Config.merge() only handles exact top-level keys reliably; prefer edited config files for nested changes.