Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Feat Audit

ASecurity

Use when the user wants to query the local pwdev audit trail — 'ver auditoria', 'relatório de auditoria', 'audit stats', 'exportar auditoria em PDF' — summary, events, decisions, artifacts, statistics, a Markdown/PDF export or a custom read-only SELECT. Do NOT use to enable the audit (feat-init) or for plan status (feat-status).

3 stars
0 votes
0 copies
0 views
Added 9/28/2026
databasespythonsqldatabase

Security Analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned 9/28/2026

$npx -y skills add pwdev-solucoes/pwdev-claude-marketplace --skill feat-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Feat Audit?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Feat Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pwdev-solucoes-feat-audit/badge)](https://www.skillsdirectory.com/skills/pwdev-solucoes-feat-audit)

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

Download with Pro
Files
SKILL.md
---
name: feat-audit
description: >
  Use when the user wants to query the local pwdev audit trail — 'ver auditoria', 'relatório de
  auditoria', 'audit stats', 'exportar auditoria em PDF' — summary, events, decisions,
  artifacts, statistics, a Markdown/PDF export or a custom read-only SELECT. Do NOT use to
  enable the audit (feat-init) or for plan status (feat-status).
metadata:
  version: 3.2.1
---

# Audit trail

Schema and recording model: `references/audit-schema.md`. The database is shared with other
PWDEV plugins; filter with `--plugin pwdev-feat` when the human wants only this plugin.

## Procedure

1. **Language** — resolve `lang` (`references/language.md`).
2. Map the argument to one command and run it from the project root:

   | Argument | Command |
   |---|---|
   | (empty) / `summary` | `python3 "<plugin-root>/scripts/audit.py" summary` |
   | `events [plugin]` | `... events [--plugin <plugin>] [--limit N]` |
   | `decisions` / `artifacts` / `stats` | `... decisions` / `... artifacts` / `... stats` |
   | `export` | `... export --pdf` (Markdown always; PDF only when pandoc exists) |
   | `query <SQL>` | `... query "<SQL>"` |

3. Exit 2 (`AUDIT_DISABLED` / `AUDIT_DB_MISSING`) → tell the human to enable it with
   `feat-init`. Exit 1 (`REJECTED` / `SQL_ERROR`) → show the message; only a single
   read-only SELECT is accepted and the database is opened read-only.
4. Present the Markdown output as is, translating only the headings when `lang` is `pt-BR`.
   Unknown argument → list the commands above.

Never write to the audit database from this skill.

Language: resolve `lang` per `references/language.md` before any human-facing output. Safety: never read or expose `.env*` (except `.env.example`/`.template`/`.sample`), keys, certificates or credentials — `references/safety.md`. Paths `references/`, `scripts/`, `templates/`, `schemas/` are relative to the plugin root (`references/runtime.md`).

Attribution

pwdev-solucoespwdev-solucoes
View sourceSee grades on GitHubMore from pwdev-solucoes →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Mysql Best Practices

MySQL development best practices for schema design, query optimization, and database administration

2481 votes

Jpa Patterns

Spring Boot中的JPA/Hibernate实体设计、关系、查询优化、事务、审计、索引、分页和连接池模式。

2456590 votes

Clickhouse Io

ClickHouse数据库模式、查询优化、分析和数据工程最佳实践,适用于高性能分析工作负载。

2456590 votes

Postgres Patterns

基于Supabase最佳实践的PostgreSQL数据库模式,用于查询优化、架构设计、索引和安全。

2456590 votes

Sql Pro

Master modern SQL with cloud-native databases, OLTP/OLAP

458250 votes
View all in databases →