Google ドライブのkugi4koma用フォルダにスキャン原稿が追加されたら自動でGitHub Actionsを実行するフローにできれば一番楽ではありますが、変更検知用の通知チャンネルが最大7日で失効して自動更新されないなど、対応が複雑になっていきそうだったので、パイプライン実行は今回手動としました。
---
name: write-session-report
description: Create or update a Markdown work report that records the decisions, implementation changes, validation results, current state, and next steps from a completed Codex session. Use when the user asks to wrap up, close, hand off, summarize, or document a work session; requests a dated report such as YYYYMMDD_REPORT.md; or wants a project-local session record under docs or a similar documentation folder.
---
# Write Session Report
Create a durable, evidence-based record of the session for a future reader who does not have the conversation history.
## Workflow
1. Determine the report location and date.
- Follow an explicit path or filename from the user.
- Otherwise inspect existing project reports and use their directory, naming convention, language, and level of detail.
- If no convention exists, use `docs/YYYYMMDD_REPORT.md` with the user's local date.
- Create a new report by default. Update an existing same-day report only when it clearly covers the same work session.
2. Gather evidence before writing.
- Review the current conversation, completed plans, tool results, and user confirmations.
- Inspect relevant existing reports and project documentation.
- For a Git repository, inspect status, recent commits, tracked files, ignore rules, and remote state when relevant.
- Inspect configuration or source files when exact current values matter.
- Distinguish completed work, verified results, user decisions, remaining work, and suggested next steps.
3. Protect sensitive and excluded information.
- Do not include secrets, tokens, credentials, private personal data, or unnecessary account identifiers.
- Do not assume that writing an ignored report authorizes changing ignore rules, committing, pushing, deploying, or publishing.
- Preserve the project's existing exclusions and privacy decisions.
4. Write for continuity.
- Start with the project, report date, purpose, and important destinations or environments.
- Record decisions and operating rules that future work must preserve.
- Summarize material changes by area or commit, using exact identifiers only when verified.
- Record validation commands conceptually and their results; include useful measurements when known.
- Add a compact current-state table when several environments or milestones differ.
- State unresolved risks, limitations, and next steps in priority order.
- Call out easily confused states explicitly, such as Preview versus production, local versus pushed, or prepared versus deployed.
- Match the user's language and the style of existing reports.
5. Verify the artifact.
- Re-read the complete report for internal consistency.
- Confirm dates, paths, URLs, branch names, commit IDs, counts, and environment states against available evidence.
- Label anything not directly verified as an inference, estimate, or proposed next step.
- Confirm the file exists at the requested location.
- Check repository status afterward and report whether the new file is tracked, ignored, or untracked.
6. Hand off concisely.
- Link the created report using its absolute local path.
- Summarize its main coverage and Git tracking state.
- State explicitly that no commit, push, deployment, or publication occurred unless it actually did.
## Recommended Sections
Adapt the sections to the work; omit empty sections and add domain-specific sections when useful.
- Purpose
- Decisions and operating policy
- Work completed
- Commits or changed files
- Environment, hosting, or deployment state
- Validation results
- Current state
- Remaining work and next steps
- Cautions and exclusions
## Quality Rules
- Prefer verified facts over a chronological chat transcript.
- Keep enough detail to resume work without reopening the full session.
- Do not claim success from an attempted command; require a successful result or user confirmation.
- Do not silently convert plans into completed work.
- Do not expose credentials or paste verbose logs.
- Avoid duplicating a prior report wholesale; focus on changes and decisions from the current session while preserving necessary context.
# 📝 実際に最初に渡した指示プロンプト
I'm making a 2D game for a gamejam. These are the details of the game.
- A 2D Platforming game where player controls a character(pig) by pulling and releasing the character so that the character can jump.
- The objective is to climb as high as possible.
- The character has a stamina gauge and the player will use the gauge to do the pulling action.
- When the stamina gauge is empty the game will finish and move to results by showing how high the character reached in the end.
- There will be some items in the stage during the climb
- Health Item (Soda) : The character recovers some stamina
- Boost Item (Balloon) : When the character gains 3 Balloons, the character will have a speed up boost for a specific duration.
- Damage Item (Water) : The character lose some stamina
Now I want to brush up my game.
- The hopping direction is not clear for the Player so I want to show the directin by a trajectory line.
You can reuse the trajectoryLine in the PigController if it's suitable.
Only show the hopping direction when the Pig is in the air.
- If the player inputs the key [R], I want to restart the game by calling the GameManager.Restart().
If your done with that, I also want you to check why the view has stuttering when the pig falls.
細かな追加修正
ブタの反転と飛ぶ方向に応じて向きを変える
設定表示中はゲームを停止する
はじめてクリックしてからタイマー開始
📝指示プロンプト
Hi! I'm almost done making this game!
I'm doing a final brush up so I want you to help.
Please consider the following tasks.
- I want to make the Pig's sprite flip according to the direction the Pig is flying.
- Also I want the top of the sprite to face the direction the Pig is flying.
- The Pig's implementation is @Assets/Scripts/Core/PigController.cs
- I want to Pause the game(the game time, the Pig's rigid body simulation) when the user presses the [S] key
- The InputAction is already implemented (Please use "settingsAction")
- I want the GameTimer to start on the First release pull action. (On the initial PigJump)