OpenParable
Skip to content
← Back to skills

Add Source File

Development
add-source-file

Add Source File is an Agent Skill for development published in the google/boringssl repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

How to add a new source file to the BoringSSL build.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/google/boringssl/blob/HEAD/agents/skills/add_source_file/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/add-source-file, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Adding a Source File to the Build

To add a new source file (C/C++, header, or assembly) to BoringSSL, you must update the build configuration and regenerate the build files.

Steps

  1. Update build.json:

    • Add the new file to the correct section (e.g., srcs, hdrs, internal_hdrs) under the appropriate target in build.json.
    • For the schema of build.json, refer to the Go structs in util/pregenerate/build.go.
  2. Update Pregenerated Files: