sync-steering

Sync steering Markdown files from .gemini/steering to the knowledge base.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill syncs existing steering documents from the local workspace (.gemini/steering/) to the knowledge base, adding a Context section for searchability and session recovery. It is intended for situations where steering docs already exist and need to be kept in sync with the knowledge base.

Core Features & Use Cases

  • Automatic syncing of steering Markdown files from .gemini/steering/ to ~/.gemini/knowledge/steering/{workspace-name}/
  • Adds a Context section in the knowledge base copy to support session recovery and document history
  • Workspace-specific destinations ensure isolation between projects and easy searchability
  • Works with common steering documents like product.md, tech.md, structure.md, and any other .md files in .gemini/steering/

Quick Start

Use the Gemini CLI to sync steering documents from your current workspace:

  • gemini "Sync steering documents"
  • gemini "Sync my steering docs to knowledge base"

Frequently Asked Questions about sync-steering

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

FAQPage Schema
How do I sync steering documents to my knowledge base?

To sync steering documents, use the Gemini CLI to automatically copy Markdown files from your local .gemini/steering/ directory into the knowledge base. This non-destructive process adds a Context section to each file for searchability and session recovery.

What is the purpose of syncing steering docs to a knowledge base?

Syncing steering docs to a knowledge base isolates project guidelines like product.md and tech.md while adding a Context section. This ensures workspace-specific documentation remains searchable and supports automatic session recovery during future interactions.

Does syncing steering Markdown files require a specific directory structure?

Yes, syncing steering Markdown files requires a local workspace containing a .gemini/steering/ directory. The skill copies files from this location into ~/.gemini/knowledge/steering/{workspace-name}/ to ensure project isolation and proper knowledge base indexing.

Can I update the Context section of steering docs automatically?

Yes, the Context section of steering docs updates automatically on every significant interaction. This enforced update mechanism ensures your knowledge base copies reflect current workspace history without requiring manual intervention.

Will syncing steering docs overwrite my existing workspace files?

No, syncing steering docs performs a non-destructive copy from your local workspace to the knowledge base. Your original .gemini/steering/ files remain untouched while the knowledge base destination receives the updated Context section.