speckit.aftercode

A command that runs a fixed code-delivery sequence: synchronizing skill resources, creating a changelog entry, making a commit, and preparing a pull request.

In plain words
What is it for?
Use it after completing a feature when the project requires resource synchronization, changelog generation, a commit, and a pull-request body.
Why use it?
It reduces the chance of skipping a delivery step or running the steps in the wrong order. The process is sequential and does not ask for interaction between phases.

Command for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/visactor/vchart/speckit.aftercode
Clone the repo
git clone --depth 1 https://github.com/VisActor/VChart

Made for: Cursor.

Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,144 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00025 $0.01144
Opus 5 $0.00013 $0.00572
Sonnet 5 $0.00005 $0.00229
Haiku 4.5 $0.00003 $0.00114

Measured 3d ago against content hash 8539c623c1a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

speckit.aftercode scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/commands/speckit.aftercode.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

User Input

$ARGUMENTS

Outline

This command orchestrates the code delivery pipeline, executing the skilltypesync, changelog, commit, and prgenerate phases in a strict, sequential, and non-interactive flow. It ensures that the entire process, from synchronizing skill type resources to preparing the PR body, is automated while maintaining the precise behavior of each individual step.

Execution is strictly sequential. No steps will be skipped or run in parallel.

Phase 1: Sync Skill Type Resources (/speckit.skilltypesync)

  • Action: Initiates the delivery pipeline by invoking /speckit.skilltypesync.
  • Process:
    • Detects whether this feature includes user-facing config/API/type changes.
    • If required, synchronizes skill reference assets under:
      • skills/vchart-development-assistant/references/type-meta/
      • skills/vchart-development-assistant/references/type-details/
    • Runs consistency checks to prevent broken type references in the skill resources.
    • Any parameters provided in $ARGUMENTS will be passed through (for example: --base, --force, --types).
  • Handoff: Upon successful completion, automatically triggers the changelog phase.
  • Output Report:
    • "Phase 1 (Skill Type Sync) completed."
    • SYNC_TRIGGER: [auto-detected | forced]
    • UPDATED_TYPE_META: [List of updated files or empty]
    • UPDATED_TYPE_DETAILS: [List of updated files or empty]

Phase 2: Generate Changelog (/speckit.changelog)

  • Action: Triggered automatically after skilltypesync completes.
  • Process:
    • Collects commits since a base branch (defaulting to develop).
    • Infers the version bump type (patch, minor, major) automatically from commit messages unless an explicit bumpType is passed in $ARGUMENTS.
    • Generates the necessary change files within the common/changes/ directory.
    • Any parameters provided in $ARGUMENTS will be passed through to override default behavior.
  • Handoff: Upon successful completion, automatically triggers the commit phase.
  • Output Report:
    • "Phase 2 (Changelog) completed."
    • CREATED_FILES: [List of paths to generated files in common/changes/]
    • VALIDATION: "Changelog message conforms to Conventional Commits standards."

Read the full file on GitHub · 81 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 81 lines · 25 tokens per session scan A 8539c623c1a3

Subscribe to this mod's changes

speckit.aftercode is a command published in the GitHub repository VisActor/VChart (1,834 stars, last pushed 8d ago), licensed MIT. It adds 25 tokens to every session and 1,144 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.