원클릭으로
mine
Mine a project with pre/post validation — verifies palace health before and after mining
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Mine a project with pre/post validation — verifies palace health before and after mining
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Weekly documentation refresh and maintenance - audit staleness, update docs, validate backlog
Smart verification — detects what changed and runs appropriate tests, lint, typecheck
Cut and verify a public release through publish remote, hosted CI, PyPI, and GitHub Release status
Scan codebase for AI-generated entropy — duplicated helpers, dead code, spreading anti-patterns. Use on a regular cleanup cadence or when noticing quality drift.
Pre-release docs sync — diff HEAD against the last v* tag on the publish remote, list feature additions, update README language/tool inventory, draft the CHANGELOG release entry, propose the version bump. Runs before /release. Prevents shipping with stale docs.
Automate the repository post-implementation hardening workflow, including optional Codex diff review with returned comments
| name | mine |
| description | Mine a project with pre/post validation — verifies palace health before and after mining |
| disable-model-invocation | false |
Mine a codebase into the palace with validation checks.
mempalace health --json
Record baseline:
Check target directory exists and has code:
ls -la <target_dir>
find <target_dir> -name "*.py" -o -name "*.js" -o -name "*.ts" | head -5
Check for .gitignore exclusions:
node_modules/, venv/, __pycache__/ should be excluded.git/ is always excludedmempalace mine <target_dir> [--full]
Options:
--full: Force full rebuild (ignore content hashes)Monitor output for:
mempalace health --json
Compare to baseline:
mempalace search "main function" --wing <project_wing> --limit 3
Confirm results return from the mined project.
## Mining Report
Target: <directory>
Mode: [incremental | full]
Before:
- Drawers: N
- Wings: N
After:
- Drawers: N (+M new)
- Wings: N
- Files scanned: N
- Chunks created: N
Health: [OK | WARN: <issue>]
Search test: [PASS | FAIL]
Issues:
- [any errors or warnings]
| Issue | Cause | Fix |
|---|---|---|
| 0 files scanned | Wrong path or gitignore | Check path, verify files exist |
| Health FAIL after mine | optimize() corruption | mempalace repair --rollback |
| Search returns empty | Embedding mismatch | Full re-mine: mempalace mine --full |
| Wing not created | No recognizable code files | Check language support |