mcpbeat

Add Source File

google/add-source-file

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

222 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
2242
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/google/boringssl --skill add-source-file

The instruction itself

2 sections, as written by the author

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

  • 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.
  • Update Pregenerated Files:
  • After modifying build.json, you must regenerate the build files.
  • Refer to gen/README.md or use the update_pregenerated_files skill to update the pre-generated files.

How to use it

Copy the folder

Take google/add-source-file from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.