Skip to content

New exercise for "Commands and Arguments" concept - #980

Open
glennj wants to merge 4 commits into
exercism:mainfrom
glennj:concept-exercise-shopping
Open

glennj wants to merge 4 commits into
exercism:mainfrom
glennj:concept-exercise-shopping

Conversation

@glennj

@glennj glennj commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

This greatly simplifies the concept's Introduction to make the exercise easier to work with. The About has only changed slightly.

I'm also checking in the coding assistant rules. I'm not an expert, so these could likely be improved.

Regarding the exercise, I'm particularly interested if the hints give away too much of the solution. I tried to keep focus on the design goals, so the students don't need to know how head or wc work.

- shopping.bats: use run --keep-empty-lines so assert_line --index numbers match the visible output, assert the blank lines between tasks explicitly, and declare bats_require_minimum_version 1.5.0.

- concepts/commands-and-arguments: focus introduction.md on what the exercise teaches (shebang, comments, words and arguments, echo, quoting); the trimmed content remains in about.md, which also gains the echo details and the env-shebang emphasis.

- Derive the exercise introduction from the concept introduction and add .docs/introduction.md.tpl; 'configlet generate' reproduces it verbatim.

- add-concept-exercise skill: require a learning-objectives coverage review during validation.

- Remove todo.md: all items addressed.
@glennj glennj added x:action/create Work on something from scratch x:module/concept Work on Concepts x:module/concept-exercise Work on Concept Exercises x:type/content Work on content (e.g. exercises, concepts) x:rep/large Large amount of reputation labels Nov 23, 2026
@glennj
glennj requested a review from a team November 23, 2026 21:24
@glennj

glennj commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

I have Lasagna exercise for Variables concept queued up after this. Then will be upgrading the test runner to V3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

x:action/create Work on something from scratch x:module/concept Work on Concepts x:module/concept-exercise Work on Concept Exercises x:rep/large Large amount of reputation x:type/content Work on content (e.g. exercises, concepts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant