Agent Skills › MODSetter/SurfSense › flashcards

flashcards

GitHub

根据指定主题生成严格 JSON 格式的抽卡学习卡组,用于主动回忆复习。支持自定义卡片数量与难度,确保内容原子化且无重复,符合特定 Schema 规范并经过验证保存。

docker/sandbox/skills/flashcards/SKILL.md MODSetter/SurfSense

Trigger Scenarios

用户需要制作学习卡片或复习材料 请求将知识内容转换为闪卡格式

Install

npx skills add MODSetter/SurfSense --skill flashcards -g -y
More Options

Non-standard path

npx skills add https://github.com/MODSetter/SurfSense/tree/main/docker/sandbox/skills/flashcards -g -y

Use without installing

npx skills use MODSetter/SurfSense@flashcards

指定 Agent (Claude Code)

npx skills add MODSetter/SurfSense --skill flashcards -a claude-code -g -y

安装 repo 全部 skill

npx skills add MODSetter/SurfSense --all -g -y

预览 repo 内 skill

npx skills add MODSetter/SurfSense --list

SKILL.md

Frontmatter
{
    "name": "flashcards",
    "description": "Create strict JSON flashcard decks for active-recall study."
}

Flashcards

Create one /workspace/<slug>.json file. JSON is the canonical deck; do not write a separate Markdown summary.

Contract

Use exactly this closed version-one shape:

{
  "schema_version": 1,
  "title": "Deck title",
  "cards": [
    {
      "front_text": "One focused recall prompt",
      "back_text": "A sufficient, concise answer",
      "hint_text": "Optional hint with inline math: \\(x^2\\)"
    }
  ]
}
  • Include 15–100 cards. Use a requested count within that range; otherwise choose 30–50 based on the source depth. Use mixed difficulty when unspecified. Do not ask for confirmation.
  • Test one distinct recall target per card. Plan and deduplicate the targets before writing JSON; do not repeat, paraphrase, reverse, or split the same fact merely to reach the minimum.
  • Report insufficient material only after finding fewer than 15 distinct recall targets in the available source and topic. Do not invent filler.
  • Title: 1–200 characters. Front: 1–4,000. Back: 1–12,000. Hint: 1–2,000 when present.
  • Keep each front atomic and each back sufficient without testing multiple unrelated facts.
  • Card fields are plain text. The only formatting syntax allowed is LaTeX: use \(...\) for inline math or \[...\] for display math. Escape each backslash as \\ in JSON. Keep delimiters and braces balanced; do not nest math delimiters.
  • Omit hint_text when no useful hint exists; never use null.
  • Do not add fields, change schema_version, duplicate fronts, or use raw HTML or Markdown in card content.
  • Write UTF-8 JSON without comments or a byte-order mark.

Verify and save

Call:

verify_artifact(path="/workspace/<slug>.json", format="flashcards")

Fix all blocking findings together, rewrite the JSON once, and reverify the exact path. If a blocker remains, stop and explain it instead of looping.

After verification returns status="verified", call:

save_artifact(path="/workspace/<slug>.json", title="...")

Do not pass markdown_representation; the backend derives trusted Markdown from the exact receipt-bound JSON.

For revisions, edit the restored JSON from primary_path, write the complete deck to expected_output_path, verify that path as flashcards, and save with the returned artifact_id and expected_generation. Do not edit the derived markdown_path or reconstruct the deck with vision.

Version History

  • 014e47a Current 2026-09-23 08:23

Same Skill Collection

.agents/skills/codebase-design/SKILL.md
.agents/skills/migrate-radix-to-base/SKILL.md
.agents/skills/shadcn/SKILL.md
.agents/skills/tdd/SKILL.md
.agents/skills/translate/SKILL.md
.cursor/skills/alert-manager/SKILL.md
.cursor/skills/animation-vocabulary/SKILL.md
.cursor/skills/backlink-analyzer/SKILL.md
.cursor/skills/competitor-analysis/SKILL.md
.cursor/skills/content-gap-analysis/SKILL.md
.cursor/skills/content-quality-auditor/SKILL.md
.cursor/skills/content-refresher/SKILL.md
.cursor/skills/domain-authority-auditor/SKILL.md
.cursor/skills/emil-design-eng/SKILL.md
.cursor/skills/entity-optimizer/SKILL.md
.cursor/skills/frontend-design/SKILL.md
.cursor/skills/geo-content-optimizer/SKILL.md
.cursor/skills/improve-codebase-architecture/SKILL.md
.cursor/skills/internal-linking-optimizer/SKILL.md
.cursor/skills/keyword-research/SKILL.md
.cursor/skills/memory-management/SKILL.md
.cursor/skills/meta-tags-optimizer/SKILL.md
.cursor/skills/on-page-seo-auditor/SKILL.md
.cursor/skills/performance-reporter/SKILL.md
.cursor/skills/python-patterns/SKILL.md
.cursor/skills/rank-tracker/SKILL.md
.cursor/skills/review-animations/SKILL.md
.cursor/skills/schema-markup-generator/SKILL.md
.cursor/skills/seo-content-writer/SKILL.md
.cursor/skills/serp-analysis/SKILL.md
.cursor/skills/shadcn/SKILL.md
.cursor/skills/system-architecture/SKILL.md
.cursor/skills/tdd/SKILL.md
.cursor/skills/technical-seo-checker/SKILL.md
.cursor/skills/ugc-brief/SKILL.md
.cursor/skills/vercel-react-best-practices/SKILL.md
.cursor/skills/web-design-guidelines/SKILL.md
docker/sandbox/skills/docx/SKILL.md
docker/sandbox/skills/html/SKILL.md
docker/sandbox/skills/infographic/SKILL.md
docker/sandbox/skills/mindmap/SKILL.md
docker/sandbox/skills/pdf/SKILL.md
docker/sandbox/skills/pptx/SKILL.md
docker/sandbox/skills/quiz/SKILL.md
docker/sandbox/skills/video/SKILL.md
docker/sandbox/skills/xlsx/SKILL.md
.agents/skills/frontend-workflow/SKILL.md
.cursor/skills/playwright-testing/SKILL.md

Metadata

Files
0
Version
176aed2
Hash
e1c69729
Indexed
2026-09-23 08:23

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-02 06:34
浙ICP备14020137号-1