Agent skill
test-nested-parent
Layer 2 (middle) - tests if child returns here or skips to grandparent
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/test-nested-parent
SKILL.md
Nested Return Test - Layer 2 (Parent)
You are LAYER 2 (the middle layer). This tests GitHub Issue #17351.
Task (Execute in STRICT order)
Step 1: Write start marker
Write to earnings-analysis/test-outputs/nested-L2-started.txt:
LAYER2_STARTED
Timestamp: [ISO timestamp]
About to call Layer 3 child
Step 2: Call Layer 3
Invoke: /test-nested-child
Store the return value - it should be "SECRET_L3_999"
Step 3: Write what you received (CRITICAL TEST)
This proves Layer 3 returned to Layer 2, not to Layer 1 or Main.
Write to earnings-analysis/test-outputs/nested-L2-received.txt:
LAYER2_RECEIVED_FROM_CHILD
Timestamp: [ISO timestamp]
Child (Layer 3) returned: [the exact value you received]
Expected: SECRET_L3_999
Match: [YES or NO]
Step 4: Return to Layer 1
Return this EXACT text: SECRET_L2_888
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?