skill-writing
/skill-writing
Use when creating or upgrading a portable Linux operations skill in this engine under the canonical chwezi-dev-engine skill-writing standard; distinguishes authoring contracts from executing `linux-sysadmin` workflows and from the read-only `skill-safety-audit` review gate.
- Author
- peterbamuhigire ↗
- Repository
- linux-skills ↗
- Licence
- MIT
- Last repository change
- 24.10.2026
Assessment and security
- Files in this package
- 5
- Scripts
- 3
- HTML comments
- 2
- URLs in SKILL.md
- 2
No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 3 scripts in this package. Review them before installing, as Claude may execute them.
- SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.
Scripts: scripts/init_skill.py, scripts/package_skill.py, scripts/quick_validate.py
What it does and when to use it
Use when creating or upgrading a portable Linux operations skill in this engine under the canonical chwezi-dev-engine skill-writing standard; distinguishes authoring contracts from executing `linux-sysadmin` workflows and from the read-only `skill-safety-audit` review gate.
Original author description
Use when creating or upgrading a portable Linux operations skill in this engine under the canonical chwezi-dev-engine skill-writing standard; distinguishes authoring contracts from executing `linux-sysadmin` workflows and from the read-only `skill-safety-audit` review gate.
How it works
- Use When
- Do Not Use When
- Required Inputs
- Workflow
- Outputs
- Evidence Produced
- Quality Standards
- Engine-Local Delta
- Capability Contract
- Degraded Mode
SKILL.md preview
---
name: skill-writing
description: Use when creating or upgrading a portable Linux operations skill in this engine under the canonical chwezi-dev-engine skill-writing standard; distinguishes authoring contracts from executing `linux-sysadmin` workflows and from the read-only `skill-safety-audit` review gate.
license: Complete terms in LICENSE.txt
metadata:
author: Peter Bamuhigire
author_url: techguypeter.com
author_contact: "+256784464178"
portable: true
compatible_with:
- claude-code
- codex
---
# Skill Writing
Pointer stub. The canonical standard is `chwezi-dev-engine/skills/sdlc-meta/skill-writing` ([canonical on GitHub](https://github.com/peterbamuhigire/chwezi-dev-engine/blob/main/skills/sdlc-meta/skill-writing/SKILL.md); local path `C:\wamp64\www\chwezi-dev-engine\skills\sdlc-meta\skill-writing\SKILL.md`). Load it first; this file keeps a portable minimum and this engine's delta.
<!-- dual-compat-start -->
## Use When
- Creating a specialist Linux skill or changing an existing skill's trigger, contract, references or routing fixtures.
## Do Not Use When
- Execute Linux administration through `linux-sysadmin`; use `skill-safety-audit` for a read-only review of unsafe instructions.
## Required Inputs
| Artefact | Source/provider | Required? | If absent |
|---|---|---:|---|
| Reusable problem, trigger prompts and neighbour descriptions | Requester and live catalogue | Yes | Stop; search the catalogue before drafting. |
| Canonical skill-writing standard | chwezi-dev-engine checkout or GitHub | Yes | Apply the portable minimum and mark canonical-only checks `NOT ASSESSED`. |
## Workflow
1. Read the canonical standard, then this engine's delta; inspect the closest neighbours.
2. Write the input, output, evidence, capability, degraded-mode and decision contracts before the procedure.
3. Run `python -X utf8 scripts/validate_skills.py --baseline quality-baseline.json` and `python -X utf8 scripts/routing_smoke_test.py` (Linux-native tests run on Linux), then `python -X utf8 meta/skill-writing/scripts/quick_validate.py <skill-dir>`.
4. Stop on any finding or routing collision; recover by fixing the named contract and rerun, never by weakening the gate.
## Outputs
| Artefact | Consumer | Acceptance condition |
|---|---|---|
| Skill directory and routing fixtures | Maintainer and router | Validators pass and the expected skill ranks in the top three. |
## Evidence Produced
| Evidence | Artefact and format | Consumer | Acceptance condition |
|---|---|---|---|
| Validation and routing record | Command output | Release owner | Zero findings; unrun checks marked `NOT ASSESSED`. |
<!-- dual-compat-end -->
## Quality Standards
- Portable minimum, applied even when the canonical is unreachable: frontmatter uses only approved keys and `name` matches the folder.
- The description starts `Use when`, stays within 350 characters and names a neighbour, with no workflow steps.
- `SKILL.md` stays within 500 lines; deep detail sits in references one level deep, linked directly.
- Every new or changed skill gets positive, negative and collision routing fixtures.
- Bundled scripts run through their interpreter, for example `python -X utf8 scripts/<name>.py`.
- No book extractions or copied third-party text; paraphrase and attribute.
- British English, the imperative mood, and `NOT ASSESSED` for any check not run.
## Engine-Local Delta
- Keep `## Distro support` as the first H2 of every specialist skill; route family differences through `common.sh` primitives in `sk-*` guidance; manual commands stay the baseline and scripts are optional.
- Never mutate a server while writing a skill; keep the author metadata keys; follow the [local authoring standard](../../docs/engine-design/skill-authoring-standard.md) and [skill template](../../templates/skill-template.md).
## Capability Contract
Read and search are required. Editing files and running validators need explicit permission for the authoring task; publishing, deletion and release changes need separate authorisation.
## Degraded Mode
If the canonical standard is unavailable, apply the portable minimum, return the narrowest qualified result, and mark each canonical-only check `NOT ASSESSED`; never report it as passed.
## Decision Rules
| Condition | Action | Failure or risk avoided |
|---|---|---|
| An existing skill owns the trigger and output | Normalise it in place; put branch-only detail in a linked reference | Duplicate routes and oversized entrypoints |
## Anti-Patterns
- Copying the canonical body into this engine. Fix: link the canonical and keep only the delta here.
- Writing only positive triggers. Fix: name the neighbour and add a collision fixture.
- Treating an unrun validator as a pass. Fix: record `NOT ASSESSED` with the reason.
- Granting edit rights to a review procedure. Fix: default review and audit to read-only.
- Weakening a baseline to clear a finding. Fix: repair the named contract instead.
## Worked Example
For slow PostgreSQL queries, inspect `linux-postgresql` and `linux-perf-profiling`; route query diagnosis to the former and host-wide attribution to the latter, and add a collision fixture for the ambiguous prompt.
## References
- [Canonical skill-writing standard](https://github.com/peterbamuhigire/chwezi-dev-engine/blob/main/skills/sdlc-meta/skill-writing/SKILL.md)
- [Local authoring standard](../../docs/engine-design/skill-authoring-standard.md)
- [Skill template](../../templates/skill-template.md)
- [Skill safety audit](../skill-safety-audit/SKILL.md)
Files in this package (5)
- LICENSE.txt 11 KB
- SKILL.md 5 KB
- scripts/init_skill.py 11 KB
- scripts/package_skill.py 3 KB
- scripts/quick_validate.py 17 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · peterbamuhigire/linux-skills | 98 | MIT |
| event4u-app/agent-config | 100 | MIT |
| peterbamuhigire/chwezi-dev-engine | 100 | MIT |
| AlicanKaya192/Mindgate | 100 | MIT |
| patrykmurzyn/skills | 100 | MIT |
| peterbamuhigire/proposal-skills | 98 | MIT |
Database snapshot: 13.11.2026 · package version f3119a8e0012 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 4 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100linux-bash-scripting
Use when writing or reviewing portable sk-* Bash scripts for this engine, including common.sh primitives, flags, dry runs, and safety gates; use linux-repo-sync for Git-update behaviour and not for one-off commands. - 90Linux Bash
Expert assistance with Linux bash commands, shell scripting, system administration, file operations, and command-line utilities. Use this when working with bash scripts, Linux system operations, or command-line tasks. - 100linux-commands-guide
Manage linux commands guide operations. Auto-activating skill for DevOps Basics. Triggers on: linux commands guide, linux commands guide Part of the DevOps Basics skill category. Use when working with linux commands guide functionality. Trigger with phrases like "linux commands… - 100linux-sysadmin
Use when a Debian/Ubuntu or RHEL-family server request needs routing across provisioning, security, services, networking, recovery, databases, containers, storage, performance, or compliance; use linux-troubleshooting when an unexplained symptom spans components. - 86linux-server-ops
Use when diagnosing or managing a Linux server over SSH. - 100sysadmin-toolbox
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security,…