Przejdź do treści
Biblioteka skilli
AI i agenci · Pisanie

skill-card-generator

/skill-card-generator

Generuje lub aktualizuje kartę governance dla wskazanego, istniejącego katalogu skilla agenta.

Repozytorium
trustworthy-ai ↗
Licencja
CC0-1.0
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
14
Skrypty
3
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

CC0-1.0, otwarta.

Co sprawdzić przed instalacją
  • 3 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/discover_assets.py, scripts/render_card.py, scripts/validate_submission.py

Co robi i kiedy

Generuje lub aktualizuje kartę governance dla wskazanego, istniejącego katalogu skilla agenta.

Oryginalny opis (EN)

Use only to generate or update a governance skill card for a specified existing agent skill directory. Do not use for explaining, listing, comparing, or discussing skill capabilities.

Jak działa

  1. Purpose
  2. Prerequisites
  3. Instructions
  4. Available Scripts
  5. Examples
  6. Limitations
  7. Troubleshooting
  8. Files in this skill
Sekcje z nagłówków SKILL.md, w oryginale · 105 linii, 767 słów
Podgląd SKILL.md
---
name: "skill-card-generator"
description: "Use only to generate or update a governance skill card for a specified existing agent skill directory. Do not use for explaining, listing, comparing, or discussing skill capabilities."
license: CC-BY-4.0 AND Apache-2.0
compatibility: "Any agent that can run Python scripts and write files"
metadata:
  author: "Trustworthy AI Projects <trustworthyaiprojects@nvidia.com>"
  tags:
    - skill-card
    - governance
    - documentation
    - trustworthy-ai
  domain: documentation
permissions:
  file_read:
    - "target_skill_directory"
    - "references/"
    - "scripts/"
  file_write:
    - "target_skill_directory"
    - "/tmp/"
  shell:
    allowed_scripts:
      - "scripts/discover_assets.py"
      - "scripts/render_card.py"
      - "scripts/validate_submission.py"
---

# Generate Skill Card

**Skill directory to analyze**: $ARGUMENTS

## Purpose

Create a draft NVIDIA governance skill card for an existing agent skill. The skill gathers source signals, guides the agent to build a grounded JSON context, renders a deterministic markdown card, and checks that human-review markers were removed before submission.

Use this when:
- A skill directory already exists and needs a new governance card.
- A changed skill needs its existing card refreshed.
- A skill owner is preparing legal/safety review material.

Do NOT use for:
- Explaining, listing, comparing, or discussing skills or skill capabilities.
- Creating or rewriting the source skill itself.
- Generating cards for non-skill assets such as models, datasets, containers, or full systems.
- Signing, publishing, or approving a skill card.
- Replacing required human legal, safety, or owner review.

## Prerequisites

- Python 3 is available.
- `jinja2` is installed before running `render_card.py`.
- The target path is a skill directory containing `SKILL.md` or `skill.md`.
- The agent can write a temporary context JSON file and the rendered card output.
- Runtime permissions allow reads from `target_skill_directory` plus this skill's `references/` and `scripts/`, writes only to the target skill directory or `/tmp/`, and shell execution only for the three scripts listed below.

## Instructions

1. First, read this `SKILL.md` completely before running any script.
2. Resolve the target skill directory from `$ARGUMENTS`; if omitted, use the current working directory.
3. Stay within the declared permission scope. Do not read `.env`, credential files, hidden auth folders, or unrelated repo files; do not write outside the target skill directory or `/tmp/`.
4. Run `scripts/discover_assets.py` against the target. Use the structured signal summary first; if output is truncated, read only targeted files or small excerpts.
5. Build a context JSON file from the structured signal summary first, then from extracted file contents only when needed.
6. Populate `credential_requirements` with only two fields: `requires_api_key_or_credential` and `credential_types`. Ground the classification in SKILL.md prose documentation — not script inspection alone. For `credential_types`, use the controlled vocabulary in `references/style-guide.md`. Never include credential values, assignments, or raw environment variable names.
7. Follow `references/style-guide.md` for every context field. Use `HUMAN-REQUIRED` only when no source supports a truthful value.
8. Render the card with `scripts/render_card.py` and fix any schema errors before proceeding.
9. Review the card manually, remove resolved VERIFY and SELECT markers, then run `scripts/validate_submission.py`.
10. Before finishing, confirm the rendered card has no unrendered `{{ ... }}` or `{% ... %}` template fragments.

## Available Scripts

