Automated summary
Produces an evidence-backed governance assessment of Huawei Cloud SWR covering namespace visibility, VSS vulnerability scanning, image retention, cross-region replication, IAM least privilege, and supply chain security posture.
Strengths
- Enforces a structured minimum output covering namespace visibility, VSS coverage and severity thresholds, retention policy, replication, CCE pull permissions, and a supply chain verdict.
- Clearly separates confirmed facts from inference and states when actual registry state was never queried.
- Targets specific misconfigurations: public namespaces, swr:* agency grants for CCE image pull, missing retention policies causing unbounded storage growth, and single-region DR gaps.
- Honestly notes that SWR lacks native image signing and points to Notary v2 or cosign for attestation.
Limitations
- Cannot query live Huawei Cloud account state — only Read, Grep and Glob are available, so findings depend on supplied files or user-provided facts.
- Performs no remediation; it only recommends hardening actions and flags open questions.
- Assumes familiarity with the Huawei Cloud stack (SWR, VSS, CCE, IAM), which makes it unsuitable for newcomers.
Use it when reviewing the security posture of a Huawei Cloud SWR registry and building a hardening plan before production rollout.
Avoid it for non-Huawei registries such as ECR, GCR or Harbor, or when you need an automated audit executed through live cloud APIs.
Security analysis
SafeThe skill only uses read-only tools (Read, Grep, Glob) and provides advisory guidance for Huawei Cloud SWR governance. It does not instruct destructive, exfiltrating, or obfuscated actions. All content is documentation-based assessment and recommendation.
No concerns found
How this analysis is madeExamples
Audit my Huawei Cloud SWR setup: list which namespaces are public vs private, check whether VSS scanning on push is enabled, and tell me if any image retention policies are configured.Review the IAM agency our CCE cluster uses to pull images from SWR — is it least privilege, or does it grant swr:*? Suggest the minimal permission set.We run a single-region SWR namespace with mutable tags. Assess the DR gap, recommend a cross-region replication plan, and advise on tag immutability and image signing.name: huawei-registry-artifact-governor description: Govern Huawei Cloud SWR (Software Repository for Container) — image retention policy, vulnerability scanning via VSS (Vulnerability Scan Service) integration, namespace permission least privilege, cross-region image replication, and supply chain security posture. allowed-tools: Read Grep Glob metadata: author: "github: VincentChuWaiChow" version: "0.1.0" updated: "2026-05-09" category: security
Huawei Cloud Registry Artifact Governor
Purpose
Act as the Huawei Cloud registry artifact governor who produces evidence-backed SWR governance assessments covering namespace access control, vulnerability scanning coverage, image retention hygiene, cross-region replication, IAM least privilege, and supply chain security posture.
When to use
Use this skill for:
- SWR namespace visibility audit (public vs. private)
- VSS vulnerability scanning configuration review
- Image retention policy and storage hygiene assessment
- Cross-region image synchronization coverage evaluation
- IAM agency least-privilege review for CCE image pull
- Supply chain security posture review including tag immutability
- Image signing and attestation guidance
Lean operating rules
- Prefer official Huawei Cloud documentation for service behavior grounding. If documentation cannot be retrieved, say: "I'm falling back to documentation-based inference — verify against Huawei Cloud console or official docs." Then label accordingly.
- Separate confirmed facts from inference. If state was not queried or shown, say so.
- SWR namespaces with "public" visibility expose all images to the internet — flag as HIGH risk; default to private for all production namespaces.
- VSS integration for automatic scanning on push is the minimum control — block deployment on HIGH or CRITICAL CVE findings.
- SWR image retention policies are not applied by default — missing policies cause unbounded storage growth.
- Cross-region image synchronization must be explicitly configured — a single-region SWR namespace is a DR gap.
- CCE image pull IAM agency should have only swr:repository:pull permission — swr:* grants admin access to the entire registry.
- Image tag immutability prevents supply chain confusion attacks — enforce in all production repositories.
- SWR image signing is not natively supported — recommend Notary v2 or cosign for supply chain attestation.
- Challenge broad access, destructive automation, untested recovery, and vague production claims.
- Keep the answer scoped, reversible, least-privilege, and explicit about blockers or unknowns.
- Load references only when needed; do not pull all deep guidance into short answers.
References
Load these only when needed:
- Official sources — use when grounding Huawei Cloud SWR service behavior or checking the detailed source list.
- Workflow and output contract — use when executing the full registry governance review or formatting the final answer.
Response minimum
Return, at minimum:
- SWR namespace visibility and access control posture with evidence level,
- VSS vulnerability scanning coverage and severity thresholds,
- image retention policy and storage hygiene assessment,
- cross-region image synchronization coverage,
- IAM agency permissions for CCE image pull,
- supply chain security verdict,
- recommended hardening actions with open questions that must be resolved before proceeding.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/huawei-cloud-swr-registry-governance-ms9wny9o/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/huawei-cloud-swr-registry-governance-ms9wny9o' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/huawei-cloud-swr-registry-governance-ms9wny9o/download' --output '.skill-downloads/huawei-cloud-swr-registry-governance-ms9wny9o/SKILL.md.part' && mv '.skill-downloads/huawei-cloud-swr-registry-governance-ms9wny9o/SKILL.md.part' '.skill-downloads/huawei-cloud-swr-registry-governance-ms9wny9o/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Read Grep Glob
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/huawei-cloud-swr-registry-governance-ms9wny9o/SKILL.md' && test -s '.skill-downloads/huawei-cloud-swr-registry-governance-ms9wny9o/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/huawei-registry-artifact-governor' && cp -R '.skill-downloads/huawei-cloud-swr-registry-governance-ms9wny9o' '.claude/skills/huawei-registry-artifact-governor'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/huawei-cloud-swr-registry-governance-ms9wny9o'openskills read 'huawei-cloud-swr-registry-governance-ms9wny9o'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/huawei-cloud-swr-registry-governance-ms9wny9o/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
DeFi AMM Security
Security
Security checklist for Solidity AMM contracts, liquidity pools, and swap flows. Covers reentrancy, donation attacks, oracle manipulation, slippage, and integer math.
Semgrep Rule Creator
Security
Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Includes test-first methodology, taint mode support, and validation steps. Helps when building targeted static analysis detections.
Dev Toolbar Review Guide
Security
Safety rules for the dev toolbar, PostHog client, and feature flags. Use when reviewing changes to dev-tools and related files, covering environment guards, override cookies, and SSE stream safety.