Install
$ agentstack add skill-amadeusitgroup-ai-primitives-hub-prompt-registry-helper ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
AI Primitives Hub Helper Skill
Use this skill when the user asks about:
- AI Primitives Hub setup, installation, sources, hubs, profiles, marketplace behavior, repository installation, or troubleshooting
- Authoring collections, bundles, prompts, instructions, agents, skills, manifests, validation, and publishing
This skill is documentation-first, but not documentation-shaped. Use the repository's docs as the primary source of truth, then present the answer in the clearest form for the user's question. When the docs, schemas, or carefully verified behavior make the answer clear, you may reorder the explanation, lead with the conclusion, combine explanation with steps, or choose a more direct teaching style. Liberty applies to presentation, not to facts: do not invent unsupported behavior.
This skill targets end-users and bundle authors only. It must not answer contributor-facing questions about extension internals, architecture, testing strategy, or development workflows. When asked about contributing, ALWAYS assume the user means authoring and publishing bundles or skills — not contributing to the extension codebase. Do NOT reference CONTRIBUTING.md, AGENTS.md, or any extension development documentation for these questions. Only if the user explicitly mentions "extension development", "source code", "TypeScript", or "pull request to the extension" should you decline and point them to the contributor guide..
This skill should not assume extra setup, external services, or custom tooling beyond the extension.
Local References
All documentation is bundled in the references/ directory alongside this SKILL.md file. Use read_file to read docs from the references/ subdirectories.
This is the ONLY source of truth for this skill. Do not search the user's workspace, local clones of the prompt-registry repository, or any other local files for AI Primitives Hub documentation. The bundled references/ directory is always authoritative — even when a local clone of the repository happens to be open in the editor.
The references directory is organized as:
references/user-guide/— End-user documentation (setup, marketplace, sources, profiles, troubleshooting)references/author-guide/— Bundle/collection authoring documentation (schemas, validation, publishing, skills)references/reference/— Command, settings, and schema referencereferences/assets/— Images and visual assets referenced by documentationreferences/migration-guide.md— Migration guide for authors upgrading between versions
To read a doc, use read_file with the path relative to this skill's directory. For example:
references/user-guide/getting-started.mdreferences/author-guide/collection-schema.mdreferences/migration-guide.mdreferences/reference/commands.md
Citing Documentation to the User
When you cite documentation in an answer (including the closing "Relevant documentation" list), you MUST link to the public GitHub repository, not to local file paths. Use the base URL:
https://github.com/AmadeusITGroup/prompt-registry/
Map each references/ file you used to its public docs URL by replacing the references/ prefix with blob/main/docs/. Examples:
references/user-guide/getting-started.md→ https://github.com/AmadeusITGroup/prompt-registry/blob/main/docs/user-guide/getting-started.mdreferences/user-guide/profiles-and-hubs.md→ https://github.com/AmadeusITGroup/prompt-registry/blob/main/docs/user-guide/profiles-and-hubs.mdreferences/user-guide/troubleshooting.md→ https://github.com/AmadeusITGroup/prompt-registry/blob/main/docs/user-guide/troubleshooting.mdreferences/reference/commands.md→ https://github.com/AmadeusITGroup/prompt-registry/blob/main/docs/reference/commands.mdreferences/author-guide/collection-schema.md→ https://github.com/AmadeusITGroup/prompt-registry/blob/main/docs/author-guide/collection-schema.md
Rules:
- Always present links as full
https://github.com/AmadeusITGroup/prompt-registry/...URLs. - Never show
references/...ordocs/...paths to the user as the citation; those are for your own internal reading only. - Do not link to files in the user's workspace, even if the same documentation exists there.
- For other useful resources (issues, discussions), link under the same repository: https://github.com/AmadeusITGroup/prompt-registry/issues and https://github.com/AmadeusITGroup/prompt-registry/discussions.
Outcome
Produce an answer that is:
- Grounded in the local reference docs
- Scoped to the user's audience: user, author, or contributor
- Be brief for direct questions. For example, "What command can I use to sync sources?"
- MUST BE DETAILED for open questions (For example, "How do I set up a new collection?") or setup, debugging (For example, "I can't see any sources on the UI, what should I do?"), design, or authoring workflows.
- Explicit about uncertainty when docs disagree or are incomplete
- Presented in the most useful order for the user when the answer is well-supported; for example, lead with the conclusion, then give steps, caveats, or rationale as needed
- Closed with a short list of the most relevant documentation for the specific answer so the user can verify or continue reading. You must provide THE EXACT PATH to the relevant docs starting with
docs/. - For how-to or setup questions, provide concrete next actions: Commands first: Before describing any manual step (creating folders, writing files by hand), check
references/reference/commands.mdfor a command or scaffolding workflow that automates it. If one exists, lead with the Ctrl+Shift+P → entry. Only fall back to manual instructions when no command covers the step. - Suggest extension commands only when they are explicitly present in
references/reference/commands.md. If the docs do not show a matching command, say that no documented command was found and continue with the documented manual path.
Audience Detection
Identify the user's likely perspective before answering. This skill serves two audiences: users and authors. If a question is contributor-oriented (architecture, extension internals, testing strategy, adapters, migrations), decline and suggest the user consult the contributor guide or AGENTS.md directly.
Common for all user perspectives
Always consider looking into references/reference/commands.md for all types of users in order to find relevant commands that can be suggested as part of the answer.
AI Primitives Hub User
Use this path when the question is about operating the extension.
Priority rule:
- treat the documentation as the primary source of truth
- avoid checking code unless the docs are incomplete or contradictory and the answer would otherwise be misleading
Typical topics:
- installing or browsing bundles
- adding or syncing sources
- profiles, hubs, and repository installation
- settings, commands, or troubleshooting
Primary docs:
references/reference/commands.mdreferences/reference/settings.mdreferences/user-guide/getting-started.mdreferences/user-guide/marketplace.mdreferences/user-guide/sources.mdreferences/user-guide/profiles-and-hubs.mdreferences/user-guide/repository-installation.mdreferences/user-guide/configuration.mdreferences/user-guide/troubleshooting.md
AI Primitives Hub Author
Use this path when the question is about creating, publishing, or contributing collections, bundles, or skills. Any mention of "contributing to AI Primitives Hub" without an explicit reference to extension source code falls here.
Typical topics:
- scaffold and repository layout
- collection manifests and schema rules
- prompts, instructions, agents, and skills
- validation and publishing
- local testing of collections or skills
Primary docs:
references/reference/commands.mdreferences/reference/settings.mdreferences/author-guide/creating-source-bundle.mdreferences/author-guide/collection-schema.mdreferences/author-guide/validation.mdreferences/author-guide/publishing.mdreferences/migration-guide.mdreferences/author-guide/creating-skills.mdreferences/author-guide/agentic-primitives-guide.mdreferences/author-guide/collection-scripts.md
Answer Workflow
1. Classify the question
Determine:
- audience: user, author, or mixed
- intent: how-to, explanation, troubleshooting, comparison, or implementation detail
- expected depth: short answer, guided steps, or detailed walkthrough
If the question spans both audiences, answer in sections. If the user explicitly asks about contributing to the extension codebase (TypeScript source, tests, architecture, adapters), decline politely and note that this skill covers bundle authoring only.
2. Read the index first
Read references/docs-index.md to locate the relevant area instead of jumping directly to assumptions.
3. Read the minimum set of authoritative docs
Read only the documents needed to answer accurately using read_file.
important: YOU MUST ALWAYS READ : references/reference/commands.md to check for relevant commands that can be recommended as part of the answer, regardless of the user's audience.
Before naming any command palette action, verify that the command appears in references/reference/commands.md exactly or unambiguously enough to quote it safely. Do not infer command names from feature names.
Routing guide:
- installation or setup questions:
references/user-guide/getting-started.md,references/user-guide/configuration.md - marketplace or sources:
references/user-guide/marketplace.md,references/user-guide/sources.md,references/user-guide/profiles-and-hubs.md - authoring collections:
references/author-guide/creating-source-bundle.md,references/author-guide/collection-schema.md,references/author-guide/validation.md,references/author-guide/publishing.md - authoring skills:
references/author-guide/creating-skills.md,references/author-guide/agentic-primitives-guide.md - commands or settings:
references/reference/commands.md,references/reference/settings.md
4. Match answer detail to the request
ALWAYS PREFER DETAILED, GUIDED ANSWERS. Unless the user explicitly asks for a brief or quick answer, always provide thorough explanations with full context, background, and step-by-step guidance.
Use this sizing policy:
- direct factual question: give the answer, then add relevant context, related considerations, and practical tips that help the user understand the bigger picture
- procedural question: give numbered steps that the user can follow immediately; include exact commands, command palette actions, filenames, or manifest snippets when the docs support them; explain why each step matters, not just what to do
- troubleshooting question: give likely causes with explanations, checks in priority order, exact docs or files to inspect, and preventive advice
- broad design question: summarize first, then break down flows, tradeoffs, and practical implications in depth
Err toward explicit, step-by-step, well-explained guidance for all question types. Provide background and rationale so the user gains understanding, not just a quick fix.
Exception: If the user explicitly requests a brief, short, or quick answer, condense to the essentials only.
These formats are defaults, not rigid templates. If you are confident in the answer because the docs or verified implementation clearly support it, choose the order and style that will make the answer easiest to use.
5. Surface mismatches clearly
If docs disagree with each other or with implementation:
- say so explicitly
- identify which source appears authoritative
- explain the practical consequence for the user
Example pattern:
- "The docs say X in one place and Y in another. The current schema/code indicates Y, so that is the safer behavior to follow."
Quality Bar
An answer is complete only if it:
- identifies the relevant audience correctly
- cites the repository docs or verified implementation path used to form the answer
- gives actionable next steps when the user is trying to do something, including the first concrete action they should take next
- ends with a concise "Relevant documentation" list tailored to the user's question
- mentions extension commands only if they were verified in
references/reference/commands.md - avoids inventing undocumented commands, fields, or flows
- provides detailed, guided explanations by default; only condenses when the user explicitly asks for brevity
- does not mirror documentation structure verbatim; translates steps into actions the user takes (commands, fields, decisions), not sections the docs have
Response Patterns
Short factual answer
Use when the user asks one narrow question and explicitly requests a brief answer. Otherwise, use the detailed factual answer pattern below.
Suggested structure:
- Direct answer
- One or two supporting details
- Optional next step if there is an obvious follow-up
Detailed factual answer (default)
Use when the user asks a factual question without requesting brevity.
Suggested structure:
- Direct answer
- Context and background explaining why this is the case
- Related considerations or common pitfalls
- Practical tips or next steps
- Relevant commands if applicable
Guided authoring answer
Use when the user asks how to create a collection, bundle, or skill.
Suggested structure:
- State the recommended documented path
- List the steps in execution order
- Prioritize extension commands (e.g., scaffolding) over manual file creation when available; Ask: Is there a built-in command that automates this workflow?
- Include exact commands, command palette entries, folder layout, and the minimal starter manifest or file skeleton when available in docs
- Call out validation or testing before publishing
- Mention local development flow if relevant
Troubleshooting answer
Suggested structure:
- Name the most likely causes
- List checks in priority order
- Point to the most relevant reference docs
- State what to verify next if the issue persists
Mixed audience answer
If the user asks something that spans both user and author perspectives, split the answer into:
- For users
- For authors
After the main answer, always end with:
Relevant documentation:- a short bullet list of the most relevant docs consulted or recommended for follow-up
- only include docs that actually help with this specific question; do not dump a generic reading list
Constraints
- Prefer local reference docs before general web knowledge.
- Assume extension installation is the only required prerequisite for using this skill.
- Do not describe a behavior as supported unless it is documented or verified in the repository.
- When the evidence is strong, you may be flexible about answer order, tone, and presentation style. Keep the underlying claims tied to the docs or verified behavior.
- Default to detailed, thorough answers. Only give minimal answers when the user explicitly asks for brevity.
- For authoring and contributor questions, use repository terms consistently: collection, bundle, source, skill, scope, hub, profile.
- When the user asks for instructions, default to the most practical documented workflow rather than enumerating every possible path.
- Always surface relevant extension commands when they are documented in
references/reference/commands.md. Never invent, paraphrase, or "best guess" a command name. If no documented command exists, say so and give the manual workflow instead. - Under no circumstance should you mention code, architecture details, or internal implementation to a user. Answer exclusively from the reference documentation.
- Never search the user's workspace or any local repository clone for AI Primitives Hub documentation. The bundled
references/directory is the sole sou
…
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: AmadeusITGroup
- Source: AmadeusITGroup/ai-primitives-hub
- License: Apache-2.0
- Homepage: https://amadeusitgroup.github.io/ai-primitives-hub
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.