| Script | Purpose | Arguments |
| --- | --- | --- |
| `scripts/discover_assets.py` | Extracts skill files, repo signals, style guide, and template into one discovery report. | `<skill_directory>` |
| `scripts/render_card.py` | Validates context JSON and renders the skill card from the Jinja template. | `--context <context.json> --template <skill-card.md.j2> --out <output.md>` |
| `scripts/validate_submission.py` | Fails if the rendered card still contains VERIFY or SELECT review markers. | `<rendered-card.md>` |

## Examples

Discover signals for a target skill:

```text
run_script("scripts/discover_assets.py", args=["/path/to/target-skill"])
```

Render a card from the completed context:

```text
run_script(
  "scripts/render_card.py",
  args=[
    "--context", "/tmp/target-skill-context.json",
    "--template", "references/skill-card.md.j2",
    "--out", "/path/to/target-skill/target-skill-card.md"
  ]
)
```

Validate the reviewed card before submission:

```text
run_script("scripts/validate_submission.py", args=["/path/to/target-skill/target-skill-card.md"])
```

## Limitations

- The generated card is a draft and must be reviewed by a human owner.
- Discovery is limited to local files and repo metadata visible from the target path.
- The renderer validates required context shape, not the legal or safety correctness of field values.
- Canned limitation and risk catalogs are starting points; remove entries that do not apply.

## Troubleshooting

| Error | Cause | Solution |
| --- | --- | --- |
| `directory not found` | The target path is wrong or not mounted in the workspace. | Re-run discovery with the absolute path to the skill directory. |
| `jinja2 not installed` | The renderer dependency is missing. | Install `jinja2`, then re-run `render_card.py`. |
| `Context validation failed` | Required fields are missing or typed incorrectly. | Fix the context JSON using `references/style-guide.md`. |
| Unresolved marker failure | VERIFY or SELECT markers remain after review. | Confirm each marked field, prune catalog entries, then re-run `validate_submission.py`. |

## Files in this skill

- `SKILL.md` - this file (orchestration)
- `references/style-guide.md` - per-context-field guidance
- `references/skill-card.md.j2` - exact card layout
- `references/Skill Card Generator License.txt` - license text for this skill package
- `references/catalog/limitations.json` - canned technical-limitations catalog
- `references/catalog/risks.json` - canned risk-management catalog
- `scripts/discover_assets.py` - discovery and signal extraction
- `scripts/render_card.py` - Jinja renderer with context validation
- `scripts/validate_submission.py` - pre-submission marker validator
Pliki w paczce (14)
  • BENCHMARK.md 4 KB
  • SKILL.md 6 KB
  • Skill Card Generator Card 3 KB
  • Skill Card Generator License 30 KB
  • skill-card.md 4 KB
  • skill.oms.sig 7 KB
  • evals/evals.json 12 KB
  • references/skill-card.md.j2 6 KB
  • references/style-guide.md 23 KB
  • references/catalog/limitations.json 1 KB
  • references/catalog/risks.json 1 KB
  • scripts/discover_assets.py 32 KB
  • scripts/render_card.py 15 KB
  • scripts/validate_submission.py 4 KB

Wersje

W bazie nie ma innych skilli o nazwie skill-card-generator.

Migawka bazy z 13.11.2026 · wersja paczki 127b89d92ab1 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100governance-checklist-generator
    Prawdopodobnie generuje listy kontrolne ładu korporacyjnego w ramach Enterprise Workflows, na podstawie nazwy skilla.
  • 84add-adaptive-card
    Generuje Adaptive Card i wstawia ją do tematu Copilot Studio przez AdaptiveCardPrompt, na przykład kartę formularza, informacyjną, potwierdzenia lub interaktywną.
  • 100a2a-agent-card
    Tworzy i konfiguruje karty agenta A2A, czyli dokument opisujący możliwości, umiejętności i punkt dostępu agenta dla innych agentów.
  • 100skill-creator
    Prowadzi przez tworzenie skilli rozszerzających możliwości agenta o wiedzę specjalistyczną, workflow i integracje z narzędziami, także przy aktualizacji istniejącego skilla.
  • 100authoring-model-cards
    Generuje kartę modelu dla klinicznego modelu NER lub deidentyfikacji OpenMed: zamierzone użycie, metryki, wyniki podgrup, ograniczenia i zastrzeżenie wyrobu medycznego dla zarządzania AI.
  • 100go-test-generator
    Prawdopodobnie generuje testy w Go na podstawie nazwy skilla z kategorii Test Automation.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.