Sync existing steering documents from workspace .kiro/steering/ to knowledge base with Context sections. Use when steering docs already exist and need syncing to knowledge base.
Syncs existing steering documents from the local workspace to the knowledge base, adding Context sections for searchability and session recovery. Use this when steering documents already exist in .kiro/steering/ and need to be synced to the knowledge base.
ALL synced files MUST:
Update Context section automatically when:
Any steering documents from local workspace:
.kiro/steering/Documents are synced FROM and TO:
.kiro/steering/ (local to current project)~/.kiro/knowledge/steering/{workspace-name}/Format:
{workspace-name} = name of the current workspace (e.g., my-api-service, user-dashboard)Gather information about the current workspace:
.kiro/steering/ directoryScan .kiro/steering/ for existing documents:
.md filesCRITICAL: This happens AUTOMATICALLY without asking for permission.
For each steering file found:
~/.kiro/knowledge/steering/{workspace-name}/Context Section Template (ONLY for knowledge base copies):
## Context
### Timeline
- **{Date/Time}**: Initial sync from local workspace
- **{Date/Time}**: Synced {filename} to knowledge base
- **{Date/Time}**: [Future updates will be logged here]
### CONVERSATION SUMMARY
═════════════════════════════════════════════════════════════════════
#### OBJECTIVE
Sync {filename} from local workspace to knowledge base for {Project Name}
#### USER GUIDANCE
- [Key requests and clarifications from user]
- [Important decisions made]
#### COMPLETED
- Synced {filename} from workspace to knowledge base
- Added Context section for tracking
- [Future completions will be logged here]
#### TECHNICAL CONTEXT
- Workspace: {workspace path}
- Workspace name: {workspace-name}
- Source: .kiro/steering/{filename}
- Destination: ~/workplace/.../knowledge/steering/{workspace-name}/{filename}
#### TOOLS EXECUTED
1. Workspace identification - Located workspace and steering files
2. File sync - Copied {filename} to knowledge base
3. Context addition - Added tracking section
4. [Future tool executions will be logged here]
#### NEXT STEPS
1. Review and update as project evolves
2. Automatic sync will keep knowledge base current
#### TODO LIST
[Outstanding items or updates needed]
**CRITICAL**: Update this CONVERSATION SUMMARY and timeline automatically after every significant interaction without being asked. This enables session recovery and tracks document history.
IMPORTANT: Local workspace files remain unchanged:
CRITICAL: Sync happens AUTOMATICALLY without asking whenever:
Sync Process:
.kiro/steering/ filesWhat Gets Synced:
.kiro/steering/What Stays in Knowledge Base Only:
Provide clear feedback on what was synced:
✅ Synced Steering Documents to Knowledge Base
Synced Files:
- {filename1} (from workspace to knowledge base)
- {filename2} (from workspace to knowledge base)
- {filename3} (from workspace to knowledge base)
Locations:
📁 Source: .kiro/steering/ (clean, no Context sections)
📁 Destination: ~/workplace/.../knowledge/steering/{workspace-name}/ (with Context sections)
Status:
- [Synced] {filename1}
- [Synced] {filename2}
- [Synced] {filename3}
Automatic Sync:
✅ All files synced to knowledge base with Context sections
✅ Context sections updated automatically
✅ Future changes will sync automatically without asking
These documents are now searchable via /search in Kiro.
After Sync:
Add this skill to your agent configuration:
{
"resources": [
"skill://.kiro/skills/sync-steering/SKILL.md"
]
}
Once added to your agent, simply ask to sync steering documents:
# Sync all steering documents from current workspace
kiro "Sync steering documents"
# Or with explicit instruction
kiro "Sync my steering docs to knowledge base"
The agent will automatically invoke this skill when it detects you want to sync steering documents.
.kiro/steering//search.md file in .kiro/steering/, not just product/tech/structure下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer