Skip to content
Back to skills

Writeup Template

ASecurity

Use after completing any substantive security workflow with this project, including CTF, bug bounty, CVE validation, guided MCP assessment, DFIR or pentest/recon. Not for work on this repository itself (code review, tool inventories, troubleshooting the toolkit). Generates a writeup at writeups/<category>/<descriptive-case-name>.md following the project's mandatory structure. Triggers on "write writeup", "document this challenge", "write up the solve", "document this finding", or right after ...

  • 115 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 5, 2026
ai-agentspythongoshellbashsqlsecurity

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 20, 2026

npx -y skills add 26zl/cybersec-toolkit --skill writeup-template --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Writeup Template?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Writeup Template
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/26zl-writeup-template/badge)](https://www.skillsdirectory.com/skills/26zl-writeup-template)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: writeup-template
description: Use after completing any substantive security workflow with this project, including CTF, bug bounty, CVE validation, guided MCP assessment, DFIR or pentest/recon. Not for work on this repository itself (code review, tool inventories, troubleshooting the toolkit). Generates a writeup at writeups/<category>/<descriptive-case-name>.md following the project's mandatory structure. Triggers on "write writeup", "document this challenge", "write up the solve", "document this finding", or right after a flag/finding/result is confirmed.
---

# Generate a security workflow writeup

This is **MANDATORY** after every substantive security workflow on a target per `AGENTS.md`.
Work on this repository itself gets no writeup.
Writeups MUST pass markdownlint.

## File location

```text
writeups/<category>/<descriptive-case-name>.md
```

Examples:

- `writeups/ctf/htb-pilgrimage.md`
- `writeups/bug-bounty/example-idor.md`
- `writeups/cve/CVE-2024-xxxx-reproduction.md`
- `writeups/dfir/suspicious-powershell-investigation.md`
- `writeups/pentest/internal-lab-ad-assessment.md`
- `writeups/guided-assessment/example-web-recon.md`

If the directory doesn't exist, create it. When none of the six shipped folders (`ctf`, `bug-bounty`, `cve`, `pentest`, `dfir`, `guided-assessment`) fits, create a new category folder.

## Required structure

```markdown
# <Challenge Name>

**Platform/Program:** HTB / TryHackMe / CTF Name / Bug Bounty Program / Lab / Internal Scope
**Category:** Web / Pwn / Crypto / Forensics / CVE / DFIR / Cloud / Mobile / Network / Guided Assessment
**Difficulty/Severity:** Easy / Medium / Hard / Insane / Low / Medium / High / Critical
**Date:** YYYY-MM-DD

## Context / Scope

[What was being investigated and what was authorized.]

## Recon / Analysis

[What we discovered during initial enumeration or analysis. Include exact commands and trimmed output.]

## Exploitation / Validation

[Step-by-step attack path, validation path, exact commands, exact payloads, and exact flags.]

## Dead Ends

[Approaches that didn't work and why. So we don't repeat the mistake.]

## Finding / Result

[The flag, vulnerability, conclusion, or operational result. Do NOT paste credentials.]

## Tools Used

[Bullet list of tools that were key to the solve.]

## Lessons Learned

[1-3 bullets on what to remember next time.]

## Cleanup / Safety Notes

[Cleanup performed, sensitive data handling, or safety notes where relevant.]
```

## Writing style (HARD RULES)

- **No AI-isms.** Banned phrases: "Let's", "I'll", "Great question", "Here's what we found", "It's worth noting", "In conclusion".
- Use `we` or passive voice. Examples: "Ran nmap", "The binary was stripped", "Found SQLi in the login endpoint".
- Be detailed: exact commands, trimmed real output, exact payloads.
- Document failures too — they prevent repeat dead ends.
- If multi-session: add a rough timeline.

## Findings record

Record findings and flag candidates beside the writeup as `findings.json` in the format of `docs/FINDINGS.md`. Each carries its evidence and a status (claimed, observed or confirmed). A flag-format string stays a candidate until its derivation is repeated from the original data.

```bash
python3 scripts/validate_findings.py writeups/<category>/<case>/findings.json
python3 scripts/validate_findings.py writeups/<category>/<case>/findings.json --markdown
```

Paste the `--markdown` table into "Finding / Result".

## Markdownlint compliance

Default project config at `.markdownlint.jsonc`. Common issues to avoid:

- Surround headings with blank lines
- Surround fenced code blocks with blank lines
- No trailing whitespace
- Specify language on every fenced block
- ATX-style headings (`#`, not `===`)
- One blank line between sections (no double-blank)

Run before considering done:

```bash
npx markdownlint-cli2 "writeups/**/*.md"
```

## Sensitive data

- Run `evidence-hygiene` on commands and output before saving
- Replace credentials/keys with `[REDACTED_*]` placeholders and note their type and location only
- Bug bounty: report existence + access method, NOT the actual credentials
- Strip session tokens, real IPs of unrelated systems, PII
- Trim output blocks aggressively — full nmap output is noise, the open ports are the signal

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.