2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Kiroの設定でやったこと

Posted at

https://kiro.dev/ の設定の話。まだ情報が少ないので書いておく。

Githubにアクセスできるようにする

メインではGithubのIssueを読んでもらいたいので

~/.kiro/settings/mcp.json
{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-github"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "your-token"
      }
    }
  }
}

GITHUB_PERSONAL_ACCESS_TOKENhttps://github.com/settings/tokensrepo, user をオンにして作成

日本語で書いてもらう

デフォルトで仕様などが英語で書かれてしまう(もしかしたらOS設定が英語だからかも)ので
今はグローバルにシステムプロンプトを入れるような機能はないらしいので、

プロジェクトルート/.kiro/steering/*.md

のどこかに書くしかないらしい。

が解決したらできるようになるようなのでここが解決されてないかチェックするとより良い方法が見つかるかも。

なので自分は以下のようにすることで、要件とか書いた結果が確実に日本語で出力されるようになった。

.kiro/steering/basic.md
すべてのインストラクションと仕様は日本語で書いてください。
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?