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

gitnexus-area-tests

Skill1 starsChanged 51 days agoMITView on GitHub

Skill for the Tests area of slopgate. 984 symbols across 135 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

Tests

984 symbols | 135 files | Cohesion: 90%

When to Use

  • Working with code in tests/
  • Understanding how test_exec_protection_bash_touch_makefile, test_protected_path_makefile, test_large_file_warns work
  • Modifying tests-related functionality

Key Files

FileSymbols
tests/test_regex_targets.pytest_git_no_verify_denial_gives_safe_commit_command, test_shell_stderr_suppression_gets_exact_repair_pattern, bash_payload, test_git_commit_gets_context, test_py_shell_automation_perl_edit_denied (+24)
tests/test_lint_source_detector_public_api.pyparsed_file, test_boundary_logging_detector_ignores_logged_boundary, test_boundary_logging_detector_reports_unlogged_event_boundary, test_broad_except_detector_reports_swallowed_default_return, test_dead_code_detector_reports_unreachable_statement (+16)
tests/test_harness_schema_context.py_assert_claude_event_surface_matches_contract, _expected_contract_note_flags, _fixture, _mapping, _source (+14)
tests/test_stats.py_pair_counts, _assert_enrichment_stats, _mixed_enrichment_stats, test_churn_metrics_include_repeated_deny_rates, test_daily_counts (+14)
tests/test_stats_improvement.py_persistence_payload, _strict_entry, test_repeated_denial_persistence_denominator, test_repeated_denial_persistence_rate, test_still_failing_and_persistence (+14)
tests/test_hot_rule_recommendation_gate.py_assert_pathless_quality_fallback, _pathless_quality_output, test_quality_lint_pathless_reason_names_last_edit_fallback, _assert_boundary_allowlist_context, additional_context (+13)
tests/test_repair_cli.py_capture_scoped_lint, _expected_path_capture, _mark_repair, _required, _verify (+13)
tests/test_installer.pycommand_includes_slopgate_handle, existing_claude_settings, existing_codex_hooks, hook_commands, installed_hook_commands (+13)
tests/test_lint_cli_rule_enablement.py_collector_map, _regex_rule_payload, _write_global_config, test_command_regex_rule_is_not_exposed_as_batch_lint_collector, test_regex_rule_collectors_directly_exposes_content_rule_violations (+13)
tests/test_enrichment_public_api.pycontext_for_source, test_complexity_enricher_ignores_incomplete_metadata_property, test_feature_envy_enricher_ignores_incomplete_metadata_property, test_logger_enricher_reports_project_logging_abstractions, test_python_any_enricher_ignores_irrelevant_content_property (+12)

Entry Points

Start here when exploring this area:

  • test_exec_protection_bash_touch_makefile (Function) — tests/engine/test_02_inline_payload_denies_to_shell_command_paths_ignore_wrapped_absolute_executable_position/test_protected_paths.py:193
  • test_protected_path_makefile (Function) — tests/engine/test_02_inline_payload_denies_to_shell_command_paths_ignore_wrapped_absolute_executable_position/test_protected_paths.py:19
  • test_large_file_warns (Function) — tests/engine/test_04_baseline_guard_to_disabled_rule_does_not_fire.py:181
  • test_permission_request_asks_for_makefile (Function) — tests/engine/test_04_baseline_guard_to_disabled_rule_does_not_fire.py:21
  • test_prompt_injects_context (Function) — tests/engine/test_04_baseline_guard_to_disabled_rule_does_not_fire.py:35

Key Symbols

SymbolTypeFileLine
test_exec_protection_bash_touch_makefileFunctiontests/engine/test_02_inline_payload_denies_to_shell_command_paths_ignore_wrapped_absolute_executable_position/test_protected_paths.py193
test_protected_path_makefileFunctiontests/engine/test_02_inline_payload_denies_to_shell_command_paths_ignore_wrapped_absolute_executable_position/test_protected_paths.py19
test_large_file_warnsFunctiontests/engine/test_04_baseline_guard_to_disabled_rule_does_not_fire.py181
test_permission_request_asks_for_makefileFunctiontests/engine/test_04_baseline_guard_to_disabled_rule_does_not_fire.py21
test_prompt_injects_contextFunctiontests/engine/test_04_baseline_guard_to_disabled_rule_does_not_fire.py35
test_sessionstart_injects_git_contextFunctiontests/engine/test_04_baseline_guard_to_disabled_rule_does_not_fire.py124
test_sessionstart_injects_git_context_from_worktreeFunctiontests/engine/test_04_baseline_guard_to_disabled_rule_does_not_fire.py135
test_permission_request_uses_decision_behaviorFunctiontests/engine/test_05_build_rules_survives_python_ast_import_error_to_output_json_serialisable_by_fixture.py202
test_pretooluse_uses_hookSpecificOutputFunctiontests/engine/test_05_build_rules_survives_python_ast_import_error_to_output_json_serialisable_by_fixture.py195
assert_asked_byFunctiontests/support.py118
hook_outputFunctiontests/support.py71
nested_outputFunctiontests/support.py76
required_stringFunctiontests/support.py86
test_hook_fixture_denial_mentions_support_modulesFunctiontests/test_fixture_support_policy.py122
test_quality_lint_pathless_reason_names_last_edit_fallbackFunctiontests/test_hot_rule_recommendation_gate.py185
test_clean_output_no_triggerFunctiontests/test_quality_command_output_guidance.py94
test_isx_lint_alias_gets_full_lint_guidanceFunctiontests/test_quality_command_output_guidance.py72
test_quality_lint_tail_output_gets_full_lint_guidanceFunctiontests/test_quality_command_output_guidance.py23
test_read_only_command_skippedFunctiontests/test_quality_command_output_guidance.py83
test_vfc_lint_alias_gets_full_lint_guidanceFunctiontests/test_quality_command_output_guidance.py61

Execution Flows

FlowTypeSteps
Main → Coerce_object_dictcross_community6
Main → _trim_textcross_community6
Evaluate → Object_dictcross_community6
Main → Coerce_str_listcross_community5
Main → _platform_valuecross_community5
Evaluate → _prune_counter_mapcross_community5
Evaluate → Is_object_dictcross_community5
Main → Classifycross_community4
Evaluate → _acquire_lockcross_community4
Evaluate → _release_lockcross_community4

How to Explore

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