agentleFS
n-n-coden-n-code/n-n-code-skills/.agents/skills/project-config-and-tests/SKILL.md

project-config-and-tests

Skill4 starsChanged 12 days agoMITView on GitHub

Project overlay for config precedence, defaults, parsing, normalization, path helpers, and deterministic tests at those seams. Not for general test strategy or unrelated test implementation.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use it with matching language or discipline guidance when the main task is a configuration contract or deterministic tests at that boundary.

    line 9
  2. Very specific:

    Do not use this for general feature work (use the matching principle skill and add project-core-dev only when repository-specific …

    line 23
  3. Distinctive:

    Keep defaults, example config, help text, and documentation aligned.

    line 46
  4. Distinctive:

    Run the narrowest relevant config and path tests plus the checks required by any selected principle skill.

    line 51
  5. Distinctive:

    Use coverage or benchmarks only when they answer a concrete risk.

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Project Config And Tests

This is a composable project overlay, not a standalone implementation workflow. Use it with matching language or discipline guidance when the main task is a configuration contract or deterministic tests at that boundary.

For review, inspect these contracts and report findings without editing config, tests, or process state. For implementation, apply only the requested changes and use isolated fixtures for validation.

When to use

The task involves configuration sources or precedence, defaults, parsing, normalization, path resolution, or deterministic tests around those seams.

Not for

Do not use this for general feature work (use the matching principle skill and add project-core-dev only when repository-specific completion evidence is not concrete), general test strategy (tester-mindset), framework-specific test implementation, vendored dependency changes (project-vendor-boundary), release-only work (project-release-maintainer), or environment diagnosis whose cause has not been isolated (project-platform-diagnose).

Workflow

  1. Establish the contract before editing: sources, precedence, defaults, and the behavior of missing, empty, malformed, and unsupported values.
  2. Preserve help, version, and recovery paths when they can operate safely without valid config. Fail fast or fail closed when continuing would be unsafe or would silently apply misleading behavior.
  3. Separate pure parsing and normalization from environment, filesystem, and process-global lookup when the existing design permits it.
  4. Make tests independent of ambient environment, current directory, user home, wall-clock time, and shared filesystem state. Use the repo's fixtures and temporary-directory helpers, and clean up any remaining state.
  5. Cover precedence and representative missing, empty, invalid, override, relative, absolute, and platform-sensitive path cases that belong to the supported contract. Do not simulate unsupported platforms and present the result as observed evidence.
  6. Keep defaults, example config, help text, and documentation aligned. Avoid printing secret values in diagnostics or test output.

Completion

  • Run the narrowest relevant config and path tests plus the checks required by any selected principle skill.
  • Use coverage or benchmarks only when they answer a concrete risk; do not make percentage coverage or routine benchmarking the objective.
  • Report untested platform behavior, unavailable tooling, and any remaining dependence on ambient state.

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.