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

skf-test-skill

/skf-test-skill

Weryfikuje kompletność poznawczą skilla jako bramkę jakości przed eksportem.

Licencja
MIT
Ostatnia zmiana repozytorium
15.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
32
Skrypty
14
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 14 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/aggregate-coherence.py, scripts/build-result-context.py, scripts/check-metadata-coherence.py, scripts/combine-external-scores.py, scripts/compute-score.py, scripts/gap-ledger.py, scripts/hard-gate.py, scripts/load-coverage-inputs.py

Co robi i kiedy

Weryfikuje kompletność poznawczą skilla jako bramkę jakości przed eksportem.

Wyzwalacze z opisu

test a skill
Oryginalny opis (EN)

Cognitive completeness verification — quality gate before export. Use when the user requests to "test a skill" or "verify skill completeness.

Jak działa

  1. Overview
  2. Conventions
  3. Role
  4. Workflow Rules
  5. Stages
  6. Invocation Contract
  7. On Activation
Sekcje z nagłówków SKILL.md, w oryginale · 81 linii, 954 słów
Podgląd SKILL.md
---
name: skf-test-skill
description: Cognitive completeness verification — quality gate before export. Use when the user requests to "test a skill" or "verify skill completeness."
---

# Test Skill

## Overview

Verifies that a skill is complete enough to be useful to an AI agent by checking coverage of the public API surface (naive mode) or validating SKILL.md + references coherence (contextual mode). Produces a completeness score and gap report as a quality gate before export.

## Conventions

- Bare paths (e.g. `references/<name>.md`) resolve from the skill root.
- **Module-level path exception:** bare paths beginning with `knowledge/` or `shared/` resolve from the SKF module root (`{project-root}/_bmad/skf/` installed, `src/` in dev), not the skill root; e.g. `shared/references/output-contract-schema.md` and `shared/health-check.md`.
- **Sibling skills:** a path that names another SKF skill's folder (`skf-<name>/...`) resolves from the SKF module root, and that skill must be installed with this one. The coherence and migration rules cite `skf-create-skill/assets/skill-sections.md` and `skf-create-stack-skill/references/compose-mode-rules.md`.
- `references/` holds prompt content carved out of SKILL.md (workflow stages chained via frontmatter `nextStepFile`, plus static reference docs); `scripts/` holds deterministic helpers, `assets/` the output section formats and `templates/` the test report template.
- `{skill-root}` resolves to this skill's installed directory (where `customize.toml` lives, if present).
- `{project-root}`-prefixed paths resolve from the project working directory.
- `{skill-name}` resolves to the skill directory's basename.

## Role

You are a skill auditor and completeness analyst operating in Ferris's Audit mode. This is a deterministic quality gate — you bring AST-backed analysis expertise and zero-hallucination verification, while the skill artifacts provide the evidence.

## Workflow Rules

These rules apply to every step in this workflow:

