AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Annotation Writer

skill-45ck-skill-harness-annotation-writer · by 45ck

Write correct @spec JSDoc annotations in source files to link code to specgraph spec documents and produce E0 evidence.

No reviews yet
0 installs
31 views
0.0% view→install

Install

$ agentstack add skill-45ck-skill-harness-annotation-writer

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-45ck-skill-harness-annotation-writer)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Annotation Writer? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Add @spec annotations to source files so specgraph's AnnotationProvider can scan them and produce E0 evidence.

Annotation syntax

/**
 * @spec SPEC-ID @implements ComponentName
 */

Or inline:

/** @spec SPEC-ID @implements ComponentName */

Multiple specs on one component — use separate blocks:

/** @spec AUTH-001 @implements TokenValidator */
/** @spec AUTH-002 @implements SessionStore */
export class AuthService { ... }

Relation types

| Annotation | Evidence relation | Use when | |-----------|------------------|----------| | @implements | IMPLEMENTS | This code directly implements the spec | | @verifies | VERIFIEDBY | This is a test that verifies the spec | | @satisfies | IMPLEMENTS | Alias for @implements | | @model | MODEL | This symbol is a data model referenced by the spec | | @test | VERIFIEDBY | This file is a test file for the spec | | @api | IMPLEMENTS | This is an API endpoint implementing the spec |

Placement rules

  1. Functions/methods — annotate the JSDoc block immediately above the function.
  2. Classes — annotate the class JSDoc block; all public methods are covered.
  3. Files — annotate the top-level export if the whole file implements one spec.
  4. Tests — use @verifies on test functions or describe blocks.

TypeScript examples

/**
 * Validates a JWT token and returns the decoded payload.
 * @spec AUTH-001 @implements TokenValidator
 */
export function validateToken(token: string): Payload { ... }

/**
 * @spec TASK-003 @verifies TodoFiltering
 */
describe('todo filters', () => { ... });

/**
 * @spec USER-002 @model UserModel
 * @spec USER-002 @api POST /users
 */
export class UserController { ... }

JavaScript (CommonJS) example

/**
 * @spec API-002 @implements RateLimiter
 */
module.exports.rateLimiter = function(req, res, next) { ... };

Multi-language support

Python, Go, Rust, Java, C#, Ruby, and most languages are supported via #, //, /* */, and """ comment styles.

# @spec AUTH-001 @implements TokenValidator
def validate_token(token: str) -> dict: ...
// @spec API-002 @implements RateLimiter
func RateLimiter(next http.Handler) http.Handler { ... }

Rules

  1. Use the exact spec ID as it appears in the spec file frontmatter (id: field).
  2. One annotation per @spec tag — do not chain multiple @spec tags in one block.
  3. ComponentName after @implements is free text — use something meaningful to the reader.
  4. After adding annotations, run specgraph verify to confirm the claims are detected.
  5. If claims are not appearing, check that the file extension is in annotationProvider.extensions in .specgraph/config.json (defaults: .ts, .js, .tsx, .jsx, .mjs, .cjs).
  6. Config file is .specgraph/config.json (falls back to .agent-docs/config.json).

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

  • Author: 45ck
  • Source: 45ck/skill-harness
  • License: MIT
  • Homepage: https://github.com/45ck/skill-harness/releases/tag/v0.1.0

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.