generate-steering

Generate product.md, tech.md, and structure.md from codebase analysis.

4|Updated Aug 22, 2023
One-click install
npx skills add https://github.com/Lira-tron/dotfiles --skill generate-steering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-steering
Source: https://github.com/Lira-tron/dotfiles/tree/main/home/.gemini/skills/generate-steering
Command: npx skills add https://github.com/Lira-tron/dotfiles --skill generate-steering

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of foundational steering documents for new or existing workspaces by analyzing codebases, standardizing governance, and saving time spent on manual document drafting.

Core Features & Use Cases

  • Automated document generation: Create product.md, tech.md, and structure.md from your workspace analysis.
  • Workspace-to-knowledge-base synchronization: Outputs saved locally and in the knowledge base for efficient search and retrieval.
  • Context-enabled recovery: Includes a Context section that updates automatically after significant interactions to support session recovery.

Quick Start

Run the steering generator to produce the three foundational documents for the current workspace. The tool writes outputs to both the local workspace (.gemini/steering/) and the knowledge base (~/.gemini/knowledge/steering/{workspace-name}/); Context is updated automatically after interactions.

Frequently Asked Questions about generate-steering

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

FAQPage Schema
How do I automatically generate project steering documents from my codebase?

To generate steering documents automatically, this Skill analyzes your codebase to produce product.md, tech.md, and structure.md. It writes these foundational files to your local workspace and synchronizes them to the knowledge base.

What are steering documents and why do I need them for my workspace?

Steering documents are foundational project files like product.md, tech.md, and structure.md. They standardize governance for new or existing codebases, saving time spent on manual document drafting and ensuring consistent project knowledge.

Can I use this to create documentation for an existing codebase?

Yes, you can generate documentation for an existing codebase. The tool analyzes your current workspace to auto-generate the steering files, ensuring that both new projects and documented codebases receive standardized governance files.

How does the knowledge base synchronization work for generated documentation?

Knowledge base synchronization saves your generated documentation locally in the .gemini/steering/ directory and remotely in ~/.gemini/knowledge/steering/. This ensures efficient search and retrieval of workspace outputs after every interaction.

Does this tool support session recovery for workspace documentation?

Yes, it supports session recovery by maintaining a Context section that updates automatically after significant interactions. This ensures your workspace analysis and steering document generation can be resumed smoothly.

What is the best way to keep workspace structure docs updated after interactions?

The best way to keep structure docs updated is through automated synchronization. The Context section updates automatically after every interaction, ensuring your product.md, tech.md, and structure.md remain synchronized to the knowledge base.