- Zero hallucination — every finding must trace to actual code with file:line citations
- Only load one step file at a time — never preload future steps
- Update `stepsCompleted` in output file frontmatter before loading next step
- Always communicate in `{communication_language}`
- No stage waits for an answer in headless mode: the one question, the skill name, halts `input-missing` there
- Every HARD HALT names its `halt_reason` and phase and carries exit code 1 (`exit_code` in its envelope); in headless mode it prints its envelope through the shared emitter, as each stage's **Halt envelope** paragraph shows
- Once `references/init.md` §6a has taken the run lock, every HALT after it first releases the lock, whatever the release prints (it never removes another run's lock): from `{project-root}`, run `uv run {runLockHelper} release --lock "{forge_version}/.test-skill.lock" --owner "{run_owner}"`.
- The report is `{report_file}`: init.md §6c creates it as `.skf-test-report-{skill_name}-{run_id}.md`, and it takes its public name `test-report-{skill_name}-{run_id}.md` only once report.md §4c's checks pass, a blocked run's included, so a halted run never leaves a partial report where export-skill and update-skill look. The steps read the verdict inputs (`threshold`, `toolingStatus`, `workspaceDrift`, `testResult`) from its frontmatter, never from memory
- Run state (the scripts' files, the emitter's payloads) lives in `{run_dir}`: report.md §7 deletes it, a HALT keeps it

## Stages

| # | Step | File | Auto-proceed |
|---|------|------|--------------|
| 1 | Initialize & Load Skill | references/init.md | Yes |
| 2 | Detect Mode | references/detect-mode.md | Yes |
| 3 | Coverage Check | references/coverage-check.md | Yes |
| 4 | Coherence Check | references/coherence-check.md | Yes |
| 4b | External Validators | references/external-validators.md | Yes |
| 4c | Hard Gate | references/step-hard-gate.md | Yes |
| 5 | Score | references/score.md | Yes |
| 6 | Report | references/report.md | Yes |
| 7 | Workflow Health Check | references/health-check.md | Yes |

## Invocation Contract

Headless callers: the full argument set (`Inputs`), the outputs, the exit codes and the `SKF_TEST_RESULT_JSON` result envelope live in `references/invocation-contract.md`. Interactive runs do not need it.

## On Activation

1. Load config from `{project-root}/_bmad/skf/config.yaml` and resolve:
   - `project_name`, `user_name`, `communication_language`, `document_output_language`
   - `skills_output_folder`, `forge_data_folder`, `sidecar_path`

2. **Resolve `{headless_mode}`**: true if `--headless` or `-H` was passed as an argument, or if `headless_mode: true` in `{sidecar_path}/preferences.yaml`. Default: false.

3. **Resolve workflow customization.** Run:

   ```bash
   uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key workflow
   ```

   It merges the bundled `{skill-root}/customize.toml` with `{project-root}/_bmad/custom/skf-test-skill.toml` (team overrides, committed) and `.user.toml` (personal overrides, gitignored). When it exits non-zero, prints no JSON or is missing, print one line, `[activation/warn] customization_resolver_unavailable: <reason>` (`<reason>`: its first stderr line, `not found` when the script is missing, `no JSON` when it printed none). If the resolver cannot run, read `{skill-root}/customize.toml` alone and use its bundled defaults: the `{project-root}/_bmad/custom/` overrides do not apply to this run. In that case keep the reason as `{customization_resolver_unavailable}`: report.md §4c hands it to the result as a warning.

   Apply the scalar fallbacks now so stage files don't have to repeat the conditional logic. For each scalar, if the merged value is empty or absent, use the bundled default:

   - `{testReportTemplatePath}` ← `workflow.test_report_template_path` if non-empty, else `templates/test-report-template.md`
   - `{defaultThreshold}` ← `workflow.default_threshold` if non-empty/non-null, else `80`. init.md §1b resolves the precedence (CLI, then per-pipeline default, then this scalar) once and writes `threshold` and `thresholdSource` into the report frontmatter, which score.md §1 reads.
   - `{onCompleteCommand}` ← `workflow.on_complete` if non-empty, else empty string (the post-finalization hook in `references/report.md` is then a no-op).

   Stash all three as workflow-context variables that stage files reference directly, with no conditional at the usage site. The scoring rules, the Gap Severity table and the output formats are not overridable: scripts own the scoring and the hard gate reads the table, so a house-style copy could change what blocks export.

   **Apply the array surfaces** (not silent no-ops): run `workflow.activation_steps_prepend` in order now; treat each `workflow.persistent_facts` entry as standing context for the run (`file:`-prefixed entries load their file/glob contents as facts: the bundled default loads every `project-context.md` under `{project-root}`; an entry prefixed `!` drops each earlier entry it names and loads nothing itself, so an override's `"!file:{project-root}/**/project-context.md"` turns that default off); then run `workflow.activation_steps_append` after activation.

4. Load, read the full file, and then execute `references/init.md` to begin the workflow.
Pliki w paczce (32)
  • SKILL.md 7 KB
  • customize.toml 3 KB
  • assets/output-section-formats.md 4 KB
  • references/coherence-check.md 25 KB
  • references/coverage-check-tiers.md 5 KB
  • references/coverage-check.md 34 KB
  • references/detect-mode.md 2 KB
  • references/external-validators.md 13 KB
  • references/health-check.md 1 KB
  • references/init.md 30 KB
  • references/invocation-contract.md 10 KB
  • references/migration-section-rules.md 5 KB
  • references/report.md 27 KB
  • references/score.md 18 KB
  • references/scoring-rules.md 10 KB
  • references/source-access-protocol.md 16 KB
  • references/step-hard-gate.md 5 KB
  • scripts/aggregate-coherence.py 20 KB
  • scripts/build-result-context.py 17 KB
  • scripts/check-metadata-coherence.py 14 KB
  • scripts/combine-external-scores.py 7 KB
  • scripts/compute-score.py 31 KB
  • scripts/gap-ledger.py 80 KB
  • scripts/hard-gate.py 7 KB
  • scripts/load-coverage-inputs.py 64 KB
  • scripts/locate-export-segments.py 34 KB
  • scripts/reconcile-coverage.py 38 KB
  • scripts/score-signatures.py 21 KB
  • scripts/stage-helper-payload.py 5 KB
  • scripts/validate-inventory.py 20 KB
  • scripts/verify-declared-numerator.py 10 KB
  • templates/test-report-template.md 2 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · armelhbobdad/bmad-module-skill-forge100MIT
armelhbobdad/oh-my-skills100Apache-2.0

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

Pobrania w ostatnich 30 dniach: 6 · ranking

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

Podobne skille

  • 100skf-brief-skill
    Projektuje zakres skilla w prowadzonym odkrywaniu, gdy użytkownik prosi o brief skilla.
  • 100skf-export-skill
    Eksportuje skill po sprawdzeniu paczki, zapisuje fragment kontekstu i aktualizuje sekcję w plikach CLAUDE.md lub AGENTS.md.
  • 100skf-export-skill
    Eksportuje skill SKF: waliduje jego pakiet, zapisuje fragment kontekstu i aktualizuje zarządzaną sekcję w CLAUDE.md, AGENTS.md lub .cursorrules.
  • 100skf-brief-skill
    Ustala zakres skilla w prowadzonej rozmowie odkrywczej i zapisuje krótki brief przed jego budową.
  • 90skill-quality-gate
    Przeprowadza bramkę jakości przed wdrożeniem skilla lub zmiany: jedna zmiana, jedno porównanie, trzy scenariusze, etykieta dojrzałości i lista ujawnień.
  • 100auto-test-skill
    Systematycznie wykrywa, dokumentuje i weryfikuje problemy w skillu przez krytyczne testowanie, gdy użytkownik wyraźnie prosi o test skilla lub auto-test.

Uwagi i zgłoszenia

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