writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
safetyCheck secret handling, staged changes and push targets, destructive Git operations, Docker image hygiene, and new dependencies before consequential coding actions. Use for commits, pushes, container builds or publishes, dependency additions, and explicit safety reviews.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use these checks before the relevant action, not as a session-wide prerequisite. This is guidance, not a tool permission or an automatic approval gate. Respect the repository's instructions and existing approval controls; if a check cannot be completed, explain the uncertainty and do not claim it passed.
git status, staged paths (git diff --cached --name-only), and the staged diff using a local scanner or redacted review if it may contain secrets. Confirm only intended files are staged and no credentials or local secret files are included. Unstage unwanted files without discarding local changes; do not rely on .gitignore to protect already tracked files.git remote get-url <remote>), branch and refspec. Specify the intended remote and branch explicitly. Stop for clarification when the destination is unexpected or its ownership is unclear; do not assume a particular organization or forbid legitimate forks.--force-with-lease where appropriate. Obtain explicit confirmation before discarding another person's work or unrecoverable local changes; never treat a preview as authorization..dockerignore, Dockerfile and Compose configuration for secret-bearing files and values. Keep secrets out of COPY/ADD, ARG/ENV, command lines, and image layers; .dockerignore is not a substitute for checking explicit copies or external build contexts.sfw is optional: if an expected tool is unavailable, do not install it automatically or bypass a repository-mandated check. Report the missing protection and use approved alternatives or ask how to proceed when it is required. Never claim an unrun scan passed.