agentleFS
vasceannievasceannie/slopgate/.agents/skills/gitnexus-area-adapters/SKILL.md

gitnexus-area-adapters

Skill1 starsChanged 51 days agoMITView on GitHub

Skill for the Adapters area of slopgate. 222 symbols across 30 files.

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Start here when exploring this area:

    line 33
  2. Distinctive:

    Read key files listed above for implementation details

    line 76

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Adapters

222 symbols | 30 files | Cohesion: 70%

When to Use

  • Working with code in tests/
  • Understanding how test_opencode_advisory_events_have_no_blocking_render_surface, test_opencode_file_edited_contract_synthesizes_write_tool, test_opencode_harness_events_match_adapter_normalization_contract work
  • Modifying adapters-related functionality

Key Files

FileSymbols
tests/adapters/test_05_open_code_adapter_normalize_to_open_code_adapter_normalize_tool_result.pytest_normalize_adds_nested_native_opencode_identity_metadata, test_normalize_ignores_unrelated_top_level_event_id, test_normalize_does_not_mutate_original, test_normalize_empty_tool_name_stays_empty, test_normalize_file_edited_is_mutating (+11)
src/slopgate/adapters/codex.py_add_codex_pretool_context_and_rewrite, _apply_codex_block_decision, _codex_decision_payload, _critical_codex_posttool_blocks, _render_codex_lifecycle_context (+11)
src/slopgate/adapters/cursor_output.py_allow_permission_output, _append_context, _ask_permission_output, _contextual_message, _decision_text (+9)
tests/adapters/test_03_codex_adapter_basic.pytest_no_findings_returns_none, test_pretool_allow_can_rewrite_input, test_pretool_deny, test_session_start_context, test_stop_block (+8)
tests/adapters/test_11_cursor_adapter_basic.pytest_cursor_adapter_renders_before_submit_prompt_allow_for_empty_findings, test_cursor_adapter_renders_before_submit_prompt_block, test_cursor_adapter_renders_post_tool_use_as_additional_context, test_cursor_adapter_renders_pretool_allow_for_empty_findings, test_cursor_adapter_renders_pretool_deny_in_native_schema (+6)
src/slopgate/adapters/claude.py_render_task_or_idle, render_output, _render_prompt_or_posttool, _decision_reason, _render_hook_specific_permission (+6)
src/slopgate/adapters/opencode.pynormalize_payload, _block_output, _context_output, _render_permission_request, _render_post_tool_use (+5)
tests/adapters/test_06_open_code_adapter_render_pre_tool.pytest_no_findings_returns_none, test_permission_allow_no_updated_input_returns_none, test_permission_block_maps_to_block, test_permission_deny, test_pretool_allow_with_updated_args (+5)
src/slopgate/adapters/cursor.py_first_string, _tool_name_from_raw, _workspace_cwd, normalize_payload, CursorAdapter (+5)
tests/adapters/test_07_open_code_adapter_render_post_tool_to_base_adapter_helpers.pytest_posttool_block, test_posttool_context_only, test_session_start_context, test_stop_context_only, test_stop_continue (+4)

Entry Points

Start here when exploring this area:

  • test_opencode_advisory_events_have_no_blocking_render_surface (Function) — tests/adapters/test_12_opencode_adapter_harness_contract.py:158
  • test_opencode_file_edited_contract_synthesizes_write_tool (Function) — tests/adapters/test_12_opencode_adapter_harness_contract.py:109
  • test_opencode_harness_events_match_adapter_normalization_contract (Function) — tests/adapters/test_12_opencode_adapter_harness_contract.py:91
  • test_opencode_harness_events_render_expected_surface_shape (Function) — tests/adapters/test_12_opencode_adapter_harness_contract.py:144
  • test_opencode_identity_contract_preserves_native_ids_and_worktree_scope (Function) — tests/adapters/test_12_opencode_adapter_harness_contract.py:125

Key Symbols

SymbolTypeFileLine
PlatformAdapterClasssrc/slopgate/adapters/base.py86
ClaudeAdapterClasssrc/slopgate/adapters/claude.py65
CodexAdapterClasssrc/slopgate/adapters/codex.py232
CursorAdapterClasssrc/slopgate/adapters/cursor.py165
OpenCodeAdapterClasssrc/slopgate/adapters/opencode.py82
PiAdapterClasssrc/slopgate/adapters/pi.py134
test_opencode_advisory_events_have_no_blocking_render_surfaceFunctiontests/adapters/test_12_opencode_adapter_harness_contract.py158
test_opencode_file_edited_contract_synthesizes_write_toolFunctiontests/adapters/test_12_opencode_adapter_harness_contract.py109
test_opencode_harness_events_match_adapter_normalization_contractFunctiontests/adapters/test_12_opencode_adapter_harness_contract.py91
test_opencode_harness_events_render_expected_surface_shapeFunctiontests/adapters/test_12_opencode_adapter_harness_contract.py144
test_opencode_identity_contract_preserves_native_ids_and_worktree_scopeFunctiontests/adapters/test_12_opencode_adapter_harness_contract.py125
test_cursor_adapter_renders_before_submit_prompt_allow_for_empty_findingsFunctiontests/adapters/test_11_cursor_adapter_basic.py202
test_cursor_adapter_renders_before_submit_prompt_blockFunctiontests/adapters/test_11_cursor_adapter_basic.py163
test_cursor_adapter_renders_post_tool_use_as_additional_contextFunctiontests/adapters/test_11_cursor_adapter_basic.py213
test_cursor_adapter_renders_pretool_allow_for_empty_findingsFunctiontests/adapters/test_11_cursor_adapter_basic.py182
test_cursor_adapter_renders_pretool_deny_in_native_schemaFunctiontests/adapters/test_11_cursor_adapter_basic.py123
test_cursor_adapter_renders_stop_block_as_followupFunctiontests/adapters/test_11_cursor_adapter_basic.py147
test_cursor_adapter_subagent_start_deny_omits_agent_messageFunctiontests/adapters/test_11_cursor_adapter_basic.py227
require_renderedFunctiontests/test_adapters.py63
test_claude_team_event_blocks_do_not_render_continue_falseFunctiontests/adapters/test_08_claude_team_event_retry_semantics.py67

Execution Flows

FlowTypeSteps
Normalize_payload → String_valuecross_community4

How to Explore

  1. context({name: "test_opencode_advisory_events_have_no_blocking_render_surface"}) — see callers and callees
  2. query({search_query: "adapters"}) — find related execution flows
  3. Read key files listed above for implementation details
  4. explain({target: "<file or symbol>"}) — persisted taint findings (source→sink data flows), when indexed with --pdg

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.