cap-trivia
Skill1 starsChanged 4 months agoMITView on GitHub
Run an interactive CAP trivia quiz. Picks a topic, searches the CAP documentation via MCP, and asks multiple-choice questions using the question tool. Optionally accepts a topic and difficulty. Use when a developer wants to test or deepen their CAP knowledge.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- capire/skillsword for word, first seen Jul 16, 2026
Other versions1 project uses a version of this.
Word for word · 1
- capire/skills★ 17100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository413 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- .cursor/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- sap-router-skillCopilot instructions
- .cursor/rules/sap-router.mdcCursor rule
- abap-cloud-migrationSkill
- abap-cloudSkill
- abap-code-patternsSkill
- abap-code-reviewSkill
- abap-docs-referenceSkill
- abapgitSkill
- abapSkill
- abap-snippetSkill
- abap-sql-amdpSkill
- abap-system-infoSkill
- abap-unit-testingSkill
- arc-1-skillsSkill
- atc-cloudificationSkill
- authorization-iamSkill
- automation-pilot-catalog-explorerSkill
- automation-pilot-command-generationSkill
- automation-pilot-command-reviewSkill
- automation-pilot-content-management-via-apiSkill
- automation-pilot-debuggerSkill
- automation-pilot-executions-apiSkill
- automation-pilot-executor-executescriptSkill
- automation-pilot-executor-httprequestSkill
- automation-pilot-mcp-server-generationSkill
- automation-pilot-scheduled-executions-apiSkill
- badi-enhancementSkill
- btp-abap-environmentSkill
- btp-best-practicesSkill
- btp-build-work-zoneSkill
- btp-business-application-studioSkill
- btp-ciasSkill
- btp-cloud-foundrySkill
- btp-cloud-identitySkill
- btp-cloud-loggingSkill
- btp-cloud-platformSkill
- btp-cloud-transport-managementSkill
- btp-connectivitySkill
- btp-developer-guideSkill
- btp-diagram-generatorSkill
- btp-integration-suiteSkill
- btp-job-schedulingSkill
- btp-master-data-integrationSkill
- btp-service-managerSkill
- cap-add-remote-serviceSkill
- cap-developerSkill
- capture-answerSkill
- cap-upgradeSkill
- cds-view-entitiesSkill
- claude-abap-skillsSkill
- claude-memSkill
- clean-abapSkill
- context-modeSkill
- cpi-iflow-developmentSkill
- engine-cap-developmentSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 9 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
If neither is given, pick a topic at random from the list above and choose intermediate difficulty.
- Distinctive: line 32
If the user provided a topic and/or difficulty, use those.
- Very specific: line 37
Use the cds-mcp_search_docs tool to find accurate, specific content for the chosen topic.
- Distinctive: line 54
Write exactly 3 multiple-choice questions grounded in what the documentation says.
- Distinctive: line 70
Avoid questions with answers like "all of the above" or "none of the above"
- Very specific: line 74
Call the question tool once with all questions as an array.
- Distinctive: line 85
After receiving the answers, output a compact result — one line per question, then the final score:
- Distinctive: line 96
Only add extra explanation for wrong answers.
- Distinctive: line 99
If the user scored less than 60%, suggest they read the relevant docs section and offer to run another round on the same topic at a lower …
- Distinctive: line 102
If the user scored 100%, offer a harder round on the same topic or a new topic.
- Distinctive: line 118
Always use the MCP doc search to source questions — do not rely on training knowledge alone.
- Very specific: line 120
Prefer questions about Node.js behavior unless the user specifically asks for Java.
- Very specific: line 122
Always ask exactly 3 questions.
- Distinctive: line 124
If the user provides a topic you can't find good doc material for, say so and suggest a nearby topic you can cover well.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
What I do
Generate a short interactive CAP trivia quiz. Pick (or receive) a topic,
search the CAP docs for accurate source material, write 3 multiple-choice
questions, and present them to the user using the question tool so they
appear as interactive choices — not just text.
Inputs (optional)
The user may provide:
- topic — e.g. "CDS modeling", "authorization", "databases", "MTX", "OData", "event queues", "handlers", "testing"
- difficulty —
beginner,intermediate, oradvanced
If neither is given, pick a topic at random from the list above and choose
intermediate difficulty.
Steps
1. Resolve topic and difficulty
If the user provided a topic and/or difficulty, use those. Otherwise, pick randomly. Do not output anything at this step — go straight to searching.
2. Search the CAP docs
Use the cds-mcp_search_docs tool to find accurate, specific content for
the chosen topic. Run 2–3 searches to gather enough material for varied
questions. Good search queries:
| Topic | Example search queries |
| CDS modeling | "entity aspects associations managed", "localized temporal" |
| Authorization | "restrict requires roles", "instance-based authorization" |
| Databases | "sqlite hana postgres plugin cap-js", "schema evolution deploy" |
| OData | "odata draft enabled fiori", "odata actions functions" |
| Event queues | "cds queued transactional event queue inbox" |
| Handlers | "srv.on before after handler phases", "req.reject error" |
| Testing | "cds.test jest supertest cap" |
| MTX | "cds-mtxs multitenancy sidecar extensibility" |
3. Compose the questions
Write exactly 3 multiple-choice questions grounded in what the documentation says. Each question must have 4 answer options (A–D).
Guidelines by difficulty:
| Difficulty | Focus |
beginner | Basic concepts, CLI commands, what things are called |
intermediate | How things work, when to use which approach, config |
advanced | Edge cases, subtle behavior, annotations with specific rules, internal mechanics |
Rules for good questions:
- Base every question on something found in the docs — no guessing
- Make exactly one option clearly correct
- Make the distractors plausible but wrong (not obviously silly)
- Vary the format: "which of these", "what happens when", "which annotation"
- Avoid questions with answers like "all of the above" or "none of the above"
4. Present questions using the question tool
Call the question tool once with all questions as an array. Each
question should have:
header: very short label, e.g."Q1","Q2"question: the full question textoptions: four choices, each with a conciselabel(the answer text) and adescriptionthat adds a brief hint or context
The user selects their answers and submits all at once.
5. Score and explain
After receiving the answers, output a compact result — one line per question, then the final score:
Q1 ✅ @odata.draft.enabled — enables OData draft for Fiori edit flows.
Q2 ❌ Correct: srv.before — runs before the generic handler, not after.
Q3 ✅ @restrict — declarative authorization via roles and conditions.
Score: 2 / 3Only add extra explanation for wrong answers. Keep correct answers to one short sentence.
If the user scored less than 60%, suggest they read the relevant docs section and offer to run another round on the same topic at a lower difficulty.
If the user scored 100%, offer a harder round on the same topic or a new topic.
Example question shape
Q3: Which annotation enables OData draft support for an entity?
A) @readonly
B) @odata.draft.enabled ← correct
C) @cds.persistence.skip
D) @Capabilities.UpdatableNotes
- Always use the MCP doc search to source questions — do not rely on training knowledge alone. CAP APIs and defaults change across major versions.
- Prefer questions about Node.js behavior unless the user specifically asks for Java.
- Always ask exactly 3 questions. No upfront announcements, no preamble —
just search, then present the questions via the
questiontool. - If the user provides a topic you can't find good doc material for, say so and suggest a nearby topic you can cover well.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

