ワンクリックで
session-save
Save PFO work context, state, decisions, blockers, and next steps for continuity.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Save PFO work context, state, decisions, blockers, and next steps for continuity.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Deploy a reviewed service with explicit confirmation and verification.
GitHub issue, pull request, CI, release, and code review workflow for Product Factory OS projects. Use when work involves GitHub Issues, PR summaries, review comments, failing GitHub Actions, release branches, changelogs, or publishing project state to GitHub.
Generate infrastructure-as-code and deployment configuration.
Safely apply database or data migrations with backup and rollback notes.
Security-audit v2 workflow for application, repository, scoped path, PR, branch, or working-tree security review. Use for security audit, OWASP, secrets, threat model, attack path, Codex Security diff scan, release security gate, or security_change evidence requests.
Improve SEO effectiveness for products, landing pages, docs, and content by auditing technical SEO, search intent, metadata, structured data, content gaps, and measurement loops. Use for SEO audit, organic traffic, indexing, sitemap, robots.txt, schema, canonical, meta tags, Search Console, and content optimization work.
| name | session-save |
| description | Save PFO work context, state, decisions, blockers, and next steps for continuity. |
| argument-hint | session summary or project path |
| license | MIT |
| metadata | {"category":"workflow","tags":["memory","context","session"],"effort":"low","side_effect":"memory-write","explicit_invocation":false,"skill_version":1,"prompt_version":"pfo-session-save-v1","eval_dataset":"tests/eval-datasets/session-save.json"} |
Preserve continuity between sessions.
Write a dated session note under a project memory location, for example:
.codex-memory/STATE.json
.codex-memory/session_YYYY-MM-DD.md
.codex-memory/MEMORY.md
When Obsidian export is requested, regenerate the local knowledge layer with:
python3 scripts/pfo.py export <project> --target obsidian
HANDOFF.md status when present---
title: Session YYYY-MM-DD
tags:
- pfo/session
- pfo/memory
aliases:
- YYYY-MM-DD Session
---
# Session YYYY-MM-DD
## Summary
## Changes
## Decisions
## Verification
## Blockers
## Next Steps
## Files Touched
Update .codex-memory/MEMORY.md with a newest-first index:
---
title: Memory
tags:
- pfo/memory
- pfo/project
aliases:
- Project Memory
---
# Memory
- YYYY-MM-DD: one-line session summary -> session_YYYY-MM-DD.md
## Obsidian Links
- [[STATE]]
- [[LEARNINGS]]
- [[HANDOFF]]
Update .codex-memory/STATE.json using memory/session-state.schema.json:
{
"sessionState": "ACTIVE",
"currentStage": "PLAN_READY",
"intent": "short user intent",
"classification": {
"productType": "saas",
"domain": "subscriptions",
"complexity": "medium",
"requiredModules": ["auth", "billing", "database"],
"infrastructure": ["docker"]
},
"architecture": {
"pattern": "modular_monolith",
"backend": "selected backend",
"frontend": "selected frontend",
"database": "selected database",
"auth": "selected auth",
"deployment": "selected deployment"
},
"artifacts": ["PRODUCT_BLUEPRINT.md", "BUILD_PLAN.md", "EXECUTION_GRAPH.md"],
"completedModules": [],
"failedValidations": [],
"blockers": [],
"nextAction": "begin modular build"
}
Before final output, verify:
STATE.json reloadable and machine-readable..codex-memory/*.md only as additive Markdown; do not put Obsidian-only syntax in STATE.json.PRODUCT_BLUEPRINT.md, BUILD_PLAN.md, EXECUTION_GRAPH.md, TEST_PLAN.md, and QUALITY_GATES.md as canonical source artifacts; Obsidian notes are regenerated export copies./session-save as a substitute for /handoff when another session or role must start from a compact transfer artifact..codex-memory/ is not appropriate for the project, ask once and use the project-local convention the user chooses.