docs(arquiteto-de-empresa): translate last two residual PT strings (PR #900 review)

Final review sweep caught two non-accented residuals a prose-grep misses:
- scaffold_bundle.py slugify() fallback "empresa" -> "company" (a code
  default, not a preserved slug — fires only on all-punctuation input)
- example destination path ./minha-empresa -> ./my-company in SKILL.md
  and the 3 scripts' usage docstrings, so the translated display name
  'My Company' no longer maps to a Portuguese folder in the same line

Mirror re-synced identical; scaffold --sample JSON ok; example-bundle
lint PASS; py_compile clean; dual-publish exit 0.

https://claude.ai/code/session_01CUWsrUNZP9jpxvAwq67UiT
This commit is contained in:
Claude 2026-07-06 06:43:04 +00:00
parent f1bee62561
commit a61d16fb0e
No known key found for this signature in database
8 changed files with 20 additions and 20 deletions

View file

@ -58,13 +58,13 @@ The scripts mirror what you would do by hand — scaffold, validation, and index
```bash
# 1. Scaffold: creates the OKF folder tree + index.md/log.md + per-folder index
python scripts/scaffold_bundle.py "My Company" --out ./minha-empresa --has-product --has-tech
python scripts/scaffold_bundle.py "My Company" --out ./my-company --has-product --has-tech
# 2. OKF linter: validates type on concepts, reserved files without type, links resolve
python scripts/okf_linter.py ./minha-empresa
python scripts/okf_linter.py ./my-company
# 3. Index generator: (re)generates the index.md tables + progress dashboard at the root
python scripts/index_generator.py ./minha-empresa
python scripts/index_generator.py ./my-company
```
Recommended flow: **scaffold → interview per phase → write concepts → `okf_linter` → `index_generator`**.

View file

@ -11,9 +11,9 @@ Deterministic, standard library only.
Usage:
python index_generator.py # demo on an embedded example bundle
python index_generator.py ./minha-empresa # dry-run: shows proposed tables
python index_generator.py ./minha-empresa --write
python index_generator.py ./minha-empresa --output json
python index_generator.py ./my-company # dry-run: shows proposed tables
python index_generator.py ./my-company --write
python index_generator.py ./my-company --output json
python index_generator.py --sample
"""

View file

@ -12,8 +12,8 @@ Exits with code 0 if there are no ERRORS (warnings do not fail). Deterministic,
Usage:
python okf_linter.py # lint an embedded example bundle (PASS)
python okf_linter.py ./minha-empresa
python okf_linter.py ./minha-empresa --output json
python okf_linter.py ./my-company
python okf_linter.py ./my-company --output json
python okf_linter.py --sample # same as the first
"""

View file

@ -11,7 +11,7 @@ Deterministic. No LLM calls. Standard library only.
Usage:
python scaffold_bundle.py # preview (dry-run) of "Example Company"
python scaffold_bundle.py "My Company" --out ./minha-empresa
python scaffold_bundle.py "My Company" --out ./my-company
python scaffold_bundle.py "Acme" --out ./acme --has-product --has-tech
python scaffold_bundle.py "Acme" --out ./acme --dry-run --output json
python scaffold_bundle.py --sample # same as the first (preview, does not write)
@ -55,7 +55,7 @@ def slugify(name):
ascii_only = "".join(c for c in nfkd if not unicodedata.combining(c))
ascii_only = ascii_only.lower()
ascii_only = re.sub(r"[^a-z0-9]+", "-", ascii_only).strip("-")
return ascii_only or "empresa"
return ascii_only or "company"
def planned_folders(has_product, has_tech):

View file

@ -58,13 +58,13 @@ The scripts mirror what you would do by hand — scaffold, validation, and index
```bash
# 1. Scaffold: creates the OKF folder tree + index.md/log.md + per-folder index
python scripts/scaffold_bundle.py "My Company" --out ./minha-empresa --has-product --has-tech
python scripts/scaffold_bundle.py "My Company" --out ./my-company --has-product --has-tech
# 2. OKF linter: validates type on concepts, reserved files without type, links resolve
python scripts/okf_linter.py ./minha-empresa
python scripts/okf_linter.py ./my-company
# 3. Index generator: (re)generates the index.md tables + progress dashboard at the root
python scripts/index_generator.py ./minha-empresa
python scripts/index_generator.py ./my-company
```
Recommended flow: **scaffold → interview per phase → write concepts → `okf_linter` → `index_generator`**.

View file

@ -11,9 +11,9 @@ Deterministic, standard library only.
Usage:
python index_generator.py # demo on an embedded example bundle
python index_generator.py ./minha-empresa # dry-run: shows proposed tables
python index_generator.py ./minha-empresa --write
python index_generator.py ./minha-empresa --output json
python index_generator.py ./my-company # dry-run: shows proposed tables
python index_generator.py ./my-company --write
python index_generator.py ./my-company --output json
python index_generator.py --sample
"""

View file

@ -12,8 +12,8 @@ Exits with code 0 if there are no ERRORS (warnings do not fail). Deterministic,
Usage:
python okf_linter.py # lint an embedded example bundle (PASS)
python okf_linter.py ./minha-empresa
python okf_linter.py ./minha-empresa --output json
python okf_linter.py ./my-company
python okf_linter.py ./my-company --output json
python okf_linter.py --sample # same as the first
"""

View file

@ -11,7 +11,7 @@ Deterministic. No LLM calls. Standard library only.
Usage:
python scaffold_bundle.py # preview (dry-run) of "Example Company"
python scaffold_bundle.py "My Company" --out ./minha-empresa
python scaffold_bundle.py "My Company" --out ./my-company
python scaffold_bundle.py "Acme" --out ./acme --has-product --has-tech
python scaffold_bundle.py "Acme" --out ./acme --dry-run --output json
python scaffold_bundle.py --sample # same as the first (preview, does not write)
@ -55,7 +55,7 @@ def slugify(name):
ascii_only = "".join(c for c in nfkd if not unicodedata.combining(c))
ascii_only = ascii_only.lower()
ascii_only = re.sub(r"[^a-z0-9]+", "-", ascii_only).strip("-")
return ascii_only or "empresa"
return ascii_only or "company"
def planned_folders(has_product, has_tech):