Skip to content
Back to skills

Howdy Structure

ASecurity

Create PHP classes following Howdy framework conventions. Use when creating new classes or files in the plugin.

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 9, 2026
toolsphpfrontend

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill howdy-structure --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Howdy Structure?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Howdy Structure
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-howdy-structure/badge)](https://www.skillsdirectory.com/skills/majiayu000-howdy-structure)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: howdy-structure
description: Create PHP classes following Howdy framework conventions. Use when creating new classes or files in the plugin.
---

# Howdy Structure Helper

## Instructions

When creating new PHP classes or files:

1. **Place in correct directory**:

    - Classes: `app/Namespace/Class.php`
    - Includes: `inc/` directory

2. **Apply namespace**:

    - Base: `Retrologin\`
    - Example: `Retrologin\Admin\Settings`

3. **Add required file header**:

    - `declare(strict_types=1);`
    - Docblock with description and `@since`

4. **Include ABSPATH check** at the top

## File Structure Pattern

```
retrologin.php          # Main plugin file (header only)
app/
  Admin/
    Settings.php        # Class: Retrologin\Admin\Settings
  Frontend/
    Login.php           # Class: Retrologin\Frontend\Login
inc/
  bootstrap/
    app.php             # Bootstrap file
```

## Class Template

```php
<?php

declare(strict_types=1);

/**
 * Short description of the class.
 *
 * Longer description if needed.
 *
 * @package Retrologin
 * @since   0.1.0
 */

namespace Retrologin\Admin;

if (! defined('ABSPATH')) {
    exit;
}

/**
 * Class description.
 *
 * @since 0.1.0
 */
class Settings {

    /**
     * Constructor.
     *
     * @since 0.1.0
     */
    public function __construct() {
        // Hooks, filters, etc.
    }

    /**
     * Method description.
     *
     * @param string $param Description.
     * @return void
     * @since 0.1.0
     */
    public function method( string $param ): void {
        // ...
    }
}
```

## Key Conventions

-   Autoloading: Composer's PSR-4 maps `Retrologin\` to `app/`
-   Don't manually `require` files - use autoloading
-   Coding standard: Syntatis (configured in phpcs.xml.dist)
-   Linter: `composer run lint`
-   Auto-fix: `composer run format`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.