Claude Skill

goga-accept-usage-review

Validate cell-level usage files against actual implementation during acceptance

LLM Mart · 0 points · 14 views 0 listing impressions 0 install-command copies
Virus-scanned Reviewed automatically before listing.

Full trust report

Download qarium-goga-goga_assets_skills_goga-accept-usage-review-f1257db.zip · 1 KB
qarium/goga 31 0 forks BSD-3-Clause Updated 7d ago
Part of qarium/goga — 72 skills

Install

skills CLI npx skills add https://github.com/qarium/goga/tree/1.2.x/goga/assets/skills/goga-accept-usage-review
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install qarium-goga@llmmart
Git git clone https://github.com/qarium/goga.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole qarium/goga collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

goga-accept-usage-review

Identity

You are responsible for validating cell-level usage files against actual implementation during acceptance: verifying example accuracy and API description completeness.

Key Principle

You compare usages against actual implementation, update cell-level usages when necessary, and record discrepancies in project usages without modifying them.


Algorithm

Step 1. Load context

  1. Load the Acceptance Scope Report
  2. For each cell from the Acceptance Scope Report:
    1. Load CODEMANIFEST
    2. Load implementation files
    3. Load all cell-level usages: <cell_path>/.usages/*.md
    4. Load all project usages referenced by the cell via the Usages directive (files from .goga/usages/)

Step 2. Analyze cell-level usages

Question: How accurately do cell-level usages describe the cell facade API for the consumer?

Cell-level usages (.usages/*.md) are consumer-facing documentation for the cell facade API. They describe ready-to-use facade usage patterns.

For each file in <cell_path>/.usages/*.md:

  1. Example validity: Do the usage examples work with the current cell facade API?
  2. Description accuracy: Do parameter descriptions, signatures, and behavior match the actual API?
  3. Entity name alignment: Do entity names in the usage match signatures in CODEMANIFEST?
  4. Coverage completeness: Are all key facade usage scenarios documented?
  5. Self-sufficiency: Can the consumer understand the pattern without reading the cell source code?
  6. No duplication: Does the usage avoid duplicating CODEMANIFEST annotations? (Usage describes how to use, not what to implement)

For each discrepancy — update the cell-level usage file.

Step 3. Analyze project usages

Question: Are the project usages referenced by the cell accurate?

Project usages (.goga/usages/) are shared practice documents: libraries, tools, conventions. The agent does not refactor project usages — only records issues.

For each project usage referenced by the cell:

  1. Example validity: Do the code examples work with the current library/tool API?
  2. API coverage: Are all consumed parts of the API documented? (If an undocumented part is used — record it)
  3. Description accuracy: Do descriptions match the actual behavior?

For each discrepancy — record a remark without modifying the file.

Step 4. Validate updates

  1. Run: goga lint
  2. Fix errors if any

STOP if:

  • Cell-level usage cannot be reconciled with implementation
  • Linter fails after updates

Output format

Fill in every section. Empty sections are not allowed.

# Usage Review Report

## Cell-level usages
[Table: Cell | Usage file | Examples valid? | Descriptions accurate? | Names aligned? | Updated?]

## Project usages — remarks
[Table: Usage file | Referenced by cells | Remark | Type (broken example / undocumented API / inaccurate description)]

## Integrity
[Table: Cell | All Usages have files? | All imported usages exist? | All usages referenced in annotations?]

## Applied updates
[Table: Usage file | Change | Reason]

## Uncovered patterns
[Facade usage patterns not documented in usages. Empty if none]

## Overall consistency
[CONSISTENT / INCONSISTENT — with justification]
Files (goga)
  • SKILL.md 3.4 KB
    ---
    name: goga-accept-usage-review
    description: Validate cell-level usage files against actual implementation during acceptance
    ---
    # goga-accept-usage-review
    
    ## Identity
    
    You are responsible for validating cell-level usage files against actual implementation during acceptance: verifying example accuracy and API description completeness.
    
    ## Key Principle
    
    You **compare** usages against actual implementation, **update** cell-level usages when necessary, and **record** discrepancies in project usages without modifying them.
    
    ---
    
    ## Algorithm
    
    ### Step 1. Load context
    
    1. Load the Acceptance Scope Report
    2. For each cell from the Acceptance Scope Report:
       a. Load CODEMANIFEST
       b. Load implementation files
       c. Load all cell-level usages: `<cell_path>/.usages/*.md`
       d. Load all project usages referenced by the cell via the `Usages` directive (files from `.goga/usages/`)
    
    ### Step 2. Analyze cell-level usages
    
    **Question: How accurately do cell-level usages describe the cell facade API for the consumer?**
    
    Cell-level usages (`.usages/*.md`) are consumer-facing documentation for the cell facade API. They describe ready-to-use facade usage patterns.
    
    For each file in `<cell_path>/.usages/*.md`:
    
    1. **Example validity**: Do the usage examples work with the current cell facade API?
    2. **Description accuracy**: Do parameter descriptions, signatures, and behavior match the actual API?
    3. **Entity name alignment**: Do entity names in the usage match signatures in CODEMANIFEST?
    4. **Coverage completeness**: Are all key facade usage scenarios documented?
    5. **Self-sufficiency**: Can the consumer understand the pattern without reading the cell source code?
    6. **No duplication**: Does the usage avoid duplicating CODEMANIFEST annotations? (Usage describes **how to use**, not **what to implement**)
    
    For each discrepancy — update the cell-level usage file.
    
    ### Step 3. Analyze project usages
    
    **Question: Are the project usages referenced by the cell accurate?**
    
    Project usages (`.goga/usages/`) are shared practice documents: libraries, tools, conventions. The agent does not refactor project usages — only records issues.
    
    For each project usage referenced by the cell:
    
    1. **Example validity**: Do the code examples work with the current library/tool API?
    2. **API coverage**: Are all consumed parts of the API documented? (If an undocumented part is used — record it)
    3. **Description accuracy**: Do descriptions match the actual behavior?
    
    For each discrepancy — record a remark without modifying the file.
    
    ### Step 4. Validate updates
    
    1. Run: `goga lint`
    2. Fix errors if any
    
    STOP if:
    - Cell-level usage cannot be reconciled with implementation
    - Linter fails after updates
    
    ---
    
    ## Output format
    
    Fill in every section. Empty sections are not allowed.
    
    ```md
    # Usage Review Report
    
    ## Cell-level usages
    [Table: Cell | Usage file | Examples valid? | Descriptions accurate? | Names aligned? | Updated?]
    
    ## Project usages — remarks
    [Table: Usage file | Referenced by cells | Remark | Type (broken example / undocumented API / inaccurate description)]
    
    ## Integrity
    [Table: Cell | All Usages have files? | All imported usages exist? | All usages referenced in annotations?]
    
    ## Applied updates
    [Table: Usage file | Change | Reason]
    
    ## Uncovered patterns
    [Facade usage patterns not documented in usages. Empty if none]
    
    ## Overall consistency
    [CONSISTENT / INCONSISTENT — with justification]
    ```
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.

Related