microsoft/promptkit · Archived

ingest-cwe-taxonomies

Ingest the official MITRE CWE database and generate per-domain security audit taxonomies for PromptKit. Use this skill when the user wants to update CWE taxonomies, ingest a new CWE version, or regenerate domain mappings from the CWE corpus.

First seen Jul 10, 2026

Installation

$ npx skills add microsoft/promptkit --skill ingest-cwe-taxonomies

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from microsoft/promptkit.

npx skills add microsoft/promptkit

Browse all from microsoft/promptkit

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 96
License LICENSE
Default branch main
Open issues 13
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,426 B
  • docs SUMMARY.md 270 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

<!-- Generated by PromptKit — edit with care -->

You must read and execute the prompt file at .github/prompts/ingest-cwe-taxonomies.prompt.md. Treat it as the complete, self-contained instruction set for the CWE ingestion pipeline.

Inputs

  • CWE source: A local path to a CWE XML file, or latest to download

the current release from https://cwe.mitre.org/data/xml/cwec_latest.xml.zip.

  • Any overrides to the domain registry or mapping rules the user specifies.

Output

  • Per-domain taxonomy files at taxonomies/cwe-<domain>.md (13 domains)
  • Normalized CWE data at data/cwe/<version>/
  • Updated manifest.yaml with new taxonomy entries
  • Reusable ingestion script at scripts/ingest-cwe.py
  • Diff report if a previous CWE version exists

Workflow

  1. Read .github/prompts/ingest-cwe-taxonomies.prompt.md before doing

anything else.

  1. Ask the user for the CWE source (path or latest).
  2. Follow all six phases defined in the prompt file: Acquisition,

Normalization, Domain Mapping, Taxonomy Generation, Integration, and Verification.

  1. Do NOT skip the sanity checks in Phase 6.