# LLMs Documentation

This file contains links to all documentation sections.

## Table of Contents

- [`ast-grep new`](/reference/cli/new.md)
- [`ast-grep run`](/reference/cli/run.md)
- [`ast-grep scan`](/reference/cli/scan.md)
- [`ast-grep test`](/reference/cli/test.md)
- [`sgconfig.yml` Reference](/reference/sgconfig.md)
- [`transform` Code in Rewrite](/guide/rewrite/transform.md)
- [Add New Language to ast-grep](/contributing/add-lang.md)
- [An Example of Rust's Fearless Concurrency](/blog/fearless-concurrency.md)
- [API Reference](/reference/api.md)
- [API Usage](/guide/api-usage.md)
- [ast-grep](/index.md)
- [ast-grep Blog](/blog.md)
- [ast-grep Gets More LLM Support!](/blog/more-llm-support.md)
- [ast-grep got 3000 stars!](/blog/stars-3000.md)
- [ast-grep got 6000 stars!](/blog/stars-6000.md)
- [ast-grep Playground Manual](/reference/playground.md)
- [ast-grep Rockets to 8000 Stars!](/blog/stars-8000.md)
- [ast-grep: 5000 stars and beyond!](/blog/stars-5000.md)
- [ast-grep's Journey to Type Safety in Node API](/blog/typed-napi.md)
- [Atomic Rule](/guide/rule-config/atomic-rule.md)
- [C](/catalog/c/index.md)
- [Command Line Reference](/reference/cli.md)
- [Command Line Tooling Overview](/guide/tooling-overview.md)
- [Comparison With Other Frameworks](/advanced/tool-comparison.md)
- [Composite Rule](/guide/rule-config/composite-rule.md)
- [Configuration Reference](/reference/yaml.md)
- [Contributing](/contributing/how-to.md)
- [Core Concepts in ast-grep's Pattern](/advanced/core-concepts.md)
- [Cpp](/catalog/cpp/index.md)
- [Custom Language Support](/advanced/custom-language.md)
- [Deep Dive into ast-grep's Match Algorithm](/advanced/match-algorithm.md)
- [Deep Dive into ast-grep's Pattern Syntax](/advanced/pattern-parse.md)
- [define a rewriter to remove the await keyword](/catalog/python/remove-async-await.md)
- [Design Space for Code Search Query](/blog/code-search-design-space.md)
- [Development Guide](/contributing/development.md)
- [Editor Integration](/guide/tools/editors.md)
- [efine test(x) (2*x)](/catalog/c/match-function-call.md)
- [ensure it only matches modal/tooltip but not tag](/catalog/html/upgrade-ant-design-vue.md)
- [Find & Patch: A Novel Functional Programming like Code Rewrite Scheme](/advanced/find-n-patch.md)
- [find the barrel import statement](/catalog/typescript/speed-up-barrel-import.md)
- [Fix](/reference/yaml/fix.md)
- [Frequently Asked Questions](/advanced/faq.md)
- [Go](/catalog/go/index.md)
- [Handle Error Reports](/guide/project/severity.md)
- [How ast-grep Works: A bird's-eye view](/advanced/how-ast-grep-works.md)
- [HTML](/catalog/html/index.md)
- [Java](/catalog/java/index.md)
- [JavaScript API](/guide/api-usage/js-api.md)
- [JSON Mode](/guide/tools/json.md)
- [Kotlin](/catalog/kotlin/index.md)
- [Lint Rule](/guide/project/lint-rule.md)
- [List of Languages with Built-in Support](/reference/languages.md)
- [Migrating Bevy can be easier with (semi-)automation](/blog/migrate-bevy.md)
- [Optimize ast-grep to get 10X faster](/blog/optimize-ast-grep.md)
- [or without fixer](/catalog/rule-template.md)
- [Pattern Syntax](/guide/pattern-syntax.md)
- [Performance Tip for napi usage](/guide/api-usage/performance-tip.md)
- [Playground](/playground.md)
- [Project Configuration](/guide/project/project-config.md)
- [Python](/catalog/python/index.md)
- [Python API](/guide/api-usage/py-api.md)
- [Quick Start](/guide/quick-start.md)
- [Relational Rules](/guide/rule-config/relational-rule.md)
- [Reusing Rule as Utility](/guide/rule-config/utility-rule.md)
- [Rewrite Code](/guide/rewrite-code.md)
- [rewrite Optional[T] to T | None](/catalog/python/recursive-rewrite-type.md)
- [Rewriter](/reference/yaml/rewriter.md)
- [Rewriter in Fix](/guide/rewrite/rewriter.md)
- [Ruby](/catalog/ruby/index.md)
- [Rule Catalog](/catalog/index.md)
- [Rule Essentials](/guide/rule-config.md)
- [Rule Object Reference](/reference/rule.md)
- [Rust](/catalog/rust/index.md)
- [Scan Your Project!](/guide/scan-project.md)
- [Search Multi-language Documents in ast-grep](/advanced/language-injection.md)
- [Test Your Rule](/guide/test-rule.md)
- [TODO:](/links/roadmap.md)
- [Transformation Object](/reference/yaml/transformation.md)
- [TSX](/catalog/tsx/index.md)
- [TypeScript](/catalog/typescript/index.md)
- [Untitled](/catalog/java/no-unused-vars.md)
- [Untitled](/catalog/html/extract-i18n-key.md)
- [Untitled](/catalog/go/match-function-call.md)
- [Untitled](/catalog/go/find-func-declaration-with-prefix.md)
- [Untitled](/catalog/cpp/find-struct-inheritance.md)
- [Untitled](/catalog/cpp/fix-format-vuln.md)
- [Untitled](/catalog/c/yoda-condition.md)
- [Untitled](/catalog/c/rewrite-method-to-function-call.md)
- [Untitled](/catalog/kotlin/ensure-clean-architecture.md)
- [Untitled](/catalog/tsx/avoid-jsx-short-circuit.md)
- [Untitled](/catalog/rust/rewrite-indoc-macro.md)
- [Untitled](/catalog/rust/get-digit-count-in-usize.md)
- [Untitled](/catalog/rust/boshen-footgun.md)
- [Untitled](/catalog/rust/avoid-duplicated-exports.md)
- [Untitled](/catalog/ruby/prefer-symbol-over-proc.md)
- [Untitled](/catalog/ruby/migrate-action-filter.md)
- [Untitled](/catalog/python/use-walrus-operator-in-if.md)
- [Untitled](/catalog/python/refactor-pytest-fixtures.md)
- [Untitled](/catalog/python/prefer-generator-expressions.md)
- [Untitled](/catalog/python/optional-to-none-union.md)
- [Untitled](/catalog/python/migrate-openai-sdk.md)
- [Untitled](/catalog/tsx/redundant-usestate-type.md)
- [Untitled](/catalog/tsx/avoid-nested-links.md)
- [Untitled](/catalog/yaml/find-key-value.md)
- [Untitled](/catalog/typescript/switch-from-should-to-expect.md)
- [Untitled](/catalog/typescript/no-console-except-catch.md)
- [Untitled](/catalog/typescript/no-await-in-promise-all.md)
- [Untitled](/catalog/typescript/migrate-xstate-v5.md)
- [Untitled](/catalog/typescript/find-import-usage.md)
- [Untitled](/catalog/typescript/find-import-file-without-extension.md)
- [Untitled](/catalog/tsx/unnecessary-react-hook.md)
- [Untitled](/catalog/tsx/rewrite-mobx-component.md)
- [Untitled](/catalog/tsx/reverse-react-compiler.md)
- [Untitled](/catalog/tsx/rename-svg-attribute.md)
- [What is ast-grep?](/guide/introduction.md)
- [YAML](/catalog/yaml/index.md)