rigor-add-reference

Add external repositories as reference submodules and update build configuration.

96|1|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/rigortype/rigor --skill rigor-add-reference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rigor-add-reference
Source: https://github.com/rigortype/rigor/tree/main/.codex/skills/rigor-add-reference
Command: npx skills add https://github.com/rigortype/rigor --skill rigor-add-reference

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the process of integrating external repositories into a project as references, automating submodule registration and configuration.

Core Features & Use Cases

  • Repository Integration: Adds new upstream repositories under references/ by configuring submodules.
  • CI/CD Workflow Support: Automates updates to Makefile and git configuration for consistent dependency management.
  • Use Case: When a developer needs to vendor an upstream tool or documentation, this Skill ensures that all associated files and configurations are added cohesively with minimal manual intervention.

Quick Start

Use the rigor-add-reference skill to vendor the new upstream repository https://github.com/example/xyz as a reference submodule.

Frequently Asked Questions about rigor-add-reference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add an upstream repository as a git submodule reference?

Adding an upstream repository as a git submodule reference is automated by registering the external source under a references directory and enforcing precise modifications to git configuration. This ensures version-controlled integration of upstream tools or documentation with minimal manual intervention.

What is the best way to automate submodule registration for external dependencies?

Automating submodule registration for external dependencies involves configuring the external repository within your project and updating build configurations. This skill handles the cohesive addition of associated files and configurations to ensure seamless dependency management across your project.

Can I use this to integrate upstream documentation or tools into my CI/CD workflow?

Yes, integrating upstream documentation or tools into your CI/CD workflow is supported. The process automates updates to your Makefile and git configuration, ensuring consistent dependency management and build configuration across your continuous integration pipelines.

How does submodule management work for vendoring external repositories?

Submodule management for vendoring external repositories works by enforcing precise modifications to your submodule configurations and build scripts. It registers the upstream sources under a dedicated references directory, maintaining version-controlled integration for your project.

Do I need to manually update my Makefile when adding reference submodules?

No, you do not need to manually update your Makefile when adding reference submodules. The process automates updates to both the Makefile and git configuration scripts, ensuring all associated files are added cohesively for seamless dependency management.

What files are modified when adding an external repository as a reference?

When adding an external repository as a reference, the files modified include submodule configurations, the Makefile, and CI/CD scripts. This precise modification ensures seamless dependency management and version-controlled integration of the upstream source.