I find this kind of backward. IMO it's more important to establlish code standards (code style, etc) up front, so I would actually place this as the base. API design is important, but if designed well (e.g. versioned), it shouldn't be hard to extend/migrate. Whereas changing code style or practices around it require a lot more work, both in terms of coding and culture.