In short.
c4-code is an AI assistant skill for developers who need detailed documentation of a component's implementation, but reliable results depend on the assistant reading the source accurately. Its template requests function signatures, source locations, class and module descriptions, and internal and external dependencies. Optional Mermaid examples cover class relationships, module exports, data pipelines and function calls. The supplied folder contains instructions rather than an executable analyzer, and the haiku model label does not establish a specific model version or supported host. No executed examples or accuracy measurements are supplied. Operating costs and installation compatibility are unknown.
Researched and written by an AI model and checked by a second AI model. How it works
The supplied capture covers the complete selected skills/c4-code folder, represented by skills/c4-code/SKILL.md, plus the repository-root LICENSE at commit 2ee2cf79b99035fbdabdfe0b1057034195e7571e. Other repository skills, documentation and integrations are outside this scope. Nothing was executed; installation, assistant behavior, generated-document accuracy and diagram rendering remain unassessed.
The overview
Identity
c4-code is the skill defined in skills/c4-code/SKILL.md within rmyndharis/antigravity-skills. Its purpose is to guide an assistant in documenting code at the lowest C4 level: individual functions, methods, classes and modules inside a component. The original folder is [https://github.com/rmyndharis/antigravity-skills/tree/main/skills/c4-code].
The supplied version is commit 2ee2cf79b99035fbdabdfe0b1057034195e7571e. The selected folder contains one instruction file; it does not include a standalone documentation application.
Assessment
The skill offers a useful starting structure when developers need to explain a component's implementation consistently. Source-location fields and separate dependency sections make its requested output more concrete than a general prose summary.
Its value is the documentation structure and diagram guidance. The supplied file does not establish reliable code discovery, exhaustive dependency analysis or automatic verification. It is best treated as a drafting aid whose output needs comparison with the source.
Users
Developers, maintainers and technical writers can use it to describe unfamiliar modules, service layers, handlers or repository code. Beginners get a checklist of what to document; experienced developers get explicit fields for signatures, dependencies and code relationships.
The examples cover object-oriented, functional, procedural and mixed code. They mention languages including TypeScript, Go, Rust and Elixir, but these are suggested requests rather than evidence of tested language support.
Capabilities
The template asks for a directory overview, purpose, language and location; function and method signatures with parameters and return types; class and module descriptions; source references; and internal and external dependencies. These are requested outputs, not demonstrated extraction results.
Its optional Mermaid patterns include class and interface relationships, modules with exported functions, data transformation pipelines and function dependency graphs. The guidance distinguishes documenting a component's internal code from higher-level architecture diagrams.
Using it
Requirements
Practical use requires an assistant that can receive the instructions and inspect the relevant source files. The target directory and documentation goals must be supplied. Viewing diagrams additionally requires software that renders Mermaid.
The front matter contains model: haiku, but gives no exact model identifier, provider configuration or explanation of whether a host enforces that setting. Supported assistants, operating systems, context limits and required tool permissions are unspecified.
Mechanism
The skill works through written instructions and an output template. It directs an assistant to clarify goals and inputs, describe code elements, record dependencies and provide verification. Diagram examples guide how relationships should be presented for different programming styles.
No parser, repository traversal script or validation program is bundled in the selected folder. How source files are found and interpreted therefore depends on the assistant and its available tools.
Setup
The version-specific instruction file is available at [https://raw.githubusercontent.com/rmyndharis/antigravity-skills/2ee2cf79b99035fbdabdfe0b1057034195e7571e/skills/c4-code/SKILL.md]. Supply it through the chosen assistant's supported instruction-loading method, then identify the directory to document and make its source available.
Exact installation paths, activation commands and host-specific configuration are not documented in this file. Compatibility with any particular assistant is unassessed.
Example
For a hypothetical TypeScript API directory, a suitable request would be: Analyze src/api and create C4 code-level documentation with function signatures, source locations, dependencies and a diagram where useful.
Following the template, the assistant would be expected to describe the directory, list its functions and classes, separate internal from external dependencies, and choose a class diagram or flowchart to explain complex relationships. This is an illustrative use case; no generated result or executed demonstration is supplied.
Assessment & evidence
Limitations
Requests for complete signatures and dependency lists do not establish completeness. The file provides no method for checking omitted files, resolving dynamic calls or measuring whether generated explanations match actual behavior.
The supplied material contains templates and example requests, with no executed demonstrations, benchmarks or generated project documentation. Documentation accuracy, language coverage and Mermaid rendering are untested. Some Markdown code fences are inconsistent, so copied templates may also need formatting cleanup.
Reasoning
The strongest practical feature is the connection between descriptions and source locations. Asking for signatures, file references and explicit dependencies gives readers concrete details to verify and helps expose vague explanations.
The diagram choices also serve different questions: class diagrams explain structural relationships, while flowcharts explain transformations or calls. This guidance can improve clarity, but it does not establish that an assistant will infer those relationships correctly.
Alternatives
The skill distinguishes its scope from C4-Component, C4-Container and C4-Context agents. Those are described as addressing component groupings, deployment units and high-level system views respectively. Their implementations and quality are not included in the supplied material.
For straightforward code, source-linked notes without a diagram may be sufficient. The skill itself makes diagrams optional and presents detailed code diagrams as most useful for complex components.
Evidence
The available material consists of the complete selected SKILL.md and the accompanying repository-root LICENSE, both tied to commit 2ee2cf79b99035fbdabdfe0b1057034195e7571e. The source file establishes the template and intended behavior; the licence establishes redistribution terms.
The recorded SHA-256 for SKILL.md is 7dd1e22d591797ef76b17a41dc7acadc1a719cc0c5a30e4457bd62d7c735a4b6. No host documentation, execution results or independent accuracy evidence is supplied.
Access & freshness
Costs
No model pricing, token consumption, subscription requirements or hosting costs are supplied. The haiku metadata alone is insufficient to calculate operating cost.
The MIT licence grants software-use rights, but does not establish the expense of running an assistant or reviewing its documentation. Total operating cost is unknown.
Rights
The accompanying repository-root MIT licence permits use, copying, modification, publication, distribution, sublicensing and sale. Copies or substantial portions must retain the copyright and permission notices.
The notices name Seth Hobson, copyright 2024, and Yudhi Armyndharis, copyright 2026. The software is supplied without warranty. The captured licence is [https://raw.githubusercontent.com/rmyndharis/antigravity-skills/2ee2cf79b99035fbdabdfe0b1057034195e7571e/LICENSE].
Freshness
The supplied snapshot was captured on 2026-11-17 at 05:31:07.893 UTC and identifies commit 2ee2cf79b99035fbdabdfe0b1057034195e7571e. These findings apply to that version.
Subsequent changes and compatibility with current assistant or Mermaid releases are unknown. The file does not pin a specific model version beyond the haiku label.
Actions
Begin with one bounded directory and specify whether the intended reader needs API details, class relationships or a data-flow explanation. Confirm the assistant's file-loading method before relying on the skill.
Compare generated signatures, source locations and dependency claims with the code. Render any Mermaid diagrams separately and inspect the relationships they show. Expand the documentation scope only after the initial output is useful, and retain the MIT notices when copying or redistributing the skill.
