この文書は、Codex、Claude Code、そのほかの coding agent と協働するすべての ソフトウェアプロジェクトで再利用できる共通指針である。
特定の製品、モデル、プログラミング言語、フレームワークには依存しない。 人間にとって理解・実行・検証しやすいプロジェクトは、agent にとっても扱いやすい、 という前提に立つ。
| #!/usr/bin/env python3 | |
| # /// script | |
| # requires-python = ">=3.8" | |
| # dependencies = [ | |
| # "psutil>=5.9.0", | |
| # "pyyaml>=6.0", | |
| # "packaging>=21.0", | |
| # ] | |
| # /// | |
| """ |
| ⏺ 完璧です!解決方法が見つかりました。Linear APIキーを使ってAuthorizationヘッダー経由で認証できます。 | |
| 完全な解決手順 | |
| 1. Linear APIキーを作成(Mac/ブラウザで) | |
| 1. Linear にアクセス: https://linear.app | |
| 2. プロフィールアイコン → Settings をクリック | |
| 3. Security & access → Personal API keys に移動 | |
| 4. New API key をクリック |
| https://nyacom.net/?p=890 | |
| Skip to content | |
| about | |
| mac | |
| 【備忘録】Apple SiliconマシンでMinecraft Bedrock版を動かす | |
| October 5, 2025 |
| #!/usr/bin/env python3 | |
| """ | |
| 純粋 Python だけで **SMF (Standard MIDI File)-format 0** を書き出す最小サンプル。 | |
| - MThd / MTrk チャンクを手動組み立て | |
| - Set-Tempo → Note On → Note Off → End-of-Track という典型的な並び | |
| - 可変長数量 (VLQ) も自前実装 | |
| gist に貼り付けてそのまま動かせます(`example.mid` が生成されます)。 | |
| """ | |
| import struct |
| import numpy as np | |
| class Splat: | |
| def __init__(self, position, rotation, scale, opacity, color): | |
| self.position = position | |
| self.rotation = rotation | |
| self.scale = scale | |
| self.opacity = opacity | |
| self.color = color |
| # M5 Atom Matrix Beautiful LED Demo | |
| # 自然現象と数学的パターンを組み合わせた魅力的なデモ | |
| # mruby/c 3.3の制限事項と注意点 | |
| # 使用可能な機能: | |
| # - 基本的な算術演算(+, -, *, /, %)※ただし整数のみ | |
| # - 配列操作(each, each_with_index) | |
| # - 条件分岐(if, case) | |
| # - ループ(times, while, downto) | |
| # - LED.set([r,g,b], pos) - LEDの色設定 |