- Add Docker Swarm deploy stack, CI workflow (.gitea), entrypoint script - Fix Dockerfile to build Nalu.Web (was pointing to old Nalu.Api path) - Add validate_name.md and other missing validators to prod - Add Stripe endpoints, HangfireDashboardAuth, InputGuard, NameLookupService - Add SuspiciousRateLimiter, En/ pages, Legal/ pages, Seguranca docs - Add Nalu.Jobs and Nalu.NameImporter projects (were untracked) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2.4 KiB
2.4 KiB
Project instructions
ctx — use before reading files
This project has ctx available in PATH. Use it to understand the codebase before reading files directly. It produces compact markdown summaries that cost far fewer tokens than raw file content.
When to use
Always use ctx first when you need to:
- Understand project structure →
ctx csharp project - Understand a file's structure →
ctx csharp outline <file> - Check build errors →
ctx csharp errors - Understand git state →
ctx git - Detect what stack this project uses →
ctx auto detect
Workflow
- Start of session: run
ctx auto detectto see what's here, thenctx csharp projectfor an overview. - Before reading a file: run
ctx csharp outline <file>first. Only read the full file if the outline isn't enough (e.g., you need to see method body logic). - After making changes: run
ctx csharp errorsinstead ofdotnet build— the output is pre-filtered to only relevant diagnostics. - Before committing: run
ctx gitfor a compact diff summary.
Available commands
ctx auto detect # detect stack(s) in current directory
ctx auto project # run project summary for all detected stacks
ctx csharp project # .NET solution overview (projects, refs, packages)
ctx csharp outline <file.cs> # file structure without method bodies
ctx csharp errors # filtered dotnet build output (errors + top warnings)
ctx git # branch, status, recent commits, diff summary
Important
ctxoutput is a summary, not the full picture. If you need implementation details (method bodies, exact logic, specific lines), read the file directly.- Do not run
ctxcommands that don't match the project stack. Usectx auto detectif unsure. ctx csharp errorsassumesdotnet restorewas already run. If you get restore errors, rundotnet restorefirst, thenctx csharp errors.
Multilingual
Site supports PT (default) and EN (/en). ES (/es) is planned next.
Before adding or modifying any language-related feature, read: docs/adding-language.md
Key files:
Pages/_Layout.cshtml— language detection, nav links, globe dropdown, hreflang/canonical tagsPages/En/— all English pages- Language is URL-prefix based. No cookies.
Context.Request.Pathis the source of truth.