Skip to content

Add AI skill#164

Open
perrygoy wants to merge 6 commits intoai_stufffrom
add_ai_skill
Open

Add AI skill#164
perrygoy wants to merge 6 commits intoai_stufffrom
add_ai_skill

Conversation

@perrygoy
Copy link
Copy Markdown
Member

@perrygoy perrygoy commented Apr 2, 2026

SKILL.mds appear to be The Way™ to tell agents how to do things. This is my first stab at creating a way for someone using ScreenPy to say, "hey Agent, code me up a test that tests this thing." I'm imagining we will create SKILL.md files for each of our packages and include them in the bundle somehow, then the instructions created by the agent (yes, i asked it to generate the .rst file because i wasn't sure how to do it) would work?

I also included a separate commit showing what the example test looks like. This is the prompt i used to create it:

can you use this skill to generate an example test suite (in ./example_test) which implements the following tests:

  • Testing Logging:
    1. An Actor named Perry logs "This is a test!"
    2. The actor asserts that True is equal to True
  • Testing Make Note:
    1. The actor makes note of the value "this is only a test"
    2. The actor asserts the value of the note contains the text "test"
  • Testing See All Of:
    1. The actor sees if 1 is less than 2, [1, 2, 3] contains 3, and "blahdy blah" matches the regex pattern r".?y b.?

Use pytest to structure the tests

I did need to clarify to leverage the aliases to make the tests sound more English, but i asked it to add those directions to the SKILL.md file afterwards, so hopefully that won't be necessary for end users.

@perrygoy perrygoy requested a review from bandophahita April 2, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant