GS/BS
← Standards directory
Code quality

ast-grep.

Match forbidden syntax structurally

Express a repository convention as a syntax-tree pattern. Keep a matching fixture and a near miss alongside the rule so equivalent formatting produces the same finding.

JavaScript / TypeScript / Rust / Go / Python

Use this standard

Run the check with the tool installed and configured for your project.

ast-grep scan

Agent prompt

Use ast-grep in this repository to meet this standard: Match forbidden syntax structurally. Express a repository convention as a syntax-tree pattern. Keep a matching fixture and a near miss alongside the rule so equivalent formatting produces the same finding. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

Read the agent skill ↗

Seikika package

The catalog has no verified package for this entry yet.

Adoption readiness

runnable · 4 of 5 evidence checks passed.

  • Pass · Defined scope — Match forbidden syntax structurally · JavaScript · TypeScript · Rust · Go · Python
  • Pass · Upstream reference — https://ast-grep.github.io/
  • Pass · Agent prompt — Use ast-grep in this repository to meet this standard: Match forbidden syntax structurally. Express a repository convention as a syntax-tree pattern. Keep a matching fixture and a near miss alongside the rule so equivalent formatting produces the same finding. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
  • Pass · Tool command — ast-grep scan
  • Missing · Seikika package — No Seikika package is listed.
How Seikika scores entries ↗

Primary source

ast-grep documentation ↗