بنقرة واحدة
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 |