From microdata-tools-se
Scaffold or resume a local R environment for an existing SCB MONA research project. Use when the user wants MONA project setup, mock-data handoff, or scaffold enrichment around `stats.json`.
How this skill is triggered — by the user, by Claude, or both
Slash command
/microdata-tools-se:init-mona-projectThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Arguments: `$ARGUMENTS` (optional project slug).
Arguments: $ARGUMENTS (optional project slug).
This skill scaffolds the local workbench for an already-approved MONA project. It prepares structure, documentation, mock-data workflows, and guardrails. It does not write analysis code, invent variable semantics, or make research design choices for the user.
uv run mock-data-wizard or uv run regmeta.You are the scaffolder, not the analyst.
CLAUDE.md.AGENTS.md.{MEMORY}.md means that single file.Resolve {projdir} in this order:
$ARGUMENTS is set and a directory with that name already exists, use
it..Rproj,
stats.json, or mock_data/, treat the current working directory as the
project root.{slug}/ subdirectory.When the current working directory contains only invisible agent metadata such
as .claude/ or .codex/, scaffold into it directly without asking.
| Condition | Action |
|---|---|
| No project signals found | Run Phase 1 interview and bootstrap |
Project dir exists, no stats.json | Stop after MONA handoff and wait for stats.json |
Project dir exists, has stats.json, no mock_data/manifest.json | Generate mock data, then continue to Phase 2 |
Project dir exists, has mock_data/manifest.json, no {MEMORY}.md | Run Phase 2 and write {MEMORY}.md |
Project dir exists, has mock_data/manifest.json, and {MEMORY}.md | Already initialized; tell the user |
Read workflow.md before acting. It contains the exact interview flow, commands, MONA handoff text, enrichment tasks, testing, and git-init rules.
High-level sequence:
mock-data-wizard and regmetaextract_stats.Rstats.json is present but mock_data/manifest.json is absent,
generate mock data and verify the manifest was createdRscript tests/testthat.RRead generated-files.md before writing any files. It contains:
.Rproj, .gitignore, _targets.yaml, and
src/pipeline.Rsrc/data_processing.R and src/analysis.R{MEMORY}.md and ROADMAP.mdtemplates/templates/ verbatim; do not edit those files during
scaffolding.src/data_processing.R and src/analysis.R stay as stubs only.tar_option_set(packages = ...) must keep the template's minimal package
list at scaffold time.notes/data_*.md by register, not by CSV file.notes/mock_data_assessment.md must separate measured results from
interpretation, and it must be grounded in scripted checks plus any
project-specific follow-up probes.Not assessed.extract_stats.R as a
failure or limitation.mock_data/ as an arbitrary mock
artifact. The generator reflects what was present in stats.json.Rscript tests/testthat.R before you declare the scaffold complete.mock-data-wizard or regmeta commands fail unexpectedly, inspect
their --help output and follow the install steps in
workflow.md.\\uXXXX escapes or ASCII equivalents and re-run the tests.Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
npx claudepluginhub adamaltmejd/registry-research-toolkit --plugin microdata-tools-se