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

gitnexus-area-enrichment

Skill1 starsChanged 51 days agoMITView on GitHub

Skill for the Enrichment area of slopgate. 154 symbols across 18 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 85

≈ “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

Enrichment

154 symbols | 18 files | Cohesion: 65%

When to Use

  • Working with code in src/
  • Understanding how pretool_write_payload, make_sibling_test, write_text work
  • Modifying enrichment-related functionality

Key Files

FileSymbols
src/slopgate/enrichment/code_enrichers.py_base_name, _build_long_params_extras, _decorator_is_dataclass, _grouped_type_hints, _parameter_names (+14)
tests/enrichment/test_01_discover_fixtures_to_pytest003_enrichment.pytest_loop_assert_regex_does_not_backtrack_on_large_patch, test_still_denies_without_fixtures, test_handles_syntax_error_in_conftest, test_no_conftest_returns_empty, test_caps_at_max (+12)
src/slopgate/enrichment/pytest_enrichers.py_first_hit_path, _hit_path_and_fixtures, _resolve_hit_path, enrich_fixture_outside_conftest, _append_fixture_enrichment (+10)
tests/enrichment/test_03_pycode008_enrichment_to_pyexc002_enrichment.py_thin_wrapper_reason_with_call_site, test_thin_wrapper_cites_repo_local_call_sites, test_thin_wrapper_lists_boundary_checklist, test_includes_common_exceptions, test_lists_called_functions (+8)
tests/enrichment/test_04_pylog001_enrichment_to_enrichment_constant_index_scope.pytest_unrelated_quality_rule_does_not_build_constant_index, test_finds_path_config, test_suggests_pathlib_pattern, test_finds_constants_module, test_names_triggered_literals_and_lines (+7)
tests/enrichment/test_03_pytest_enrichers_direct.py_context, _enriched_finding, _prepare_fixture_project, _prepare_loop_project, _prepare_test_file (+7)
src/slopgate/enrichment/_helpers.pyappend_enrichment_message, first_target_content, get_parse_count, reset_parse_count, safe_read (+5)
tests/enrichment/test_02_pytest001_enrichment_to_regression_fixtures.pytest_enrichment_error_swallowed, test_includes_split_tip, test_suggests_creating_conftest, test_suggests_callable_for_callbacks, test_suggests_typeddict_for_dicts (+4)
src/slopgate/enrichment/type_enrichers.py_collect_suppressions, _describe_suppression, _suppression_advice, _suppression_description, enrich_type_suppression (+4)
src/slopgate/enrichment/logger_enrichers.py_dependency_hints, _dependency_in_pyproject, _dependency_in_requirements, enrich_boundary_logger, _append_dependency_hints (+4)

Entry Points

Start here when exploring this area:

  • pretool_write_payload (Function) — tests/test_enrichment.py:62
  • make_sibling_test (Function) — tests/test_enrichment.py:49
  • write_text (Function) — tests/test_enrichment.py:27
  • make_conftest (Function) — tests/test_enrichment.py:31
  • mkdir (Function) — tests/test_enrichment.py:23

Key Symbols

SymbolTypeFileLine
pretool_write_payloadFunctiontests/test_enrichment.py62
make_sibling_testFunctiontests/test_enrichment.py49
write_textFunctiontests/test_enrichment.py27
make_conftestFunctiontests/test_enrichment.py31
mkdirFunctiontests/test_enrichment.py23
findingFunctiontests/enrichment/test_03_pytest_enrichers_direct.py30
test_enrich_assertion_roulette_adds_fixture_names_and_split_tipFunctiontests/enrichment/test_03_pytest_enrichers_direct.py102
test_enrich_fixture_outside_conftest_suggests_nearest_registryFunctiontests/enrichment/test_03_pytest_enrichers_direct.py138
test_enrich_test_loop_adds_fixture_parametrize_and_contextFunctiontests/enrichment/test_03_pytest_enrichers_direct.py82
test_enrich_test_smells_mentions_fixtures_and_time_utilitiesFunctiontests/enrichment/test_03_pytest_enrichers_direct.py118
discover_fixturesFunctionsrc/slopgate/enrichment/fixtures.py72
enrich_fixture_outside_conftestFunctionsrc/slopgate/enrichment/pytest_enrichers.py197
append_enrichment_messageFunctionsrc/slopgate/enrichment/_helpers.py22
first_target_contentFunctionsrc/slopgate/enrichment/_helpers.py30
enrich_silent_exceptFunctionsrc/slopgate/enrichment/silent_except.py38
enrich_type_suppressionFunctionsrc/slopgate/enrichment/type_enrichers.py152
enrich_findingsFunctionsrc/slopgate/enrichment/__init__.py139
get_parse_countFunctionsrc/slopgate/enrichment/_helpers.py63
reset_parse_countFunctionsrc/slopgate/enrichment/_helpers.py57
safe_readFunctionsrc/slopgate/enrichment/_helpers.py37

Execution Flows

FlowTypeSteps
Enrich_findings → _locked_filecross_community7
Enrich_findings → _path_lock_forcross_community7
Enrich_test_loop → _decorator_targetcross_community5
Enrich_test_loop → _is_fixture_targetcross_community5
Enrich_thin_wrapper → Resolve_pathcross_community4
Enrich_thin_wrapper → Safe_readcross_community4
Enrich_long_method → _block_descriptionintra_community4
Enrich_test_loop → Safe_parsecross_community4
Enrich_test_loop → _iter_conftest_pathscross_community4
Enrich_test_loop → _first_hit_pathcross_community4

How to Explore

  1. context({name: "pretool_write_payload"}) — see callers and callees
  2. query({search_query: "enrichment"}) — 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.