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

gitnexus-area-detectors

Skill1 starsChanged 51 days agoMITView on GitHub

Skill for the _detectors area of slopgate. 137 symbols across 29 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

_detectors

137 symbols | 29 files | Cohesion: 80%

When to Use

  • Working with code in src/
  • Understanding how ast_src_collector_specs, test_collector_specs, test_collectors work
  • Modifying _detectors-related functionality

Key Files

FileSymbols
src/slopgate/lint/_detectors/test_smells/_basic_detection.py_parsed_test_files, call_assertion_name, conditional_assertion_line, contains_assert, count_sut_calls (+10)
src/slopgate/lint/_detectors/declarative.py_call_name, _is_declarative_assign, _is_declarative_cast_call, _is_declarative_constant_call, _is_declarative_constructor_call (+9)
src/slopgate/lint/_detectors/source_interop.py_first_dead_code, _flat_sibling_names, _flat_sibling_prefix, _has_same_named_package, _parsed_files (+9)
src/slopgate/lint/_detectors/exception_safety.py_is_broad_except, _is_datetime_now_return, detect_broad_except_swallow, detect_silent_except, detect_silent_fallback (+7)
src/slopgate/lint/_detectors/type_safety.py_find_comment_start, _get_compiled_patterns, detect_any_usage, detect_type_suppressions, _annotation_contains_any (+7)
src/slopgate/lint/_detectors/code_smells.py_complexity, _detector_state, _max_nesting, detect_deep_nesting, detect_god_classes (+4)
src/slopgate/lint/_detectors/logging_conventions.py_is_in_infrastructure, detect_direct_get_logger, detect_wrong_logger_name, _collect_wrong_logger_name_violations, _wrong_logger_name_violation (+2)
src/slopgate/lint/_detectors/wrappers.pydetect_unnecessary_wrappers, _delegatable_params, _is_passthrough_arg, _is_passthrough_keyword, _is_simple_delegation (+2)
src/slopgate/lint/_helpers/ast_utils.pyenclosing_function, _span_lines, class_body_lines, count_methods, function_body_lines (+1)
src/slopgate/lint/_detectors/langgraph.py_langgraph_files, _source, detect_langgraph_builder_api, detect_langgraph_state_mutations, detect_langgraph_state_reducers

Entry Points

Start here when exploring this area:

  • ast_src_collector_specs (Function) — src/slopgate/lint/_collector_groups/ast_collectors.py:9
  • test_collector_specs (Function) — src/slopgate/lint/_collector_groups/pytest_file_collectors.py:9
  • test_collectors (Function) — src/slopgate/lint/_collector_groups/pytest_file_collectors.py:45
  • cli_collector_specs (Function) — src/slopgate/lint/_collector_groups/runner_specs.py:39
  • source_analysis (Function) — src/slopgate/lint/_collector_groups/source.py:12

Key Symbols

SymbolTypeFileLine
ast_src_collector_specsFunctionsrc/slopgate/lint/_collector_groups/ast_collectors.py9
test_collector_specsFunctionsrc/slopgate/lint/_collector_groups/pytest_file_collectors.py9
test_collectorsFunctionsrc/slopgate/lint/_collector_groups/pytest_file_collectors.py45
cli_collector_specsFunctionsrc/slopgate/lint/_collector_groups/runner_specs.py39
source_analysisFunctionsrc/slopgate/lint/_collector_groups/source.py12
parsed_groupsFunctionsrc/slopgate/lint/_collector_groups/source_prepare.py54
project_scope_hitsFunctionsrc/slopgate/lint/_collector_groups/source_prepare.py102
get_configFunctionsrc/slopgate/lint/_config.py160
detect_duplicate_call_sequencesFunctionsrc/slopgate/lint/_detectors/duplicates/blocks.py99
detect_repeated_blocksFunctionsrc/slopgate/lint/_detectors/duplicates/blocks.py57
detect_broad_except_swallowFunctionsrc/slopgate/lint/_detectors/exception_safety.py134
detect_silent_exceptFunctionsrc/slopgate/lint/_detectors/exception_safety.py268
detect_silent_fallbackFunctionsrc/slopgate/lint/_detectors/exception_safety.py200
detect_langgraph_builder_apiFunctionsrc/slopgate/lint/_detectors/langgraph.py93
detect_langgraph_state_mutationsFunctionsrc/slopgate/lint/_detectors/langgraph.py72
detect_langgraph_state_reducersFunctionsrc/slopgate/lint/_detectors/langgraph.py51
detect_long_linesFunctionsrc/slopgate/lint/_detectors/line_length.py23
detect_direct_get_loggerFunctionsrc/slopgate/lint/_detectors/logging_conventions.py40
detect_wrong_logger_nameFunctionsrc/slopgate/lint/_detectors/logging_conventions.py82
detect_stale_patternsFunctionsrc/slopgate/lint/_detectors/stale_code.py17

Execution Flows

FlowTypeSteps
Select_tests_for_changed_files → Object_dictcross_community10
Cli_collector_specs → String_listcross_community10
Cli_collector_specs → Load_tomlcross_community10
Cli_collector_specs → _paths_sectioncross_community10
Cli_collector_specs → Resolve_root_pathscross_community10
Cli_collector_specs → _global_enabled_cli_rulescross_community10
Cli_collector_specs → _global_surface_cli_rulescross_community10
Cli_collector_specs → _repo_enabled_cli_rulescross_community10
Cli_collector_specs → _repo_surface_cli_rulescross_community10
Cli_collector_specs → _allowlist_valuescross_community10

How to Explore

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