brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
sap-skills-creatorCreates, refactors, audits, and validates SAP-related Agent Skills from project knowledge, completed engineering tasks, runbooks, source code, or existing skill drafts. Use when a team needs a secure, well-scoped, triggerable skill that follows the Agent Skills specification, progressive disclosure, repository conventions, and SAP AI Skills Library readines…
Independent GitHub snapshot · Automated classification · Original documentation governs
Procedural guidance for producing high-quality SAP-related Agent Skills. The skill turns real engineering knowledge into a scoped, secure, validated skill folder — never a vague SAP encyclopedia.
Take verified project knowledge (a runbook, a completed task, code, an API spec, review feedback) and produce a triggerable Agent Skill that:
Activate this skill when any of the following is true:
Do not activate this skill for:
SKILL.md focused, move detail to
references/, put templates in assets/, put deterministic operations
in scripts/.Load references/skill-design.md for the detailed design framework.
Choose an explicit mode at the start of the workflow. Do not switch modes silently.
| Mode | Trigger | Output |
|---|---|---|
| Create | No skill exists yet | New skills/<slug>/ folder + validation report |
| Refactor | A skill exists but is oversized, vague, insecure, or poorly organized | Reorganized skill + change report |
| Audit | A skill exists and only a review is requested | Findings report; no file writes |
| Repository integration | A skill must be wired into a multi-skill repository | Updated catalog, tests, and repository files |
| Submission preparation | A skill will be registered with the SAP AI Skills Library | Registration payload draft; no submission |
Mode-specific rules live in references/skill-design.md and references/repository-integration.md.
Before generating anything, capture or infer:
When the source materials answer these, inspect them first. Ask the user only about gaps that block a safe design. Priority order is:
The full interview protocol is in references/discovery-and-scoping.md.
Execute the phases in order. Do not skip a phase, and do not merge phases just because the user asked for speed.
Discover → Scope → Research → Design → Generate → Security review →
Validate → Evaluate → Integrate → Prepare submission
Load references/discovery-and-scoping.md.
Stop and clarify when there is no verified source of expertise. Generic LLM knowledge alone is not a valid source.
Write one problem statement:
This skill helps <target user or agent> perform <repeatable task> in
<context>, especially when <trigger condition>.
Draft the proposed skill slug (lowercase, hyphenated, ≤ 64 characters).
Fill in the requirements template (assets/skill-requirements-template.md) with the captured inputs.
Reject the scope when it is too broad ("all of SAP BTP"), too narrow ("fix this one error"), or overlaps with an existing skill without reason.
Load references/sap-domain-research.md.
Load references/skill-design.md.
Load references/progressive-disclosure.md and references/frontmatter-and-triggering.md.
Create the directory:
skills/<slug>/
├── SKILL.md
├── README.md
├── references/
├── assets/
└── scripts/
Write frontmatter first. Required fields:
---
name: <slug>
description: >-
<capability>. Use when <activation conditions>. Do not use for
<important exclusions>.
license: <license>
compatibility: <runtime prerequisites>
metadata:
author: <name>
version: "<version>"
category: <category>
repository: <owner/repo>
---
Keep SKILL.md focused. Target 300–450 lines. Hard limit 500 lines.
Move detailed technical documentation, command catalogues, and long
procedures into focused reference files under references/.
Put reusable templates and static resources in assets/.
Put deterministic operations (validators, formatters, parsers) in
scripts/. Load
references/scripts-and-resources.md
before adding any script.
Use relative links from the skill root. Avoid deeply nested reference chains.
Load references/security-review.md.
Walk the skill through every category:
Reject the skill until each finding is either fixed or explicitly documented as accepted risk.
Load references/validation-and-evaluation.md.
Run the validator against the target skill:
python .\skills\sap-skills-creator\scripts\validate_skill.py `
.\skills\<slug> `
--repository-root .
The validator checks structure, frontmatter, size, links, and security
heuristics. Read the human-readable output first, then rerun with --json
if a machine-readable payload is needed:
python .\skills\sap-skills-creator\scripts\validate_skill.py `
.\skills\<slug> `
--repository-root . `
--json
Exit codes:
0 — valid, no failures.1 — validation failures.2 — invalid invocation or internal error.Treat every FAIL as blocking. Triage each WARN explicitly: fix, or
document the reason it is intentional.
Load references/validation-and-evaluation.md.
Structural validation does not prove the skill activates correctly. Run a behavioural evaluation:
At least one execute-review-revise cycle is mandatory. Record the results in assets/skill-review-report-template.md.
Load references/repository-integration.md.
Confirm the skill lives at skills/<slug>/SKILL.md.
Update the root README.md skill catalog with a concise row.
Confirm the repository has a root LICENSE, SECURITY.md, and
CONTRIBUTING.md where the convention requires them.
Add unit tests for any script under tests/.
Run local discovery to confirm the skill can be found:
npx skills add . --list
Do not commit, push, tag, publish, or open GitHub issues.
Load references/sap-library-submission.md.
For SAP AI Skills Library preparation:
Do not submit the registration form. Do not claim SAP approval, SAP certification, or SAP endorsement.
At the end of a successful run, report:
README.md).PASS / WARN / FAIL counts).Use assets/skill-review-report-template.md for structured reports.
Stop the workflow and report when:
FAIL and the cause is not immediately fixable.Never claim a skill is ready, secure, SAP-certified, or SAP-approved on behalf of any project or organization.
references/discovery-and-scoping.mdreferences/skill-design.mdreferences/frontmatter-and-triggering.mdreferences/progressive-disclosure.mdreferences/sap-domain-research.mdreferences/security-review.mdreferences/scripts-and-resources.mdreferences/validation-and-evaluation.mdreferences/repository-integration.mdreferences/sap-library-submission.mdreferences/review-checklists.mdassets/skill-requirements-template.mdassets/skill-review-report-template.mdassets/sap-library-submission-template.mdscripts/validate_skill.pyBefore reporting a skill complete, verify:
SKILL.md frontmatter passes structural validation.SKILL.md is between 300 and 450 lines (hard limit 500).SKILL.md or from
another linked file.