xiaohongshu
xiaohongshu
maceff-tree-awareness
USE *IMMEDIATELY* AFTER COMPACTION RECOVERY BEFORE REPORTING TO USER! Refresh structural awareness of MacEff repository to prevent assumption errors about file locations, package organization, and module structure. Also use after refactoring or when experiencing confusion about missing files.
Full skill instructions
USE THIS SKILL IMMEDIATELY AFTER COMPACTION RECOVERY BEFORE REPORTING TO USER!
After reading consciousness artifacts (reflection, checkpoint, roadmap), run this skill to restore structural awareness of the MacEff repository. This prevents assumption errors that lead to destructive actions.
This skill helps you avoid assumption errors about the MacEff repository structure by running targeted tree commands to reveal the actual organization.
MANDATORY:
Also invoke when you detect:
Key Lesson from Cycle 120: User correction "Did you consider that the functions you are looking for might be under macf.utils.session?" prevented deletion of 10 valid tests. Tree awareness prevents destructive assumption errors.
Run these commands sequentially (NOT in parallel - see prohibitions below).
Before running tree commands, resolve the MacEff root path:
# Resolution order: git detection → env var → container default
MACEFF_ROOT="$(git rev-parse --show-toplevel 2>/dev/null || echo "${MACEFF_ROOT:-/opt/maceff}")"
echo "MacEff root: ${MACEFF_ROOT}"
Resolution contexts:
/opt/macefftree -L 2 -I '__pycache__|*.pyc|*.egg-info' "${MACEFF_ROOT}"
Purpose: Overview of main directories (docker/, framework/, macf/, maceff_tools/, tests/)
tree -L 3 -I '__pycache__|*.pyc|*.egg-info' "${MACEFF_ROOT}/macf/src/macf"
Purpose: Detailed view of package modules (cli.py, hooks/, utils/, models/, forensics/)
tree -L 3 "${MACEFF_ROOT}/framework"
Purpose: Policy files, subagent definitions, templates organization
Report to user using this language:
✅ MacEff structural awareness refreshed:
- Root structure: [X] directories identified
- MACF package: [Y] modules discovered
- Framework policies: [Z] policy sets located
Then:
macf/src/macf/ contains actual package codemacf/tests/ contains test specificationsframework/ contains policies, subagents, templatesmaceff_tools/ contains shell scripts for container opsWhen working with MacEff after using this skill:
❌ NEVER use naked cd commands:
cd /path/to/dircd /path && command(cd /path && command) in subshell if absolutely necessary❌ NEVER use concurrent tool calls carelessly:
Why these matter:
cd triggers premature stopping and tool failureModule Locations:
macf/src/macf/cli.pymacf/src/macf/hooks/handle_*.pymacf/src/macf/utils/*.pymacf/src/macf/config.pyImport Patterns:
from macf.utils.session import get_current_session_idfrom macf.session import ... (doesn't exist as module)macf/utils/session.py, not macf/session.pymacf.session module exists (it's macf.utils.session)cd commands (causes session failures)xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience