File a bug about yadflow itself, with privacy-safe diagnostics, after the person''s yes to the exact text. Use when the user says "yad report", "report this bug", "file an issue", or "something broke in the flow".
3 stars
0 votes
0 copies
1 view
Added November 14, 2026
developmentgoshellnodegit
Works with
cli
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Yad Report?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/abdelrahmannasr-yad-report)
---
name: yad-report
description: 'File a bug about yadflow itself, with privacy-safe diagnostics, after the person''s yes to the exact text. Use when the user says "yad report", "report this bug", "file an issue", or "something broke in the flow".'
---
# yad — Self Issue Reporter
<!-- generated: yad-cli — from cli/skill-yad-cli.mjs by scripts/skill-yad-cli.mjs; do not edit by hand -->
**This skill needs the `yad` command.** Before its first `yad …` command, run `command -v yad` (in PowerShell, `(Get-Command yad -ErrorAction SilentlyContinue).Source`). When it prints nothing, the yadflow CLI is not installed on this machine: stop there, and tell the person:
- Install it with `npm install -g yadflow@latest`, or run each command as `npx -y yadflow@4 …` in place of `yad …`.
- It is needed because the CLI is what enforces the approvals. Without it, a step could only ask you to wait; it could not check that a person approved.
Go on only when that check prints a path, or when the person chooses `npx -y yadflow@4`. A command this skill already writes as `npx -y yadflow@4 …` runs without the install.
<!-- end: yad-cli -->
**Goal:** turn a broken flow into a fixable, well-formed bug report in the upstream yadflow repo —
without leaking any private data. This skill drives the `yad report` CLI command; it does not
hand-craft issues.
## When it runs
- **Manually:** the user runs `yad report` (optionally `yad report -m "one-line summary"`).
- **Automatically:** after an unexpected failure, the CLI's top-level handler offers
*"Report this failure to the yadflow team?"*. This is **interactive only** — it never fires in CI
(`SDLC_NONINTERACTIVE`) and is disabled by `YAD_NO_REPORT=1`.
## Privacy is the contract
Issues post to a **public** repo, so the reporter is **allowlist-first**. It sends ONLY:
- `yadflow` version, Node version, OS platform;
- tool state as booleans (`git` present; `gh` present + authenticated; `glab` too on a GitLab Product);
- the Product **platform enum** (`github` / `gitlab` / `local`) — never the URL, host, or any login;
- the `YadError` **code** + **hint**, and a **path-scrubbed** error message;
- the failing **command name and flag names only** — never flag values.
It **never** sends absolute paths, cwd, hostnames, git remote URLs, repo names/paths, logins
or emails, epic/story IDs or titles, branch names, `-m` free text, or the raw `yad doctor --json`
check list. Free-text fields (the summary, the error message) are scrubbed of paths / URLs / emails.
## On activation
1. **Assemble the safe context** (`sanitizeContext`) and, if interactive and no `-m` was given, ask
the user for a one-line summary.
2. **Deduplicate:** search open issues in `abdelrahmannasr/yadflow` by the error code (or the first
summary word). If matches exist, list them and offer to open an existing one instead of filing a
duplicate.
3. **Preview + consent:** print the exact title + body that will be posted to the public repo, then
ask *"Post this now?"*. Nothing leaves the machine without this confirmation.
4. **File:** with an authenticated `gh` (the upstream repo is on GitHub, so `glab` cannot file it), create the issue directly (label `bug`) and print the
URL. Otherwise, fall back to a **prefilled `issues/new` URL** (printed and, on a TTY, opened in the
browser) so the user can complete it manually.
## From an AI agent (E158)
An agent that finds a bug in yadflow, or a clear way yadflow could do better, while it works (not a
problem in the person's own project):
1. `yad report -m "<one line>" --kind bug|enhancement --json` — a preview; it never posts. Write the line
in general words: never a project name, code, a path, a branch, an id or a person.
2. Show the person the `title` and `body` exactly, and any `related` issues; if one matches, suggest adding
to it instead.
3. Ask every time — it goes to a public repo.
4. On a yes: `yad report -m "<the same line>" --kind <the same kind> --post --confirm <confirm>`, with the
`confirm` value from step 1. yad posts only when the text is exactly what the person saw; anything else
posts nothing, and the agent previews and asks again. With no `gh` login it prints the prefilled link.
`--kind enhancement` labels it `enhancement`, titles it `[report] Enhancement: …`, and leaves out the error
block.
## Hard rules
- Reuse the `yad report` command — do not craft issues by hand or shell out to `gh` directly.
- Reporting is best-effort: it must never crash the CLI or mask the original failure.
- Respect `SDLC_NONINTERACTIVE` and `YAD_NO_REPORT` — no prompts, no auto-offer when they are set.
- Diagnostics are the maintainers' input to fix bugs; keep the payload safe and truthful.