Skip to content

Configure agent skills to encourage appropriate style when working with enums #1479

@nathanjmcdougall

Description

@nathanjmcdougall

Probably a new skill called usethis-python-enum

Originally encountered here:

@copilot Please add a unit test that checks this dict is comprehensive, i.e. its keys are the same as the enum elements

Originally posted by @nathanjmcdougall in #1469 (comment)

Type checkers will capture a lot of patterns if we are careful. The assert_never pattern used in the codebase, etc.

There's this particular example of a dict with an enum key, which deserves a dedicated unit test to ensure it's kept updated to ensure complete coverage over the enum

Metadata

Metadata

Labels

agentConfiguration updates for LLM coding agents

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions