跳到正文
cccskills
免费在 GitHub 公开

kiro-steering-custom

Create project guidance documents for topics such as API conventions, testing, security, and deployment. The skill examines existing code patterns and relevant templates, then writes focused documents that agents can use as ongoing project memory.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Create custom steering documents for specialized project contexts

查看安装方法

适用场景

  • Documenting project-specific API conventions
  • Recording test organization and mocking practices
  • Summarizing authentication and security patterns
  • Documenting deployment and rollback procedures

包含的文件(1)

  • SKILL.md4.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Kiro Custom Steering Creation

<background_information> Role: Create specialized steering documents beyond core files (product, tech, structure).

Mission: Help users create domain-specific project memory for specialized areas.

Success Criteria:

  • Custom steering captures specialized patterns
  • Follows same granularity principles as core steering
  • Provides clear value for specific domain </background_information>
<instructions> ### Step 1: Gather Context

If steering context is already available from conversation, skip redundant file reads. Otherwise:

  • Check {{KIRO_DIR}}/settings/templates/steering-custom/ for available templates
  • Read rules/steering-principles.md from this skill's directory for steering principles

Workflow

  1. Ask user for custom steering needs:

    • Domain/topic (e.g., "API standards", "testing approach")
    • Specific requirements or patterns to document
  2. Check if template exists:

    • Load from {{KIRO_DIR}}/settings/templates/steering-custom/{name}.md if available
    • Use as starting point, customize based on project
  3. Analyze codebase (JIT) for relevant patterns:

Parallel Research

The following research areas are independent and can be executed in parallel:

  1. Template & principles: Load matching template and steering-principles.md
  2. Domain patterns: Analyze codebase for domain-specific patterns using Glob/Grep/Read

If multi-agent is enabled, spawn sub-agents for each area above. Otherwise execute sequentially.

After all parallel research completes, synthesize findings for steering document.

  1. Generate custom steering:

    • Follow template structure if available
    • Apply principles from rules/steering-principles.md from this skill's directory
    • Focus on patterns, not exhaustive lists
    • Keep to 100-200 lines (2-3 minute read)
  2. Create file in {{KIRO_DIR}}/steering/{name}.md

Available Templates

Templates available in {{KIRO_DIR}}/settings/templates/steering-custom/:

  1. api-standards.md - REST/GraphQL conventions, error handling
  2. testing.md - Test organization, mocking, coverage
  3. security.md - Auth patterns, input validation, secrets
  4. database.md - Schema design, migrations, query patterns
  5. error-handling.md - Error types, logging, retry strategies
  6. authentication.md - Auth flows, permissions, session management
  7. deployment.md - CI/CD, environments, rollback procedures

Load template when needed, customize for project.

Steering Principles

From rules/steering-principles.md (in this skill's directory):

  • Patterns over lists: Document patterns, not every file/component
  • Single domain: One topic per file
  • Concrete examples: Show patterns with code
  • Maintainable size: 100-200 lines typical
  • Security first: Never include secrets or sensitive data
</instructions>

Tool guidance

  • Read: Load template, analyze existing code
  • Glob: Find related files for pattern analysis
  • Grep: Search for specific patterns
  • Bash with ls: Understand relevant structure

JIT Strategy: Load template only when creating that type of steering.

Output description

Chat summary with file location (file created directly).

✅ Custom Steering Created

## Created:
- {{KIRO_DIR}}/steering/api-standards.md

## Based On:
- Template: api-standards.md
- Analyzed: src/api/ directory patterns
- Extracted: REST conventions, error format

## Content:
- Endpoint naming patterns
- Request/response format
- Error handling conventions
- Authentication approach

Review and customize as needed.

Examples

Success: API Standards

Input: "Create API standards steering"
Action: Load template, analyze src/api/, extract patterns
Output: api-standards.md with project-specific REST conventions

Success: Testing Strategy

Input: "Document our testing approach"
Action: Load template, analyze test files, extract patterns
Output: testing.md with test organization and mocking strategies

Safety & Fallback

  • No template: Generate from scratch based on domain knowledge
  • Security: Never include secrets (load principles)
  • Validation: Ensure doesn't duplicate core steering content

Notes

  • Templates are starting points, customize for project
  • Follow same granularity principles as core steering
  • All steering files loaded as project memory
  • Custom files equally important as core files
  • Avoid documenting agent-specific tooling directories (e.g. .cursor/, .gemini/, .claude/)
  • Light references to {{KIRO_DIR}}/specs/ and {{KIRO_DIR}}/steering/ are acceptable; avoid other .kiro/ directories

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Add coding-agent support to cc-sdd through a documented workflow. Research the agent’s official formats, prepare an integration plan, implement registry entries and templates, and verify generated files, including Japanese and English output.

中文简介正在准备中。当前显示英语简介。

  • Adding support for a new coding agent
  • Adding an agent variant with subagent support
  • Planning migration to SKILL.md-based templates
gotalab/cc-sdd37342026年10月22日 更新

Investigate blocked implementation work and recurring failures using error output, code changes, configuration, and dependency evidence. Get a root cause report with a focused repair plan, verification steps, and a recommendation to retry, block, or seek human input.

中文简介正在准备中。当前显示英语简介。

  • Investigating an implementation blocker
  • Finding why repeated fixes keep failing
  • Checking runtime and dependency conflicts
gotalab/cc-sdd37342026年10月22日 更新

Clarify a development request through structured questions and choose a practical next step: update an existing specification, create new ones, or implement directly. For new specifications, record scope, approach, and dependencies in planning files.

中文简介正在准备中。当前显示英语简介。

  • Clarify a development idea before defining requirements
  • Choose between updating a specification and implementing directly
  • Split a large request into features with explicit dependencies
gotalab/cc-sdd37342026年10月22日 更新

kiro-impl

免费

Implement approved tasks through test-driven development, writing tests before code. Run all pending tasks sequentially with subagents or select tasks for direct execution, then track completion using reviews and verification evidence.

中文简介正在准备中。当前显示英语简介。

  • Running all pending approved implementation tasks
  • Implementing selected tasks by number
  • Developing features with tests written first
gotalab/cc-sdd37342026年10月22日 更新

kiro-impl

免费

Implement approved development tasks one at a time using test-driven development, which starts with a failing test. Process all pending tasks or selected ones, check changes against requirements and design, and update progress after review and completion verification.

中文简介正在准备中。当前显示英语简介。

  • Working through all approved pending tasks
  • Implementing selected task numbers
  • Developing features with tests written first
gotalab/cc-sdd37342026年10月22日 更新

kiro-impl

免费

Implement approved tasks using test-driven development, writing tests before code. Run all pending tasks one at a time or select specific tasks, with configurable review and verification before updating completion status.

中文简介正在准备中。当前显示英语简介。

  • Implement all pending tasks from an approved plan
  • Work on selected task numbers
  • Develop features by writing tests before code
gotalab/cc-sdd37342026年10月22日 更新

查看 gotalab 的全部技能

报告此技能的问题