install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/noartem/skills/laravel-controller-tests" ~/.claude/skills/comeonoliver-skillshub-laravel-controller-tests && rm -rf "$T"
manifest:
skills/noartem/skills/laravel-controller-tests/SKILL.mdsource content
Controller Tests
Feature tests for endpoints
it('rejects empty email', function () { $this->post('/register', ['email' => ''])->assertSessionHasErrors('email'); });
Better tests
- Move validation to Form Requests; assert errors from the request class
- Extract business logic into Actions; unit test them directly
- Use factories for realistic data; avoid heavy mocking