action-writer — journalos action management action-writer, journalOS, community, journalos action management, ide skills, alpinejs and laravel integration, modular daily tracking, installing action-writer, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for JournalOS Agents needing streamlined action management and modular daily tracking. action-writer is a skill that assists in adding or updating actions in the app/Actions directory of JournalOS, following project conventions and utilizing technologies like AlpineJS and Laravel.

Features

Creates and updates Action classes with implementable execute() methods
Supports unit testing in tests/Unit/Actions with composer journalos:unit command
Utilizes modular daily tracking for sleep, mood, work, health, and more
Integrates with JournalOS, a privacy-first and self-hosted personal journaling system
Follows project conventions for action naming and input/output types
Enables quick start with step-by-step instructions for action implementation

# Core Topics

djaiss djaiss
[2]
[0]
Updated: 2/17/2026

Agent Capability Analysis

The action-writer skill by djaiss is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for journalos action management, alpinejs and laravel integration, modular daily tracking.

Ideal Agent Persona

Perfect for JournalOS Agents needing streamlined action management and modular daily tracking.

Core Value

Empowers agents to efficiently create and update actions in JournalOS using modular daily tracking, following project conventions and implementing the execute() method, while ensuring unit test coverage in tests/Unit/Actions.

Capabilities Granted for action-writer

Creating new actions with verb-first naming convention
Updating existing actions with input/output type validation
Implementing unit tests for actions in tests/Unit/Actions

! Prerequisites & Limits

  • Requires JournalOS project setup
  • Verb-first action naming convention
  • Composer and unit test setup for JournalOS
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

action-writer

Install action-writer, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Action Writer

This Skill helps you add or update an Action in app/Actions using the project conventions.

When to use this Skill

Use this Skill when:

  • Creating a new Action
  • Updating an existing Action

Instructions

Quick start

  • Pick the action name (verb-first) and its input/output types.
  • Create the Action class and implement execute().
  • Add or update unit tests in tests/Unit/Actions.
  • Run the smallest relevant test(s), then composer journalos:unit.

Step 1: Choose the action name and scope

  1. Actions represent a single user intent (example: LogHealth, CreateBook, ResetWorkData).
  2. Keep inputs minimal and explicit. Use descriptive parameter names.
  3. Decide whether the Action returns a model, a scalar, or nothing (void).

Step 2: Create the Action class

  1. Use Artisan to create the class:
bash
1php artisan make:class Actions/ActionName --no-interaction
  1. Use declare(strict_types=1); and the App\Actions namespace.
  2. Default to final readonly class with constructor property promotion.
  3. If the Action must store a result (ex: $this->book), keep it final but not readonly, and declare a private property for the result.
  4. Always include explicit return types.

Step 3: Implement the action flow

  1. Typical flow:
    • validate input
    • perform data changes
    • log user action
    • update last activity date
    • refresh content presence (when journal entry content changes)
  2. Validate ownership with ModelNotFoundException when a user does not own a journal or entry.
  3. Validate input with ValidationException::withMessages([...]) when values are invalid.
  4. Sanitize user-provided text with TextSanitizer::plainText().
  5. Use Eloquent models and relationships. Avoid DB::.
  6. Queue background work on the low queue:
php
1LogUserAction::dispatch(...)->onQueue('low'); 2UpdateUserLastActivityDate::dispatch($user)->onQueue('low'); 3CheckPresenceOfContentInJournalEntry::dispatch($entry)->onQueue('low');
  1. If the Action mutates a journal entry module, reload the relationship before returning:
php
1$this->entry->load('moduleHealth');

Step 4: Add tests

  1. Create tests/Unit/Actions/ActionNameTest.php.
  2. Use RefreshDatabase and Queue::fake().
  3. Use factories with explicit foreign keys. Never use for() on factories.
  4. Cover:
    • happy path
    • invalid input (throws ValidationException)
    • unauthorized access (throws ModelNotFoundException)
    • queued jobs on low queue

Step 5: Run tests and lint

  1. Run the smallest relevant test file:
bash
1php artisan test tests/Unit/Actions/ActionNameTest.php
  1. Run composer journalos:unit.
  2. Run Pint:
bash
1vendor/bin/pint --dirty

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is action-writer?

Perfect for JournalOS Agents needing streamlined action management and modular daily tracking. action-writer is a skill that assists in adding or updating actions in the app/Actions directory of JournalOS, following project conventions and utilizing technologies like AlpineJS and Laravel.

How do I install action-writer?

Run the command: npx killer-skills add djaiss/journalOS/action-writer. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for action-writer?

Key use cases include: Creating new actions with verb-first naming convention, Updating existing actions with input/output type validation, Implementing unit tests for actions in tests/Unit/Actions.

Which IDEs are compatible with action-writer?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for action-writer?

Requires JournalOS project setup. Verb-first action naming convention. Composer and unit test setup for JournalOS.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add djaiss/journalOS/action-writer. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use action-writer immediately in the current project.

Related Skills

Looking for an alternative to action-writer or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI