devs/CLAUDE.md
Mauro Rosero P. 7114c43475
[IMPROVED] Mejorar funcionalidad de qr_secret.sh
- Utilizar dialog_input_filepath para selección de archivos
- Reordenar verificación de dialog para consistencia
- Codificar secreto en base64 para mayor seguridad
- Ajustar flujo lógico de la función principal

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-19 07:21:30 -05:00

1.7 KiB

MRDevs Tools Development Guide

Build & Installation Commands

  • bin/bootstrap.sh - Install basic tools and container management
  • bin/update.sh - Update development environment
  • bin/cortana_install.sh - Install Claude Code CLI
  • bin/cortana_install.sh -u - Uninstall Claude Code CLI

Code Style Guidelines

  • Shell Scripts:
    • Add license header with copyright info (AGPL)
    • Include Modified date in comments
    • Use functions for modularity
    • Follow consistent variable naming (UPPERCASE for constants)
    • Document function purpose with comments
    • Include usage examples in script headers
    • Handle errors with proper exit codes

Development Practices

  • Use bin/lib/base.lib for common functions
  • Use bin/lib/developers.lib for developers functions
  • Use bin/lib/clonsole.lib for dialog functions
  • Message files stored in bin/msg/ (multilingual support)
  • Configuration in bin/config/ directory
  • Use git commit messages with prefixes: [ADDED], [IMPROVED], [FIXED], [SOPS], [INIT]
  • Prefer podman over docker for container management
  • All shell scripts (.sh) and Python scripts (.py) must be placed in the bin/ directory unless explicitly specified otherwise

Authorship Policy

  • Use bin/config/python.header how example to python comment header
  • Use bin/config/bash.header how example to bash comment header
  • For new projects created by Claude Code, use author: "Cortana Rosero One cortana@rosero.one"
  • Include reference indicating generation by Claude Code and the version used
  • Example header comment:
    # [Author] Cortana Rosero One <cortana@rosero.one>
    # [Generated] Created by Claude Code (claude-3-7-sonnet-20250219)