feedback

GitHub

收集用户反馈,结构化后预览确认,通过 CLI 或 GitHub API 提交 Issue。支持自动运行诊断报告并安全处理用户输入,防止命令注入。

plugins/tinyfish/skills/feedback/SKILL.md tinyfish-io/tinyfish-cookbook

Trigger Scenarios

用户提交 Bug 报告 提供功能建议 请求生成诊断报告

Install

npx skills add tinyfish-io/tinyfish-cookbook --skill feedback -g -y
More Options

Non-standard path

npx skills add https://github.com/tinyfish-io/tinyfish-cookbook/tree/main/plugins/tinyfish/skills/feedback -g -y

Use without installing

npx skills use tinyfish-io/tinyfish-cookbook@feedback

指定 Agent (Claude Code)

npx skills add tinyfish-io/tinyfish-cookbook --skill feedback -a claude-code -g -y

安装 repo 全部 skill

npx skills add tinyfish-io/tinyfish-cookbook --all -g -y

预览 repo 内 skill

npx skills add tinyfish-io/tinyfish-cookbook --list

SKILL.md

Frontmatter
{
    "name": "feedback",
    "description": "File structured feedback about TinyFish — bug reports, confusing setup steps, missing features, or a doctor diagnostic report. Creates a GitHub issue on tinyfish-io\/tinyfish-cookbook with the user's approval; nothing is sent without an explicit preview."
}

TinyFish Feedback

Collect the user's feedback, structure it, preview it, then file it. Nothing leaves the machine without the user seeing the exact text first.

Collect

Ask (briefly) for: what they were trying to do, what happened instead, and what they expected. For anything setup-, auth-, or connectivity-shaped, run npx -y @tiny-fish/cli@latest doctor and offer to attach its stdout JSON verbatim — it is schema-versioned and already redaction-safe (undeclared fields stripped on parse, messages authored rather than raw). Do not add fields, summarise it, or paste config contents alongside it. On exit 2 doctor produced no JSON — say so instead of attaching an empty report.

Structure

### What I was doing
…
### What happened
…
### Expected
…
### Environment
harness + version, CLI version (if known)
### Doctor report (optional)
`tinyfish doctor` stdout, verbatim

Preview gate

Show the complete issue body to the user and ask for an explicit yes before filing. Any edit they request happens before filing.

File

  • Preferred: write the body and the title to files, then gh issue create --repo tinyfish-io/tinyfish-cookbook --title "$(cat "$title_file")" --body-file "$body_file" (only if gh is installed and authenticated). Both values come from the user's free-form text (the body also carries doctor's JSON), so neither may reach the shell as literal text — including in a title=… assignment, where backticks or $(…) are evaluated just the same. cat's output is not re-parsed. Never build the command as a string or run it through eval.
  • Fallback: open a prefilled issue URL (https://github.com/tinyfish-io/tinyfish-cookbook/issues/new?title=…&body=…). Percent-encode both values — an unencoded # truncates the body and & splits it into junk parameters. URL length limits truncate long bodies anyway — if the body was truncated, tell the user and show the full text so they can paste the remainder.

This repo is public — remind the user of that in the preview if the report contains anything they typed free-form.

Version History

  • 8615317 Current 2026-08-28 21:06

    修复标题参数未引用导致的注入风险;禁止使用 eval 或拼接命令字符串;更新 doctor schema_version 至 3;增加 ~/.grok 配置目录读取。

  • 2751ef7 2026-08-20 09:57

Same Skill Collection

plugins/tinyfish/skills/doctor/SKILL.md
skills/competitor-update/SKILL.md
skills/enrich-excel/SKILL.md
skills/freelance-gig-finder/SKILL.md
skills/hackathon-finder/SKILL.md
skills/leetcode-coach/SKILL.md
skills/npm-package-comparator/SKILL.md
skills/salary-market-scanner/SKILL.md
skills/stalk-my-interviewer/SKILL.md
skills/tech-stack-detective/SKILL.md
skills/tinyfish-doctor/SKILL.md
skills/tinyfish-social-listening/SKILL.md
skills/tinyskill/SKILL.md
skills/use-tinyfish/SKILL.md
plugins/tinyfish/skills/agent/SKILL.md
plugins/tinyfish/skills/fetch/SKILL.md
plugins/tinyfish/skills/search/SKILL.md
skills/company-hiring-intel/SKILL.md
skills/dep-security/SKILL.md
skills/dev-pain-finder/SKILL.md
skills/interview-prep/SKILL.md
skills/kb-builder/SKILL.md
skills/oss-alternatives/SKILL.md
skills/summer-school-finder/SKILL.md
skills/tenders-finder/SKILL.md

Metadata

Files
0
Version
8615317
Hash
1047dd9c
Indexed
2026-08-20 09:57

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-13 01:11
浙ICP备14020137号-1 $방문자$