When modifying C++, C, or Java files in the Conscrypt project, you MUST run
the project's custom formatting script. The standard g4 fix or global
formatters are not sufficient as Conscrypt uses a specific configuration.
Critical Rules
Run after modifications: Always run the formatter after making any
changes to .java, .cc, .h, .cpp, or .c files in Conscrypt, and
before creating a CL, uploading, or submitting.
Files must be opened: The formatting script only processes files that
are currently opened for edit in your VCS (e.g., via g4 edit, hg edit, etc.). Ensure your modified files are opened before running the
script.
How to Format
Run the Python script located in the Conscrypt root directory:
1---2name: google-conscrypt-conscrypt3description: Conscrypt Formatting4---56# Conscrypt Formatting78When modifying C++, C, or Java files in the Conscrypt project, you **MUST** run9the project's custom formatting script. The standard `g4 fix` or global10formatters are not sufficient as Conscrypt uses a specific configuration.1112## Critical Rules13141. **Run after modifications**: Always run the formatter *after* making any15 changes to `.java`, `.cc`, `.h`, `.cpp`, or `.c` files in Conscrypt, and16 *before* creating a CL, uploading, or submitting.172. **Files must be opened**: The formatting script only processes files that18 are currently **opened for edit** in your VCS (e.g., via `g4 edit`, `hg19 edit`, etc.). Ensure your modified files are opened before running the20 script.2122## How to Format2324Run the Python script located in the Conscrypt root directory:2526```bash27python3 third_party/java_src/conscrypt/fix_format.py28```2930---31> Source: [google/conscrypt](https://github.com/google/conscrypt) — distributed by [TomeVault](https://tomevault.io).32<!-- tomevault:4.0:skill_md:2026-06-17 -->
Run npx skillmds@latest add tomevault-io/google-conscrypt-conscrypt in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Conscrypt Formatting It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.